diff options
Diffstat (limited to 'deps/v8/test/webkit/run-json-stringify-expected.txt')
-rw-r--r-- | deps/v8/test/webkit/run-json-stringify-expected.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/deps/v8/test/webkit/run-json-stringify-expected.txt b/deps/v8/test/webkit/run-json-stringify-expected.txt index fef38156a7..2cd78521b5 100644 --- a/deps/v8/test/webkit/run-json-stringify-expected.txt +++ b/deps/v8/test/webkit/run-json-stringify-expected.txt @@ -83,7 +83,7 @@ PASS tests[i](nativeJSON) is tests[i](JSON) function (jsonObject){ return jsonObject.stringify({toJSON: Date.prototype.toJSON}); } -PASS tests[i](nativeJSON) threw exception TypeError: jsonObject.stringify is not a function. +PASS tests[i](nativeJSON) threw exception TypeError: (var).toISOString is not a function. function (jsonObject){ return jsonObject.stringify({toJSON: Date.prototype.toJSON, toISOString: function(){ return "custom toISOString"; }}); } @@ -101,7 +101,7 @@ function (jsonObject){ d.toISOString = null; return jsonObject.stringify(d); } -PASS tests[i](nativeJSON) threw exception TypeError: jsonObject.stringify is not a function. +PASS tests[i](nativeJSON) threw exception TypeError: (var).toISOString is not a function. function (jsonObject){ var d = new Date(0); d.toJSON = undefined; |