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 1b8ad93c7978749faea556fb7fd9b43ba0329f28..d4e09b7698e78e1b25f755717c41cc4eaccb35b8 100644 |
--- a/test/webkit/fast/js/basic-strict-mode-expected.txt |
+++ b/test/webkit/fast/js/basic-strict-mode-expected.txt |
@@ -117,12 +117,12 @@ PASS 'use strict'; for(;;)break missingLabel threw exception SyntaxError: Undefi |
PASS (function (){'use strict'; for(;;)break missingLabel}) threw exception SyntaxError: Undefined label 'missingLabel'. |
PASS 'use strict'; for(;;)continue missingLabel threw exception SyntaxError: Undefined label 'missingLabel'. |
PASS (function (){'use strict'; for(;;)continue missingLabel}) threw exception SyntaxError: Undefined label 'missingLabel'. |
-PASS 'use strict'; 007; threw exception SyntaxError: Octal literals are not allowed in strict mode.. |
-PASS (function (){'use strict'; 007;}) threw exception SyntaxError: Octal literals are not allowed in strict mode.. |
-PASS 'use strict'; '\007'; threw exception SyntaxError: Octal literals are not allowed in strict mode.. |
-PASS (function (){'use strict'; '\007';}) threw exception SyntaxError: Octal literals are not allowed in strict mode.. |
-PASS '\007'; 'use strict'; threw exception SyntaxError: Octal literals are not allowed in strict mode.. |
-PASS (function (){'\007'; 'use strict';}) threw exception SyntaxError: Octal literals are not allowed in strict mode.. |
+PASS 'use strict'; 007; threw exception SyntaxError: Number literals must not have a '0' prefix in strict mode.. |
+PASS (function (){'use strict'; 007;}) threw exception SyntaxError: Number literals must not have a '0' prefix in strict mode.. |
+PASS 'use strict'; '\007'; threw exception SyntaxError: Octal escape sequences are not allowed in strict mode.. |
+PASS (function (){'use strict'; '\007';}) threw exception SyntaxError: Octal escape sequences are not allowed in strict mode.. |
+PASS '\007'; 'use strict'; threw exception SyntaxError: Octal escape sequences are not allowed in strict mode.. |
+PASS (function (){'\007'; 'use strict';}) threw exception SyntaxError: Octal escape sequences are not allowed in strict mode.. |
PASS 'use strict'; delete aDeletableProperty; threw exception SyntaxError: Delete of an unqualified identifier in strict mode.. |
PASS (function (){'use strict'; delete aDeletableProperty;}) threw exception SyntaxError: Delete of an unqualified identifier in strict mode.. |
PASS 'use strict'; (function (){ delete someDeclaredGlobal;}) threw exception SyntaxError: Delete of an unqualified identifier in strict mode.. |