Reviewers: ulan,
Message:
PTAL.
Description:
Fix TypeError message for Date builtins.
BUG=
Please review this at http://codereview.chromium.org/10928108/
SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files:
M src/messages.js
Index: src/messages.js
diff --git a/src/messages.js b/src/messages.js
index
28cedbac3b20a1ef43acb5360e9b39b4fb9648b8..b819724a1034957e0422da4deb6fd8176db5140f
100644
--- a/src/messages.js
+++ b/src/messages.js
@@ -202,7 +202,7 @@ function FormatMessage(message) {
"proxy_non_object_prop_names", ["Trap '", "%1", "' returned
non-object ", "%0"],
"proxy_repeated_prop_name", ["Trap '", "%1", "' returned
repeated property name '", "%2", "'"],
"invalid_weakmap_key", ["Invalid value used as weak map
key"],
- "not_date_object", ["Receiver is not a Date object."],
+ "not_date_object", ["this is not a Date object."],
// RangeError
"invalid_array_length", ["Invalid array length"],
"stack_overflow", ["Maximum call stack size exceeded"],
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev