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

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

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/eval-throw-return-expected.txt ('k') | test/webkit/fast/js/basic-strict-mode-expected.txt » ('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.js
diff --git a/test/webkit/fast/js/basic-strict-mode.js b/test/webkit/fast/js/basic-strict-mode.js
index 1687b2e5e7830094bfd0b21f96b8f35c993bf833..2f7a319bc4f1f2cc8ed5ad577a60c70d2c935cdc 100644
--- a/test/webkit/fast/js/basic-strict-mode.js
+++ b/test/webkit/fast/js/basic-strict-mode.js
@@ -166,9 +166,9 @@ shouldBeSyntaxError("'use strict'; function f() { ++(1, arguments) }");
shouldBeSyntaxError("'use strict'; function f() { (1, arguments)++ }");
shouldBeSyntaxError("'use strict'; function f() { --(1, arguments) }");
shouldBeSyntaxError("'use strict'; function f() { (1, arguments)-- }");
-shouldBeSyntaxError("'use strict'; if (0) delete +a.b");
-shouldBeSyntaxError("'use strict'; if (0) delete ++a.b");
-shouldBeSyntaxError("'use strict'; if (0) delete void a.b");
+shouldBeSyntaxError("'use strict'; undefined; if (0) delete +a.b");
+shouldBeSyntaxError("'use strict'; undefined; if (0) delete ++a.b");
+shouldBeSyntaxError("'use strict'; undefined; if (0) delete void a.b");
shouldBeTrue("(function (a){'use strict'; a = false; return a !== arguments[0]; })(true)");
shouldBeTrue("(function (a){'use strict'; arguments[0] = false; return a !== arguments[0]; })(true)");
« no previous file with comments | « test/webkit/eval-throw-return-expected.txt ('k') | test/webkit/fast/js/basic-strict-mode-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698