Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(886)

Unified Diff: test/webkit/fast/js/basic-strict-mode-expected.txt

Issue 1415283003: Adapt tests in preparation of shipping --harmony-completion. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Address comments. Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/webkit/fast/js/basic-strict-mode.js ('k') | test/webkit/fast/js/kde/completion.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/webkit/fast/js/basic-strict-mode-expected.txt
diff --git a/test/webkit/fast/js/basic-strict-mode-expected.txt b/test/webkit/fast/js/basic-strict-mode-expected.txt
index 2a9dc0ef5001f6a3d16090bc7c16b1dcac55f0c0..4bda2b173ac624f820b3139763a5cda9c93d988d 100644
--- a/test/webkit/fast/js/basic-strict-mode-expected.txt
+++ b/test/webkit/fast/js/basic-strict-mode-expected.txt
@@ -169,12 +169,12 @@ PASS 'use strict'; function f() { --(1, arguments) } threw exception ReferenceEr
PASS (function(){'use strict'; function f() { --(1, arguments) }}) threw exception ReferenceError: Invalid left-hand side expression in prefix operation.
PASS 'use strict'; function f() { (1, arguments)-- } threw exception ReferenceError: Invalid left-hand side expression in postfix operation.
PASS (function(){'use strict'; function f() { (1, arguments)-- }}) threw exception ReferenceError: Invalid left-hand side expression in postfix operation.
-FAIL 'use strict'; if (0) delete +a.b should throw an exception. Was use strict.
-FAIL (function(){'use strict'; if (0) delete +a.b}) should throw an exception. Was function (){'use strict'; if (0) delete +a.b}.
-FAIL 'use strict'; if (0) delete ++a.b should throw an exception. Was use strict.
-FAIL (function(){'use strict'; if (0) delete ++a.b}) should throw an exception. Was function (){'use strict'; if (0) delete ++a.b}.
-FAIL 'use strict'; if (0) delete void a.b should throw an exception. Was use strict.
-FAIL (function(){'use strict'; if (0) delete void a.b}) should throw an exception. Was function (){'use strict'; if (0) delete void a.b}.
+FAIL 'use strict'; undefined; if (0) delete +a.b should throw an exception. Was undefined.
+FAIL (function(){'use strict'; undefined; if (0) delete +a.b}) should throw an exception. Was function (){'use strict'; undefined; if (0) delete +a.b}.
+FAIL 'use strict'; undefined; if (0) delete ++a.b should throw an exception. Was undefined.
+FAIL (function(){'use strict'; undefined; if (0) delete ++a.b}) should throw an exception. Was function (){'use strict'; undefined; if (0) delete ++a.b}.
+FAIL 'use strict'; undefined; if (0) delete void a.b should throw an exception. Was undefined.
+FAIL (function(){'use strict'; undefined; if (0) delete void a.b}) should throw an exception. Was function (){'use strict'; undefined; if (0) delete void a.b}.
PASS (function (a){'use strict'; a = false; return a !== arguments[0]; })(true) is true
PASS (function (a){'use strict'; arguments[0] = false; return a !== arguments[0]; })(true) is true
PASS (function (a){'use strict'; a=false; return arguments; })(true)[0] is true
« no previous file with comments | « test/webkit/fast/js/basic-strict-mode.js ('k') | test/webkit/fast/js/kde/completion.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698