OLD | NEW |
1 # Copyright 2013 the V8 project authors. All rights reserved. | 1 # Copyright 2013 the V8 project authors. All rights reserved. |
2 # Copyright (C) 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. | 2 # Copyright (C) 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. |
3 # | 3 # |
4 # Redistribution and use in source and binary forms, with or without | 4 # Redistribution and use in source and binary forms, with or without |
5 # modification, are permitted provided that the following conditions | 5 # modification, are permitted provided that the following conditions |
6 # are met: | 6 # are met: |
7 # 1. Redistributions of source code must retain the above copyright | 7 # 1. Redistributions of source code must retain the above copyright |
8 # notice, this list of conditions and the following disclaimer. | 8 # notice, this list of conditions and the following disclaimer. |
9 # 2. Redistributions in binary form must reproduce the above copyright | 9 # 2. Redistributions in binary form must reproduce the above copyright |
10 # notice, this list of conditions and the following disclaimer in the | 10 # notice, this list of conditions and the following disclaimer in the |
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 PASS (function (){'use strict'; break}) threw exception SyntaxError: Illegal bre
ak statement. | 112 PASS (function (){'use strict'; break}) threw exception SyntaxError: Illegal bre
ak statement. |
113 PASS 'use strict'; continue threw exception SyntaxError: Illegal continue statem
ent. | 113 PASS 'use strict'; continue threw exception SyntaxError: Illegal continue statem
ent. |
114 PASS (function (){'use strict'; continue}) threw exception SyntaxError: Illegal
continue statement. | 114 PASS (function (){'use strict'; continue}) threw exception SyntaxError: Illegal
continue statement. |
115 PASS 'use strict'; for(;;)return threw exception SyntaxError: Illegal return sta
tement. | 115 PASS 'use strict'; for(;;)return threw exception SyntaxError: Illegal return sta
tement. |
116 PASS 'use strict'; for(;;)break missingLabel threw exception SyntaxError: Undefi
ned label 'missingLabel'. | 116 PASS 'use strict'; for(;;)break missingLabel threw exception SyntaxError: Undefi
ned label 'missingLabel'. |
117 PASS (function (){'use strict'; for(;;)break missingLabel}) threw exception Synt
axError: Undefined label 'missingLabel'. | 117 PASS (function (){'use strict'; for(;;)break missingLabel}) threw exception Synt
axError: Undefined label 'missingLabel'. |
118 PASS 'use strict'; for(;;)continue missingLabel threw exception SyntaxError: Und
efined label 'missingLabel'. | 118 PASS 'use strict'; for(;;)continue missingLabel threw exception SyntaxError: Und
efined label 'missingLabel'. |
119 PASS (function (){'use strict'; for(;;)continue missingLabel}) threw exception S
yntaxError: Undefined label 'missingLabel'. | 119 PASS (function (){'use strict'; for(;;)continue missingLabel}) threw exception S
yntaxError: Undefined label 'missingLabel'. |
120 PASS 'use strict'; 007; threw exception SyntaxError: Octal literals are not allo
wed in strict mode.. | 120 PASS 'use strict'; 007; threw exception SyntaxError: Octal literals are not allo
wed in strict mode.. |
121 PASS (function (){'use strict'; 007;}) threw exception SyntaxError: Octal litera
ls are not allowed in strict mode.. | 121 PASS (function (){'use strict'; 007;}) threw exception SyntaxError: Octal litera
ls are not allowed in strict mode.. |
122 PASS 'use strict'; '\007'; threw exception SyntaxError: Octal literals are not a
llowed in strict mode.. | 122 PASS 'use strict'; '\007'; threw exception SyntaxError: Octal escape sequences a
re not allowed in strict mode.. |
123 PASS (function (){'use strict'; '\007';}) threw exception SyntaxError: Octal lit
erals are not allowed in strict mode.. | 123 PASS (function (){'use strict'; '\007';}) threw exception SyntaxError: Octal esc
ape sequences are not allowed in strict mode.. |
124 PASS '\007'; 'use strict'; threw exception SyntaxError: Octal literals are not a
llowed in strict mode.. | 124 PASS '\007'; 'use strict'; threw exception SyntaxError: Octal escape sequences a
re not allowed in strict mode.. |
125 PASS (function (){'\007'; 'use strict';}) threw exception SyntaxError: Octal lit
erals are not allowed in strict mode.. | 125 PASS (function (){'\007'; 'use strict';}) threw exception SyntaxError: Octal esc
ape sequences are not allowed in strict mode.. |
126 PASS 'use strict'; delete aDeletableProperty; threw exception SyntaxError: Delet
e of an unqualified identifier in strict mode.. | 126 PASS 'use strict'; delete aDeletableProperty; threw exception SyntaxError: Delet
e of an unqualified identifier in strict mode.. |
127 PASS (function (){'use strict'; delete aDeletableProperty;}) threw exception Syn
taxError: Delete of an unqualified identifier in strict mode.. | 127 PASS (function (){'use strict'; delete aDeletableProperty;}) threw exception Syn
taxError: Delete of an unqualified identifier in strict mode.. |
128 PASS 'use strict'; (function (){ delete someDeclaredGlobal;}) threw exception Sy
ntaxError: Delete of an unqualified identifier in strict mode.. | 128 PASS 'use strict'; (function (){ delete someDeclaredGlobal;}) threw exception Sy
ntaxError: Delete of an unqualified identifier in strict mode.. |
129 PASS (function (){'use strict'; (function (){ delete someDeclaredGlobal;})}) thr
ew exception SyntaxError: Delete of an unqualified identifier in strict mode.. | 129 PASS (function (){'use strict'; (function (){ delete someDeclaredGlobal;})}) thr
ew exception SyntaxError: Delete of an unqualified identifier in strict mode.. |
130 PASS (function (){ 'use strict'; delete someDeclaredGlobal;}) threw exception Sy
ntaxError: Delete of an unqualified identifier in strict mode.. | 130 PASS (function (){ 'use strict'; delete someDeclaredGlobal;}) threw exception Sy
ntaxError: Delete of an unqualified identifier in strict mode.. |
131 PASS (function (){(function (){ 'use strict'; delete someDeclaredGlobal;})}) thr
ew exception SyntaxError: Delete of an unqualified identifier in strict mode.. | 131 PASS (function (){(function (){ 'use strict'; delete someDeclaredGlobal;})}) thr
ew exception SyntaxError: Delete of an unqualified identifier in strict mode.. |
132 PASS 'use strict'; if (0) { someGlobal = 'Shouldn\'t be able to assign this.'; }
; true; is true | 132 PASS 'use strict'; if (0) { someGlobal = 'Shouldn\'t be able to assign this.'; }
; true; is true |
133 PASS 'use strict'; someGlobal = 'Shouldn\'t be able to assign this.'; threw exc
eption ReferenceError: someGlobal is not defined. | 133 PASS 'use strict'; someGlobal = 'Shouldn\'t be able to assign this.'; threw exc
eption ReferenceError: someGlobal is not defined. |
134 PASS 'use strict'; (function f(){ f = 'shouldn\'t be able to assign to function
expression name'; })() threw exception TypeError: Assignment to constant variabl
e.. | 134 PASS 'use strict'; (function f(){ f = 'shouldn\'t be able to assign to function
expression name'; })() threw exception TypeError: Assignment to constant variabl
e.. |
135 PASS 'use strict'; eval('var introducedVariable = "FAIL: variable introduced int
o containing scope";'); introducedVariable threw exception ReferenceError: intro
ducedVariable is not defined. | 135 PASS 'use strict'; eval('var introducedVariable = "FAIL: variable introduced int
o containing scope";'); introducedVariable threw exception ReferenceError: intro
ducedVariable is not defined. |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
229 PASS try { throw 1; } catch (e) { aGlobal = true; } is true | 229 PASS try { throw 1; } catch (e) { aGlobal = true; } is true |
230 PASS (function () { try { throw 1; } catch (e) { aGlobal = true; }})(); aGlobal;
is true | 230 PASS (function () { try { throw 1; } catch (e) { aGlobal = true; }})(); aGlobal;
is true |
231 PASS (function () {try { throw 1; } catch (e) { aGlobal = true; }})(); aGlobal;
is true | 231 PASS (function () {try { throw 1; } catch (e) { aGlobal = true; }})(); aGlobal;
is true |
232 FAIL String(Object.getOwnPropertyDescriptor((function() { "use strict"; }).__pro
to__, "caller").get) should be function () { | 232 FAIL String(Object.getOwnPropertyDescriptor((function() { "use strict"; }).__pro
to__, "caller").get) should be function () { |
233 [native code] | 233 [native code] |
234 }. Was function ThrowTypeError() { [native code] }. | 234 }. Was function ThrowTypeError() { [native code] }. |
235 PASS successfullyParsed is true | 235 PASS successfullyParsed is true |
236 | 236 |
237 TEST COMPLETE | 237 TEST COMPLETE |
238 | 238 |
OLD | NEW |