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 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 Synt
axError: Delete of an unqualified identifier in strict mode.. | 127 PASS (function(){'use strict'; delete aDeletableProperty;}) threw exception Synt
axError: 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;})}) thre
w exception SyntaxError: Delete of an unqualified identifier in strict mode.. | 129 PASS (function(){'use strict'; (function (){ delete someDeclaredGlobal;})}) thre
w 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;})}) thre
w exception SyntaxError: Delete of an unqualified identifier in strict mode.. | 131 PASS (function(){(function (){ 'use strict'; delete someDeclaredGlobal;})}) thre
w 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. |
136 PASS 'use strict'; objectWithReadonlyProperty.prop = 'fail' threw exception Type
Error: Cannot assign to read only property 'prop' of #<Object>. | 136 PASS 'use strict'; objectWithReadonlyProperty.prop = 'fail' threw exception Type
Error: Cannot assign to read only property 'prop' of object '#<Object>'. |
137 PASS 'use strict'; delete objectWithReadonlyProperty.prop threw exception TypeEr
ror: Cannot delete property 'prop' of #<Object>. | 137 PASS 'use strict'; delete objectWithReadonlyProperty.prop threw exception TypeEr
ror: Cannot delete property 'prop' of #<Object>. |
138 PASS 'use strict'; delete objectWithReadonlyProperty[readonlyPropName] threw exc
eption TypeError: Cannot delete property 'prop' of #<Object>. | 138 PASS 'use strict'; delete objectWithReadonlyProperty[readonlyPropName] threw exc
eption TypeError: Cannot delete property 'prop' of #<Object>. |
139 PASS 'use strict'; ++eval threw exception SyntaxError: Unexpected eval or argume
nts in strict mode. | 139 PASS 'use strict'; ++eval threw exception SyntaxError: Unexpected eval or argume
nts in strict mode. |
140 PASS (function(){'use strict'; ++eval}) threw exception SyntaxError: Unexpected
eval or arguments in strict mode. | 140 PASS (function(){'use strict'; ++eval}) threw exception SyntaxError: Unexpected
eval or arguments in strict mode. |
141 PASS 'use strict'; eval++ threw exception SyntaxError: Unexpected eval or argume
nts in strict mode. | 141 PASS 'use strict'; eval++ threw exception SyntaxError: Unexpected eval or argume
nts in strict mode. |
142 PASS (function(){'use strict'; eval++}) threw exception SyntaxError: Unexpected
eval or arguments in strict mode. | 142 PASS (function(){'use strict'; eval++}) threw exception SyntaxError: Unexpected
eval or arguments in strict mode. |
143 PASS 'use strict'; --eval threw exception SyntaxError: Unexpected eval or argume
nts in strict mode. | 143 PASS 'use strict'; --eval threw exception SyntaxError: Unexpected eval or argume
nts in strict mode. |
144 PASS (function(){'use strict'; --eval}) threw exception SyntaxError: Unexpected
eval or arguments in strict mode. | 144 PASS (function(){'use strict'; --eval}) threw exception SyntaxError: Unexpected
eval or arguments in strict mode. |
145 PASS 'use strict'; eval-- threw exception SyntaxError: Unexpected eval or argume
nts in strict mode. | 145 PASS 'use strict'; eval-- threw exception SyntaxError: Unexpected eval or argume
nts in strict mode. |
146 PASS (function(){'use strict'; eval--}) threw exception SyntaxError: Unexpected
eval or arguments in strict mode. | 146 PASS (function(){'use strict'; eval--}) threw exception SyntaxError: Unexpected
eval or arguments in strict mode. |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
230 PASS try { throw 1; } catch (e) { aGlobal = true; } is true | 230 PASS try { throw 1; } catch (e) { aGlobal = true; } 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 PASS (function () {try { throw 1; } catch (e) { aGlobal = true; }})(); aGlobal;
is true | 232 PASS (function () {try { throw 1; } catch (e) { aGlobal = true; }})(); aGlobal;
is true |
233 FAIL String(Object.getOwnPropertyDescriptor((function() { "use strict"; }).__pro
to__, "caller").get) should be function () { | 233 FAIL String(Object.getOwnPropertyDescriptor((function() { "use strict"; }).__pro
to__, "caller").get) should be function () { |
234 [native code] | 234 [native code] |
235 }. Was function ThrowTypeError() { [native code] }. | 235 }. Was function ThrowTypeError() { [native code] }. |
236 PASS successfullyParsed is true | 236 PASS successfullyParsed is true |
237 | 237 |
238 TEST COMPLETE | 238 TEST COMPLETE |
239 | 239 |
OLD | NEW |