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 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
122 PASS '\007'; 'use strict'; threw exception SyntaxError: Octal literals are not a
llowed in strict mode.. | 122 PASS '\007'; 'use strict'; threw exception SyntaxError: Octal literals are not a
llowed in strict mode.. |
123 PASS (function(){'\007'; 'use strict';}) threw exception SyntaxError: Octal lite
rals are not allowed in strict mode.. | 123 PASS (function(){'\007'; 'use strict';}) threw exception SyntaxError: Octal lite
rals are not allowed in strict mode.. |
124 PASS 'use strict'; delete aDeletableProperty; threw exception SyntaxError: Delet
e of an unqualified identifier in strict mode.. | 124 PASS 'use strict'; delete aDeletableProperty; threw exception SyntaxError: Delet
e of an unqualified identifier in strict mode.. |
125 PASS (function(){'use strict'; delete aDeletableProperty;}) threw exception Synt
axError: Delete of an unqualified identifier in strict mode.. | 125 PASS (function(){'use strict'; delete aDeletableProperty;}) threw exception Synt
axError: Delete of an unqualified identifier in strict mode.. |
126 PASS 'use strict'; (function (){ delete someDeclaredGlobal;}) threw exception Sy
ntaxError: Delete of an unqualified identifier in strict mode.. | 126 PASS 'use strict'; (function (){ delete someDeclaredGlobal;}) threw exception Sy
ntaxError: Delete of an unqualified identifier in strict mode.. |
127 PASS (function(){'use strict'; (function (){ delete someDeclaredGlobal;})}) thre
w exception SyntaxError: Delete of an unqualified identifier in strict mode.. | 127 PASS (function(){'use strict'; (function (){ delete someDeclaredGlobal;})}) thre
w exception SyntaxError: Delete of an unqualified identifier in strict mode.. |
128 PASS (function (){ 'use strict'; delete someDeclaredGlobal;}) threw exception Sy
ntaxError: Delete of an unqualified identifier in strict mode.. | 128 PASS (function (){ 'use strict'; delete someDeclaredGlobal;}) threw exception Sy
ntaxError: Delete of an unqualified identifier in strict mode.. |
129 PASS (function(){(function (){ 'use strict'; delete someDeclaredGlobal;})}) thre
w exception SyntaxError: Delete of an unqualified identifier in strict mode.. | 129 PASS (function(){(function (){ 'use strict'; delete someDeclaredGlobal;})}) thre
w exception SyntaxError: Delete of an unqualified identifier in strict mode.. |
130 PASS 'use strict'; if (0) { someGlobal = 'Shouldn\'t be able to assign this.'; }
; true; is true | 130 PASS 'use strict'; if (0) { someGlobal = 'Shouldn\'t be able to assign this.'; }
; true; is true |
131 PASS 'use strict'; someGlobal = 'Shouldn\'t be able to assign this.'; threw exc
eption ReferenceError: someGlobal is not defined. | 131 PASS 'use strict'; someGlobal = 'Shouldn\'t be able to assign this.'; threw exc
eption ReferenceError: someGlobal is not defined. |
132 FAIL 'use strict'; (function f(){ f = 'shouldn\'t be able to assign to function
expression name'; })() should throw an exception. Was undefined. | 132 PASS 'use strict'; (function f(){ f = 'shouldn\'t be able to assign to function
expression name'; })() threw exception TypeError: Assignment to constant variabl
e.. |
133 PASS 'use strict'; eval('var introducedVariable = "FAIL: variable introduced int
o containing scope";'); introducedVariable threw exception ReferenceError: intro
ducedVariable is not defined. | 133 PASS 'use strict'; eval('var introducedVariable = "FAIL: variable introduced int
o containing scope";'); introducedVariable threw exception ReferenceError: intro
ducedVariable is not defined. |
134 PASS 'use strict'; objectWithReadonlyProperty.prop = 'fail' threw exception Type
Error: Cannot assign to read only property 'prop' of #<Object>. | 134 PASS 'use strict'; objectWithReadonlyProperty.prop = 'fail' threw exception Type
Error: Cannot assign to read only property 'prop' of #<Object>. |
135 PASS 'use strict'; delete objectWithReadonlyProperty.prop threw exception TypeEr
ror: Cannot delete property 'prop' of #<Object>. | 135 PASS 'use strict'; delete objectWithReadonlyProperty.prop threw exception TypeEr
ror: Cannot delete property 'prop' of #<Object>. |
136 PASS 'use strict'; delete objectWithReadonlyProperty[readonlyPropName] threw exc
eption TypeError: Cannot delete property 'prop' of #<Object>. | 136 PASS 'use strict'; delete objectWithReadonlyProperty[readonlyPropName] threw exc
eption TypeError: Cannot delete property 'prop' of #<Object>. |
137 PASS 'use strict'; ++eval threw exception SyntaxError: Unexpected eval or argume
nts in strict mode. | 137 PASS 'use strict'; ++eval threw exception SyntaxError: Unexpected eval or argume
nts in strict mode. |
138 PASS (function(){'use strict'; ++eval}) threw exception SyntaxError: Unexpected
eval or arguments in strict mode. | 138 PASS (function(){'use strict'; ++eval}) threw exception SyntaxError: Unexpected
eval or arguments in strict mode. |
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. |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
228 PASS try { throw 1; } catch (e) { aGlobal = true; } is true | 228 PASS try { throw 1; } catch (e) { aGlobal = true; } is true |
229 PASS (function () { try { throw 1; } catch (e) { aGlobal = true; }})(); aGlobal;
is true | 229 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 | 230 PASS (function () {try { throw 1; } catch (e) { aGlobal = true; }})(); aGlobal;
is true |
231 FAIL String(Object.getOwnPropertyDescriptor(function() { "use strict"; }, "calle
r").get) should be function () { | 231 FAIL String(Object.getOwnPropertyDescriptor(function() { "use strict"; }, "calle
r").get) should be function () { |
232 [native code] | 232 [native code] |
233 }. Was function ThrowTypeError() { [native code] }. | 233 }. Was function ThrowTypeError() { [native code] }. |
234 PASS successfullyParsed is true | 234 PASS successfullyParsed is true |
235 | 235 |
236 TEST COMPLETE | 236 TEST COMPLETE |
237 | 237 |
OLD | NEW |