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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 PASS (function (){(function (a, a){'use strict';})}) threw exception SyntaxError
: Duplicate parameter name not allowed in this context. | 73 PASS (function (){(function (a, a){'use strict';})}) threw exception SyntaxError
: Duplicate parameter name not allowed in this context. |
74 PASS (function (a){'use strict'; delete a;})() threw exception SyntaxError: Dele
te of an unqualified identifier in strict mode.. | 74 PASS (function (a){'use strict'; delete a;})() threw exception SyntaxError: Dele
te of an unqualified identifier in strict mode.. |
75 PASS (function (){(function (a){'use strict'; delete a;})()}) threw exception Sy
ntaxError: Delete of an unqualified identifier in strict mode.. | 75 PASS (function (){(function (a){'use strict'; delete a;})()}) threw exception Sy
ntaxError: Delete of an unqualified identifier in strict mode.. |
76 PASS (function (){'use strict'; var a; delete a;})() threw exception SyntaxError
: Delete of an unqualified identifier in strict mode.. | 76 PASS (function (){'use strict'; var a; delete a;})() threw exception SyntaxError
: Delete of an unqualified identifier in strict mode.. |
77 PASS (function (){(function (){'use strict'; var a; delete a;})()}) threw except
ion SyntaxError: Delete of an unqualified identifier in strict mode.. | 77 PASS (function (){(function (){'use strict'; var a; delete a;})()}) threw except
ion SyntaxError: Delete of an unqualified identifier in strict mode.. |
78 PASS (function (){var a; function f() {'use strict'; delete a;} })() threw excep
tion SyntaxError: Delete of an unqualified identifier in strict mode.. | 78 PASS (function (){var a; function f() {'use strict'; delete a;} })() threw excep
tion SyntaxError: Delete of an unqualified identifier in strict mode.. |
79 PASS (function (){(function (){var a; function f() {'use strict'; delete a;} })(
)}) threw exception SyntaxError: Delete of an unqualified identifier in strict m
ode.. | 79 PASS (function (){(function (){var a; function f() {'use strict'; delete a;} })(
)}) threw exception SyntaxError: Delete of an unqualified identifier in strict m
ode.. |
80 PASS (function (){'use strict'; with(1){};}) threw exception SyntaxError: Strict
mode code may not include a with statement. | 80 PASS (function (){'use strict'; with(1){};}) threw exception SyntaxError: Strict
mode code may not include a with statement. |
81 PASS (function (){(function (){'use strict'; with(1){};})}) threw exception Synt
axError: Strict mode code may not include a with statement. | 81 PASS (function (){(function (){'use strict'; with(1){};})}) threw exception Synt
axError: Strict mode code may not include a with statement. |
82 PASS (function (){'use strict'; arguments.callee; })() threw exception TypeError
: 'caller', 'callee', and 'arguments' properties may not be accessed on strict m
ode functions or the arguments objects for calls to them. | 82 PASS (function (){'use strict'; arguments.callee; })() threw exception TypeError
: 'caller', 'callee', and 'arguments' properties may not be accessed on strict m
ode functions or the arguments objects for calls to them. |
83 PASS (function (){'use strict'; arguments.caller; })() threw exception TypeError
: 'caller', 'callee', and 'arguments' properties may not be accessed on strict m
ode functions or the arguments objects for calls to them. | |
84 PASS (function f(){'use strict'; f.arguments; })() threw exception TypeError: 'c
aller' and 'arguments' are restricted function properties and cannot be accessed
in this context.. | 83 PASS (function f(){'use strict'; f.arguments; })() threw exception TypeError: 'c
aller' and 'arguments' are restricted function properties and cannot be accessed
in this context.. |
85 PASS (function f(){'use strict'; f.caller; })() threw exception TypeError: 'call
er' and 'arguments' are restricted function properties and cannot be accessed in
this context.. | 84 PASS (function f(){'use strict'; f.caller; })() threw exception TypeError: 'call
er' and 'arguments' are restricted function properties and cannot be accessed in
this context.. |
86 PASS (function f(){'use strict'; f.arguments=5; })() threw exception TypeError:
'caller' and 'arguments' are restricted function properties and cannot be access
ed in this context.. | 85 PASS (function f(){'use strict'; f.arguments=5; })() threw exception TypeError:
'caller' and 'arguments' are restricted function properties and cannot be access
ed in this context.. |
87 PASS (function f(){'use strict'; f.caller=5; })() threw exception TypeError: 'ca
ller' and 'arguments' are restricted function properties and cannot be accessed
in this context.. | 86 PASS (function f(){'use strict'; f.caller=5; })() threw exception TypeError: 'ca
ller' and 'arguments' are restricted function properties and cannot be accessed
in this context.. |
88 PASS (function (arg){'use strict'; arguments.callee; })() threw exception TypeEr
ror: 'caller', 'callee', and 'arguments' properties may not be accessed on stric
t mode functions or the arguments objects for calls to them. | 87 PASS (function (arg){'use strict'; arguments.callee; })() threw exception TypeEr
ror: 'caller', 'callee', and 'arguments' properties may not be accessed on stric
t mode functions or the arguments objects for calls to them. |
89 PASS (function (arg){'use strict'; arguments.caller; })() threw exception TypeEr
ror: 'caller', 'callee', and 'arguments' properties may not be accessed on stric
t mode functions or the arguments objects for calls to them. | |
90 PASS (function f(arg){'use strict'; f.arguments; })() threw exception TypeError:
'caller' and 'arguments' are restricted function properties and cannot be acces
sed in this context.. | 88 PASS (function f(arg){'use strict'; f.arguments; })() threw exception TypeError:
'caller' and 'arguments' are restricted function properties and cannot be acces
sed in this context.. |
91 PASS (function f(arg){'use strict'; f.caller; })() threw exception TypeError: 'c
aller' and 'arguments' are restricted function properties and cannot be accessed
in this context.. | 89 PASS (function f(arg){'use strict'; f.caller; })() threw exception TypeError: 'c
aller' and 'arguments' are restricted function properties and cannot be accessed
in this context.. |
92 PASS (function f(arg){'use strict'; f.arguments=5; })() threw exception TypeErro
r: 'caller' and 'arguments' are restricted function properties and cannot be acc
essed in this context.. | 90 PASS (function f(arg){'use strict'; f.arguments=5; })() threw exception TypeErro
r: 'caller' and 'arguments' are restricted function properties and cannot be acc
essed in this context.. |
93 PASS (function f(arg){'use strict'; f.caller=5; })() threw exception TypeError:
'caller' and 'arguments' are restricted function properties and cannot be access
ed in this context.. | 91 PASS (function f(arg){'use strict'; f.caller=5; })() threw exception TypeError:
'caller' and 'arguments' are restricted function properties and cannot be access
ed in this context.. |
94 PASS "caller" in function(){"use strict"} is true | 92 PASS "caller" in function(){"use strict"} is true |
95 PASS (function(){"use strict";}).hasOwnProperty("caller") is false | 93 PASS (function(){"use strict";}).hasOwnProperty("caller") is false |
96 PASS (function(){"use strict";}).__proto__.hasOwnProperty("caller") is true | 94 PASS (function(){"use strict";}).__proto__.hasOwnProperty("caller") is true |
97 PASS "arguments" in function(){"use strict"} is true | 95 PASS "arguments" in function(){"use strict"} is true |
98 PASS (function(){"use strict";}).hasOwnProperty("arguments") is false | 96 PASS (function(){"use strict";}).hasOwnProperty("arguments") is false |
99 PASS (function(){"use strict";}).__proto__.hasOwnProperty("arguments") is true | 97 PASS (function(){"use strict";}).__proto__.hasOwnProperty("arguments") is true |
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
230 PASS try { throw 1; } catch (e) { aGlobal = true; } is true | 228 PASS try { throw 1; } catch (e) { aGlobal = true; } is true |
231 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 |
232 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 |
233 FAIL String(Object.getOwnPropertyDescriptor((function() { "use strict"; }).__pro
to__, "caller").get) should be function () { | 231 FAIL String(Object.getOwnPropertyDescriptor((function() { "use strict"; }).__pro
to__, "caller").get) should be function () { |
234 [native code] | 232 [native code] |
235 }. Was function ThrowTypeError() { [native code] }. | 233 }. Was function ThrowTypeError() { [native code] }. |
236 PASS successfullyParsed is true | 234 PASS successfullyParsed is true |
237 | 235 |
238 TEST COMPLETE | 236 TEST COMPLETE |
239 | 237 |
OLD | NEW |