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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 PASS testThisBracketAccess.call(false, 'length') is undefined. | 47 PASS testThisBracketAccess.call(false, 'length') is undefined. |
48 PASS testThisBracketAccess.call(1, 'length') is undefined. | 48 PASS testThisBracketAccess.call(1, 'length') is undefined. |
49 PASS Function('"use strict"; return this;')() is undefined. | 49 PASS Function('"use strict"; return this;')() is undefined. |
50 PASS Function('"use strict"; with({});') threw exception SyntaxError: Strict mod
e code may not include a with statement. | 50 PASS Function('"use strict"; with({});') threw exception SyntaxError: Strict mod
e code may not include a with statement. |
51 PASS testGlobalAccess() is undefined | 51 PASS testGlobalAccess() is undefined |
52 PASS testThis.call() is undefined | 52 PASS testThis.call() is undefined |
53 PASS testThis.apply() is undefined | 53 PASS testThis.apply() is undefined |
54 PASS testThis.call(undefined) is undefined | 54 PASS testThis.call(undefined) is undefined |
55 PASS testThis.apply(undefined) is undefined | 55 PASS testThis.apply(undefined) is undefined |
56 PASS (function eval(){'use strict';}) threw exception SyntaxError: Unexpected ev
al or arguments in strict mode. | 56 PASS (function eval(){'use strict';}) threw exception SyntaxError: Unexpected ev
al or arguments in strict mode. |
57 PASS (function(){(function eval(){'use strict';})}) threw exception SyntaxError:
Unexpected eval or arguments in strict mode. | 57 PASS (function (){(function eval(){'use strict';})}) threw exception SyntaxError
: Unexpected eval or arguments in strict mode. |
58 PASS (function (eval){'use strict';}) threw exception SyntaxError: Unexpected ev
al or arguments in strict mode. | 58 PASS (function (eval){'use strict';}) threw exception SyntaxError: Unexpected ev
al or arguments in strict mode. |
59 PASS (function(){(function (eval){'use strict';})}) threw exception SyntaxError:
Unexpected eval or arguments in strict mode. | 59 PASS (function (){(function (eval){'use strict';})}) threw exception SyntaxError
: Unexpected eval or arguments in strict mode. |
60 PASS (function arguments(){'use strict';}) threw exception SyntaxError: Unexpect
ed eval or arguments in strict mode. | 60 PASS (function arguments(){'use strict';}) threw exception SyntaxError: Unexpect
ed eval or arguments in strict mode. |
61 PASS (function(){(function arguments(){'use strict';})}) threw exception SyntaxE
rror: Unexpected eval or arguments in strict mode. | 61 PASS (function (){(function arguments(){'use strict';})}) threw exception Syntax
Error: Unexpected eval or arguments in strict mode. |
62 PASS (function (arguments){'use strict';}) threw exception SyntaxError: Unexpect
ed eval or arguments in strict mode. | 62 PASS (function (arguments){'use strict';}) threw exception SyntaxError: Unexpect
ed eval or arguments in strict mode. |
63 PASS (function(){(function (arguments){'use strict';})}) threw exception SyntaxE
rror: Unexpected eval or arguments in strict mode. | 63 PASS (function (){(function (arguments){'use strict';})}) threw exception Syntax
Error: Unexpected eval or arguments in strict mode. |
64 PASS (function (){'use strict'; var eval;}) threw exception SyntaxError: Unexpec
ted eval or arguments in strict mode. | 64 PASS (function (){'use strict'; var eval;}) threw exception SyntaxError: Unexpec
ted eval or arguments in strict mode. |
65 PASS (function(){(function (){'use strict'; var eval;})}) threw exception Syntax
Error: Unexpected eval or arguments in strict mode. | 65 PASS (function (){(function (){'use strict'; var eval;})}) threw exception Synta
xError: Unexpected eval or arguments in strict mode. |
66 PASS (function (){'use strict'; var arguments;}) threw exception SyntaxError: Un
expected eval or arguments in strict mode. | 66 PASS (function (){'use strict'; var arguments;}) threw exception SyntaxError: Un
expected eval or arguments in strict mode. |
67 PASS (function(){(function (){'use strict'; var arguments;})}) threw exception S
yntaxError: Unexpected eval or arguments in strict mode. | 67 PASS (function (){(function (){'use strict'; var arguments;})}) threw exception
SyntaxError: Unexpected eval or arguments in strict mode. |
68 PASS (function (){'use strict'; try{}catch(eval){}}) threw exception SyntaxError
: Unexpected eval or arguments in strict mode. | 68 PASS (function (){'use strict'; try{}catch(eval){}}) threw exception SyntaxError
: Unexpected eval or arguments in strict mode. |
69 PASS (function(){(function (){'use strict'; try{}catch(eval){}})}) threw excepti
on SyntaxError: Unexpected eval or arguments in strict mode. | 69 PASS (function (){(function (){'use strict'; try{}catch(eval){}})}) threw except
ion SyntaxError: Unexpected eval or arguments in strict mode. |
70 PASS (function (){'use strict'; try{}catch(arguments){}}) threw exception Syntax
Error: Unexpected eval or arguments in strict mode. | 70 PASS (function (){'use strict'; try{}catch(arguments){}}) threw exception Syntax
Error: Unexpected eval or arguments in strict mode. |
71 PASS (function(){(function (){'use strict'; try{}catch(arguments){}})}) threw ex
ception SyntaxError: Unexpected eval or arguments in strict mode. | 71 PASS (function (){(function (){'use strict'; try{}catch(arguments){}})}) threw e
xception SyntaxError: Unexpected eval or arguments in strict mode. |
72 PASS (function (a, a){'use strict';}) threw exception SyntaxError: Duplicate par
ameter name not allowed in this context. | 72 PASS (function (a, a){'use strict';}) threw exception SyntaxError: Duplicate par
ameter 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. | 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 Syn
taxError: 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 excepti
on 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 mo
de.. | 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 Synta
xError: 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. | 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.. | 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.. |
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.. | 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.. |
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.. | 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.. |
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.. | 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.. |
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. | 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. |
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. | 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.. | 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.. |
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.. | 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.. |
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.. | 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.. |
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.. | 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.. |
94 PASS "caller" in function(){"use strict"} is true | 94 PASS "caller" in function(){"use strict"} is true |
95 PASS (function(){"use strict";}).hasOwnProperty("caller") is false | 95 PASS (function(){"use strict";}).hasOwnProperty("caller") is false |
96 PASS (function(){"use strict";}).__proto__.hasOwnProperty("caller") is true | 96 PASS (function(){"use strict";}).__proto__.hasOwnProperty("caller") is true |
97 PASS "arguments" in function(){"use strict"} is true | 97 PASS "arguments" in function(){"use strict"} is true |
98 PASS (function(){"use strict";}).hasOwnProperty("arguments") is false | 98 PASS (function(){"use strict";}).hasOwnProperty("arguments") is false |
99 PASS (function(){"use strict";}).__proto__.hasOwnProperty("arguments") is true | 99 PASS (function(){"use strict";}).__proto__.hasOwnProperty("arguments") is true |
100 PASS 'use strict'; (function (){with(1){};}) threw exception SyntaxError: Strict
mode code may not include a with statement. | 100 PASS 'use strict'; (function (){with(1){};}) threw exception SyntaxError: Strict
mode code may not include a with statement. |
101 PASS (function(){'use strict'; (function (){with(1){};})}) threw exception Synta
xError: Strict mode code may not include a with statement. | 101 PASS (function (){'use strict'; (function (){with(1){};})}) threw exception Synt
axError: Strict mode code may not include a with statement. |
102 PASS 'use strict'; (function (){var a; delete a;}) threw exception SyntaxError:
Delete of an unqualified identifier in strict mode.. | 102 PASS 'use strict'; (function (){var a; delete a;}) threw exception SyntaxError:
Delete of an unqualified identifier in strict mode.. |
103 PASS (function(){'use strict'; (function (){var a; delete a;})}) threw exception
SyntaxError: Delete of an unqualified identifier in strict mode.. | 103 PASS (function (){'use strict'; (function (){var a; delete a;})}) threw exceptio
n SyntaxError: Delete of an unqualified identifier in strict mode.. |
104 PASS 'use strict'; var a; (function (){ delete a;}) threw exception SyntaxError:
Delete of an unqualified identifier in strict mode.. | 104 PASS 'use strict'; var a; (function (){ delete a;}) threw exception SyntaxError:
Delete of an unqualified identifier in strict mode.. |
105 PASS (function(){'use strict'; var a; (function (){ delete a;})}) threw exceptio
n SyntaxError: Delete of an unqualified identifier in strict mode.. | 105 PASS (function (){'use strict'; var a; (function (){ delete a;})}) threw excepti
on SyntaxError: Delete of an unqualified identifier in strict mode.. |
106 PASS var a; (function (){ 'use strict'; delete a;}) threw exception SyntaxError:
Delete of an unqualified identifier in strict mode.. | 106 PASS var a; (function (){ 'use strict'; delete a;}) threw exception SyntaxError:
Delete of an unqualified identifier in strict mode.. |
107 PASS (function(){var a; (function (){ 'use strict'; delete a;})}) threw exceptio
n SyntaxError: Delete of an unqualified identifier in strict mode.. | 107 PASS (function (){var a; (function (){ 'use strict'; delete a;})}) threw excepti
on SyntaxError: Delete of an unqualified identifier in strict mode.. |
108 PASS 'misc directive'; 'use strict'; with({}){} threw exception SyntaxError: Str
ict mode code may not include a with statement. | 108 PASS 'misc directive'; 'use strict'; with({}){} threw exception SyntaxError: Str
ict mode code may not include a with statement. |
109 PASS (function(){'misc directive'; 'use strict'; with({}){}}) threw exception Sy
ntaxError: Strict mode code may not include a with statement. | 109 PASS (function (){'misc directive'; 'use strict'; with({}){}}) threw exception S
yntaxError: Strict mode code may not include a with statement. |
110 PASS 'use strict'; return threw exception SyntaxError: Illegal return statement. | 110 PASS 'use strict'; return threw exception SyntaxError: Illegal return statement. |
111 PASS 'use strict'; break threw exception SyntaxError: Illegal break statement. | 111 PASS 'use strict'; break threw exception SyntaxError: Illegal break statement. |
112 PASS (function(){'use strict'; break}) threw exception SyntaxError: Illegal brea
k 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 c
ontinue 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 Synta
xError: 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 Sy
ntaxError: 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 literal
s 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 literals are not a
llowed in strict mode.. |
123 PASS (function(){'use strict'; '\007';}) threw exception SyntaxError: Octal lite
rals are not allowed in strict mode.. | 123 PASS (function (){'use strict'; '\007';}) threw exception SyntaxError: Octal lit
erals 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 literals are not a
llowed in strict mode.. |
125 PASS (function(){'\007'; 'use strict';}) threw exception SyntaxError: Octal lite
rals are not allowed in strict mode.. | 125 PASS (function (){'\007'; 'use strict';}) threw exception SyntaxError: Octal lit
erals 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 Synt
axError: 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;})}) thre
w 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;})}) thre
w 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. |
136 PASS 'use strict'; objectWithReadonlyProperty.prop = 'fail' threw exception Type
Error: Cannot assign to read only property 'prop' of object '#<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. |
147 PASS 'use strict'; function f() { ++arguments } threw exception SyntaxError: Une
xpected eval or arguments in strict mode. | 147 PASS 'use strict'; function f() { ++arguments } threw exception SyntaxError: Une
xpected eval or arguments in strict mode. |
148 PASS (function(){'use strict'; function f() { ++arguments }}) threw exception Sy
ntaxError: Unexpected eval or arguments in strict mode. | 148 PASS (function (){'use strict'; function f() { ++arguments }}) threw exception S
yntaxError: Unexpected eval or arguments in strict mode. |
149 PASS 'use strict'; function f() { arguments++ } threw exception SyntaxError: Une
xpected eval or arguments in strict mode. | 149 PASS 'use strict'; function f() { arguments++ } threw exception SyntaxError: Une
xpected eval or arguments in strict mode. |
150 PASS (function(){'use strict'; function f() { arguments++ }}) threw exception Sy
ntaxError: Unexpected eval or arguments in strict mode. | 150 PASS (function (){'use strict'; function f() { arguments++ }}) threw exception S
yntaxError: Unexpected eval or arguments in strict mode. |
151 PASS 'use strict'; function f() { --arguments } threw exception SyntaxError: Une
xpected eval or arguments in strict mode. | 151 PASS 'use strict'; function f() { --arguments } threw exception SyntaxError: Une
xpected eval or arguments in strict mode. |
152 PASS (function(){'use strict'; function f() { --arguments }}) threw exception Sy
ntaxError: Unexpected eval or arguments in strict mode. | 152 PASS (function (){'use strict'; function f() { --arguments }}) threw exception S
yntaxError: Unexpected eval or arguments in strict mode. |
153 PASS 'use strict'; function f() { arguments-- } threw exception SyntaxError: Une
xpected eval or arguments in strict mode. | 153 PASS 'use strict'; function f() { arguments-- } threw exception SyntaxError: Une
xpected eval or arguments in strict mode. |
154 PASS (function(){'use strict'; function f() { arguments-- }}) threw exception Sy
ntaxError: Unexpected eval or arguments in strict mode. | 154 PASS (function (){'use strict'; function f() { arguments-- }}) threw exception S
yntaxError: Unexpected eval or arguments in strict mode. |
155 PASS global.eval('"use strict"; if (0) ++arguments; true;') threw exception Synt
axError: Unexpected eval or arguments in strict mode. | 155 PASS global.eval('"use strict"; if (0) ++arguments; true;') threw exception Synt
axError: Unexpected eval or arguments in strict mode. |
156 PASS 'use strict'; ++(1, eval) threw exception ReferenceError: Invalid left-hand
side expression in prefix operation. | 156 PASS 'use strict'; ++(1, eval) threw exception ReferenceError: Invalid left-hand
side expression in prefix operation. |
157 PASS (function(){'use strict'; ++(1, eval)}) threw exception ReferenceError: Inv
alid left-hand side expression in prefix operation. | 157 PASS (function (){'use strict'; ++(1, eval)}) threw exception ReferenceError: In
valid left-hand side expression in prefix operation. |
158 PASS 'use strict'; (1, eval)++ threw exception ReferenceError: Invalid left-hand
side expression in postfix operation. | 158 PASS 'use strict'; (1, eval)++ threw exception ReferenceError: Invalid left-hand
side expression in postfix operation. |
159 PASS (function(){'use strict'; (1, eval)++}) threw exception ReferenceError: Inv
alid left-hand side expression in postfix operation. | 159 PASS (function (){'use strict'; (1, eval)++}) threw exception ReferenceError: In
valid left-hand side expression in postfix operation. |
160 PASS 'use strict'; --(1, eval) threw exception ReferenceError: Invalid left-hand
side expression in prefix operation. | 160 PASS 'use strict'; --(1, eval) threw exception ReferenceError: Invalid left-hand
side expression in prefix operation. |
161 PASS (function(){'use strict'; --(1, eval)}) threw exception ReferenceError: Inv
alid left-hand side expression in prefix operation. | 161 PASS (function (){'use strict'; --(1, eval)}) threw exception ReferenceError: In
valid left-hand side expression in prefix operation. |
162 PASS 'use strict'; (1, eval)-- threw exception ReferenceError: Invalid left-hand
side expression in postfix operation. | 162 PASS 'use strict'; (1, eval)-- threw exception ReferenceError: Invalid left-hand
side expression in postfix operation. |
163 PASS (function(){'use strict'; (1, eval)--}) threw exception ReferenceError: Inv
alid left-hand side expression in postfix operation. | 163 PASS (function (){'use strict'; (1, eval)--}) threw exception ReferenceError: In
valid left-hand side expression in postfix operation. |
164 PASS 'use strict'; function f() { ++(1, arguments) } threw exception ReferenceEr
ror: Invalid left-hand side expression in prefix operation. | 164 PASS 'use strict'; function f() { ++(1, arguments) } threw exception ReferenceEr
ror: Invalid left-hand side expression in prefix operation. |
165 PASS (function(){'use strict'; function f() { ++(1, arguments) }}) threw excepti
on ReferenceError: Invalid left-hand side expression in prefix operation. | 165 PASS (function (){'use strict'; function f() { ++(1, arguments) }}) threw except
ion ReferenceError: Invalid left-hand side expression in prefix operation. |
166 PASS 'use strict'; function f() { (1, arguments)++ } threw exception ReferenceEr
ror: Invalid left-hand side expression in postfix operation. | 166 PASS 'use strict'; function f() { (1, arguments)++ } threw exception ReferenceEr
ror: Invalid left-hand side expression in postfix operation. |
167 PASS (function(){'use strict'; function f() { (1, arguments)++ }}) threw excepti
on ReferenceError: Invalid left-hand side expression in postfix operation. | 167 PASS (function (){'use strict'; function f() { (1, arguments)++ }}) threw except
ion ReferenceError: Invalid left-hand side expression in postfix operation. |
168 PASS 'use strict'; function f() { --(1, arguments) } threw exception ReferenceEr
ror: Invalid left-hand side expression in prefix operation. | 168 PASS 'use strict'; function f() { --(1, arguments) } threw exception ReferenceEr
ror: Invalid left-hand side expression in prefix operation. |
169 PASS (function(){'use strict'; function f() { --(1, arguments) }}) threw excepti
on ReferenceError: Invalid left-hand side expression in prefix operation. | 169 PASS (function (){'use strict'; function f() { --(1, arguments) }}) threw except
ion ReferenceError: Invalid left-hand side expression in prefix operation. |
170 PASS 'use strict'; function f() { (1, arguments)-- } threw exception ReferenceEr
ror: Invalid left-hand side expression in postfix operation. | 170 PASS 'use strict'; function f() { (1, arguments)-- } threw exception ReferenceEr
ror: Invalid left-hand side expression in postfix operation. |
171 PASS (function(){'use strict'; function f() { (1, arguments)-- }}) threw excepti
on ReferenceError: Invalid left-hand side expression in postfix operation. | 171 PASS (function (){'use strict'; function f() { (1, arguments)-- }}) threw except
ion ReferenceError: Invalid left-hand side expression in postfix operation. |
172 FAIL 'use strict'; undefined; if (0) delete +a.b should throw an exception. Was
undefined. | 172 FAIL 'use strict'; undefined; if (0) delete +a.b should throw an exception. Was
undefined. |
173 FAIL (function(){'use strict'; undefined; if (0) delete +a.b}) should throw an e
xception. Was function (){'use strict'; undefined; if (0) delete +a.b}. | 173 FAIL (function (){'use strict'; undefined; if (0) delete +a.b}) should throw an
exception. Was function (){'use strict'; undefined; if (0) delete +a.b}. |
174 FAIL 'use strict'; undefined; if (0) delete ++a.b should throw an exception. Was
undefined. | 174 FAIL 'use strict'; undefined; if (0) delete ++a.b should throw an exception. Was
undefined. |
175 FAIL (function(){'use strict'; undefined; if (0) delete ++a.b}) should throw an
exception. Was function (){'use strict'; undefined; if (0) delete ++a.b}. | 175 FAIL (function (){'use strict'; undefined; if (0) delete ++a.b}) should throw an
exception. Was function (){'use strict'; undefined; if (0) delete ++a.b}. |
176 FAIL 'use strict'; undefined; if (0) delete void a.b should throw an exception.
Was undefined. | 176 FAIL 'use strict'; undefined; if (0) delete void a.b should throw an exception.
Was undefined. |
177 FAIL (function(){'use strict'; undefined; if (0) delete void a.b}) should throw
an exception. Was function (){'use strict'; undefined; if (0) delete void a.b}. | 177 FAIL (function (){'use strict'; undefined; if (0) delete void a.b}) should throw
an exception. Was function (){'use strict'; undefined; if (0) delete void a.b}. |
178 PASS (function (a){'use strict'; a = false; return a !== arguments[0]; })(true)
is true | 178 PASS (function (a){'use strict'; a = false; return a !== arguments[0]; })(true)
is true |
179 PASS (function (a){'use strict'; arguments[0] = false; return a !== arguments[0]
; })(true) is true | 179 PASS (function (a){'use strict'; arguments[0] = false; return a !== arguments[0]
; })(true) is true |
180 PASS (function (a){'use strict'; a=false; return arguments; })(true)[0] is true | 180 PASS (function (a){'use strict'; a=false; return arguments; })(true)[0] is true |
181 PASS (function (a){'use strict'; arguments[0]=false; return a; })(true) is true | 181 PASS (function (a){'use strict'; arguments[0]=false; return a; })(true) is true |
182 PASS (function (a){'use strict'; arguments[0]=true; return arguments; })(false)[
0] is true | 182 PASS (function (a){'use strict'; arguments[0]=true; return arguments; })(false)[
0] is true |
183 PASS (function (){'use strict'; arguments[0]=true; return arguments; })(false)[
0] is true | 183 PASS (function (){'use strict'; arguments[0]=true; return arguments; })(false)[
0] is true |
184 PASS (function (a){'use strict'; arguments[0]=true; a=false; return arguments; }
)()[0] is true | 184 PASS (function (a){'use strict'; arguments[0]=true; a=false; return arguments; }
)()[0] is true |
185 PASS (function (a){'use strict'; arguments[0]=false; a=true; return a; })() is t
rue | 185 PASS (function (a){'use strict'; arguments[0]=false; a=true; return a; })() is t
rue |
186 PASS (function (a){'use strict'; arguments[0]=true; return arguments; })()[0] is
true | 186 PASS (function (a){'use strict'; arguments[0]=true; return arguments; })()[0] is
true |
187 PASS (function (){'use strict'; arguments[0]=true; return arguments; })()[0] is
true | 187 PASS (function (){'use strict'; arguments[0]=true; return arguments; })()[0] is
true |
(...skipping 12 matching lines...) Expand all Loading... |
200 PASS (function f(arg){'use strict'; return Object.getOwnPropertyDescriptor(f.__p
roto__, 'arguments').value; })() is undefined. | 200 PASS (function f(arg){'use strict'; return Object.getOwnPropertyDescriptor(f.__p
roto__, 'arguments').value; })() is undefined. |
201 PASS (function f(arg){'use strict'; return Object.getOwnPropertyDescriptor(f.__p
roto__, 'caller').value; })() is undefined. | 201 PASS (function f(arg){'use strict'; return Object.getOwnPropertyDescriptor(f.__p
roto__, 'caller').value; })() is undefined. |
202 PASS (function f(arg){'use strict'; return Object.getOwnPropertyDescriptor(argum
ents, 'callee').value; })() is undefined. | 202 PASS (function f(arg){'use strict'; return Object.getOwnPropertyDescriptor(argum
ents, 'callee').value; })() is undefined. |
203 PASS (function f(arg){'use strict'; return Object.getOwnPropertyDescriptor(argum
ents, 'caller').value; })() is undefined. | 203 PASS (function f(arg){'use strict'; return Object.getOwnPropertyDescriptor(argum
ents, 'caller').value; })() is undefined. |
204 PASS (function f(arg){'use strict'; var descriptor = Object.getOwnPropertyDescri
ptor(arguments, 'caller'); return descriptor.get === descriptor.set; })() is tru
e | 204 PASS (function f(arg){'use strict'; var descriptor = Object.getOwnPropertyDescri
ptor(arguments, 'caller'); return descriptor.get === descriptor.set; })() is tru
e |
205 PASS (function f(arg){'use strict'; var descriptor = Object.getOwnPropertyDescri
ptor(arguments, 'callee'); return descriptor.get === descriptor.set; })() is tru
e | 205 PASS (function f(arg){'use strict'; var descriptor = Object.getOwnPropertyDescri
ptor(arguments, 'callee'); return descriptor.get === descriptor.set; })() is tru
e |
206 PASS (function f(arg){'use strict'; var descriptor = Object.getOwnPropertyDescri
ptor(f.__proto__, 'caller'); return descriptor.get === descriptor.set; })() is t
rue | 206 PASS (function f(arg){'use strict'; var descriptor = Object.getOwnPropertyDescri
ptor(f.__proto__, 'caller'); return descriptor.get === descriptor.set; })() is t
rue |
207 PASS (function f(arg){'use strict'; var descriptor = Object.getOwnPropertyDescri
ptor(f.__proto__, 'arguments'); return descriptor.get === descriptor.set; })() i
s true | 207 PASS (function f(arg){'use strict'; var descriptor = Object.getOwnPropertyDescri
ptor(f.__proto__, 'arguments'); return descriptor.get === descriptor.set; })() i
s true |
208 PASS 'use strict'; (function f() { for(var i in this); })(); true; is true | 208 PASS 'use strict'; (function f() { for(var i in this); })(); true; is true |
209 PASS 'use strict'̻ threw exception SyntaxError: Invalid or unexpected token. | 209 PASS 'use strict'̻ threw exception SyntaxError: Invalid or unexpected token. |
210 PASS (function(){'use strict'̻}) threw exception SyntaxError: Invalid or unexpec
ted token. | 210 PASS (function (){'use strict'̻}) threw exception SyntaxError: Invalid or unexpe
cted token. |
211 PASS 'use strict'5.f threw exception SyntaxError: Invalid or unexpected token. | 211 PASS 'use strict'5.f threw exception SyntaxError: Invalid or unexpected token. |
212 PASS (function(){'use strict'5.f}) threw exception SyntaxError: Invalid or unexp
ected token. | 212 PASS (function (){'use strict'5.f}) threw exception SyntaxError: Invalid or unex
pected token. |
213 PASS 'use strict';̻ threw exception SyntaxError: Invalid or unexpected token. | 213 PASS 'use strict';̻ threw exception SyntaxError: Invalid or unexpected token. |
214 PASS (function(){'use strict';̻}) threw exception SyntaxError: Invalid or unexpe
cted token. | 214 PASS (function (){'use strict';̻}) threw exception SyntaxError: Invalid or unexp
ected token. |
215 PASS 'use strict';5.f threw exception SyntaxError: Invalid or unexpected token. | 215 PASS 'use strict';5.f threw exception SyntaxError: Invalid or unexpected token. |
216 PASS (function(){'use strict';5.f}) threw exception SyntaxError: Invalid or unex
pected token. | 216 PASS (function (){'use strict';5.f}) threw exception SyntaxError: Invalid or une
xpected token. |
217 PASS 'use strict';1-(eval=1); threw exception SyntaxError: Unexpected eval or ar
guments in strict mode. | 217 PASS 'use strict';1-(eval=1); threw exception SyntaxError: Unexpected eval or ar
guments in strict mode. |
218 PASS (function(){'use strict';1-(eval=1);}) threw exception SyntaxError: Unexpec
ted eval or arguments in strict mode. | 218 PASS (function (){'use strict';1-(eval=1);}) threw exception SyntaxError: Unexpe
cted eval or arguments in strict mode. |
219 PASS 'use strict';arguments=1; threw exception SyntaxError: Unexpected eval or a
rguments in strict mode. | 219 PASS 'use strict';arguments=1; threw exception SyntaxError: Unexpected eval or a
rguments in strict mode. |
220 PASS (function(){'use strict';arguments=1;}) threw exception SyntaxError: Unexpe
cted eval or arguments in strict mode. | 220 PASS (function (){'use strict';arguments=1;}) threw exception SyntaxError: Unexp
ected eval or arguments in strict mode. |
221 PASS 'use strict';1-(arguments=1); threw exception SyntaxError: Unexpected eval
or arguments in strict mode. | 221 PASS 'use strict';1-(arguments=1); threw exception SyntaxError: Unexpected eval
or arguments in strict mode. |
222 PASS (function(){'use strict';1-(arguments=1);}) threw exception SyntaxError: Un
expected eval or arguments in strict mode. | 222 PASS (function (){'use strict';1-(arguments=1);}) threw exception SyntaxError: U
nexpected eval or arguments in strict mode. |
223 PASS 'use strict';var a=(eval=1); threw exception SyntaxError: Unexpected eval o
r arguments in strict mode. | 223 PASS 'use strict';var a=(eval=1); threw exception SyntaxError: Unexpected eval o
r arguments in strict mode. |
224 PASS (function(){'use strict';var a=(eval=1);}) threw exception SyntaxError: Une
xpected eval or arguments in strict mode. | 224 PASS (function (){'use strict';var a=(eval=1);}) threw exception SyntaxError: Un
expected eval or arguments in strict mode. |
225 PASS 'use strict';var a=(arguments=1); threw exception SyntaxError: Unexpected e
val or arguments in strict mode. | 225 PASS 'use strict';var a=(arguments=1); threw exception SyntaxError: Unexpected e
val or arguments in strict mode. |
226 PASS (function(){'use strict';var a=(arguments=1);}) threw exception SyntaxError
: Unexpected eval or arguments in strict mode. | 226 PASS (function (){'use strict';var a=(arguments=1);}) threw exception SyntaxErro
r: Unexpected eval or arguments in strict mode. |
227 PASS 'use strict'; try { throw 1; } catch (e) { aGlobal = true; } is true | 227 PASS 'use strict'; try { throw 1; } catch (e) { aGlobal = true; } is true |
228 PASS 'use strict'; (function () { try { throw 1; } catch (e) { aGlobal = true; }
})(); aGlobal; is true | 228 PASS 'use strict'; (function () { try { throw 1; } catch (e) { aGlobal = true; }
})(); aGlobal; is true |
229 PASS (function () {'use strict'; try { throw 1; } catch (e) { aGlobal = true; }
})(); aGlobal; is true | 229 PASS (function () {'use strict'; try { throw 1; } catch (e) { aGlobal = true; }
})(); aGlobal; is true |
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 |