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)"); |