| 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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 46 PASS testThisBracketAccess.call(true, 'length') is undefined. | 46 PASS testThisBracketAccess.call(true, 'length') is undefined. |
| 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: Function name
may not be eval 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:
Function name may not be 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: Parameter nam
e eval or arguments is not allowed 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:
Parameter name eval or arguments is not allowed 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: Function
name may not be 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: Function name may not be eval or arguments in strict mode. | 61 PASS (function(){(function arguments(){'use strict';})}) threw exception SyntaxE
rror: Unexpected eval or arguments in strict mode. |
| 62 PASS (function (arguments){'use strict';}) threw exception SyntaxError: Paramete
r name eval or arguments is not allowed 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: Parameter name eval or arguments is not allowed in strict mode. | 63 PASS (function(){(function (arguments){'use strict';})}) threw exception SyntaxE
rror: Unexpected eval or arguments in strict mode. |
| 64 PASS (function (){'use strict'; var eval;}) threw exception SyntaxError: Variabl
e name may not be 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: Variable name may not be 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. |
| 66 PASS (function (){'use strict'; var arguments;}) threw exception SyntaxError: Va
riable name may not be 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: Variable name may not be 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. |
| 68 PASS (function (){'use strict'; try{}catch(eval){}}) threw exception SyntaxError
: Catch variable may not be 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: Catch variable may not be 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. |
| 70 PASS (function (){'use strict'; try{}catch(arguments){}}) threw exception Syntax
Error: Catch variable may not be 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: Catch variable may not be 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. |
| 72 PASS (function (a, a){'use strict';}) threw exception SyntaxError: Strict mode f
unction may not have duplicate parameter names. | 72 PASS (function (a, a){'use strict';}) threw exception SyntaxError: Strict mode f
unction may not have duplicate parameter names. |
| 73 PASS (function(){(function (a, a){'use strict';})}) threw exception SyntaxError:
Strict mode function may not have duplicate parameter names. | 73 PASS (function(){(function (a, a){'use strict';})}) threw exception SyntaxError:
Strict mode function may not have duplicate parameter names. |
| 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 Syn
taxError: 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 excepti
on 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 mo
de.. |
| 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 Synta
xError: Strict mode code may not include a with statement. |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 FAIL 'use strict'; (function f(){ f = 'shouldn\'t be able to assign to function
expression name'; })() should throw an exception. Was undefined. |
| 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: Prefix increment/decremen
t may not have eval or arguments operand 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: Prefix incr
ement/decrement may not have eval or arguments operand 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: Postfix increment/decreme
nt may not have eval or arguments operand 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: Postfix inc
rement/decrement may not have eval or arguments operand 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: Prefix increment/decremen
t may not have eval or arguments operand 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: Prefix incr
ement/decrement may not have eval or arguments operand 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: Postfix increment/decreme
nt may not have eval or arguments operand 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: Postfix inc
rement/decrement may not have eval or arguments operand in strict mode. | 144 PASS (function(){'use strict'; eval--}) threw exception SyntaxError: Unexpected
eval or arguments in strict mode. |
| 145 PASS 'use strict'; function f() { ++arguments } threw exception SyntaxError: Pre
fix increment/decrement may not have eval or arguments operand in strict mode. | 145 PASS 'use strict'; function f() { ++arguments } threw exception SyntaxError: Une
xpected eval or arguments in strict mode. |
| 146 PASS (function(){'use strict'; function f() { ++arguments }}) threw exception Sy
ntaxError: Prefix increment/decrement may not have eval or arguments operand in
strict mode. | 146 PASS (function(){'use strict'; function f() { ++arguments }}) threw exception Sy
ntaxError: Unexpected eval or arguments in strict mode. |
| 147 PASS 'use strict'; function f() { arguments++ } threw exception SyntaxError: Pos
tfix increment/decrement may not have eval or arguments operand 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: Postfix increment/decrement may not have eval or arguments operand in
strict mode. | 148 PASS (function(){'use strict'; function f() { arguments++ }}) threw exception Sy
ntaxError: Unexpected eval or arguments in strict mode. |
| 149 PASS 'use strict'; function f() { --arguments } threw exception SyntaxError: Pre
fix increment/decrement may not have eval or arguments operand 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: Prefix increment/decrement may not have eval or arguments operand in
strict mode. | 150 PASS (function(){'use strict'; function f() { --arguments }}) threw exception Sy
ntaxError: Unexpected eval or arguments in strict mode. |
| 151 PASS 'use strict'; function f() { arguments-- } threw exception SyntaxError: Pos
tfix increment/decrement may not have eval or arguments operand 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: Postfix increment/decrement may not have eval or arguments operand in
strict mode. | 152 PASS (function(){'use strict'; function f() { arguments-- }}) threw exception Sy
ntaxError: Unexpected eval or arguments in strict mode. |
| 153 PASS global.eval('"use strict"; if (0) ++arguments; true;') threw exception Synt
axError: Prefix increment/decrement may not have eval or arguments operand in st
rict mode. | 153 PASS global.eval('"use strict"; if (0) ++arguments; true;') threw exception Synt
axError: Unexpected eval or arguments in strict mode. |
| 154 PASS 'use strict'; ++(1, eval) threw exception ReferenceError: Invalid left-hand
side expression in prefix operation. | 154 PASS 'use strict'; ++(1, eval) threw exception ReferenceError: Invalid left-hand
side expression in prefix operation. |
| 155 FAIL (function(){'use strict'; ++(1, eval)}) should throw an exception. Was func
tion (){'use strict'; ++(1, eval)}. | 155 FAIL (function(){'use strict'; ++(1, eval)}) should throw an exception. Was func
tion (){'use strict'; ++(1, eval)}. |
| 156 PASS 'use strict'; (1, eval)++ threw exception ReferenceError: Invalid left-hand
side expression in postfix operation. | 156 PASS 'use strict'; (1, eval)++ threw exception ReferenceError: Invalid left-hand
side expression in postfix operation. |
| 157 FAIL (function(){'use strict'; (1, eval)++}) should throw an exception. Was func
tion (){'use strict'; (1, eval)++}. | 157 FAIL (function(){'use strict'; (1, eval)++}) should throw an exception. Was func
tion (){'use strict'; (1, eval)++}. |
| 158 PASS 'use strict'; --(1, eval) threw exception ReferenceError: Invalid left-hand
side expression in prefix operation. | 158 PASS 'use strict'; --(1, eval) threw exception ReferenceError: Invalid left-hand
side expression in prefix operation. |
| 159 FAIL (function(){'use strict'; --(1, eval)}) should throw an exception. Was func
tion (){'use strict'; --(1, eval)}. | 159 FAIL (function(){'use strict'; --(1, eval)}) should throw an exception. Was func
tion (){'use strict'; --(1, eval)}. |
| 160 PASS 'use strict'; (1, eval)-- threw exception ReferenceError: Invalid left-hand
side expression in postfix operation. | 160 PASS 'use strict'; (1, eval)-- threw exception ReferenceError: Invalid left-hand
side expression in postfix operation. |
| 161 FAIL (function(){'use strict'; (1, eval)--}) should throw an exception. Was func
tion (){'use strict'; (1, eval)--}. | 161 FAIL (function(){'use strict'; (1, eval)--}) should throw an exception. Was func
tion (){'use strict'; (1, eval)--}. |
| 162 FAIL 'use strict'; function f() { ++(1, arguments) } should throw an exception.
Was use strict. | 162 FAIL 'use strict'; function f() { ++(1, arguments) } should throw an exception.
Was use strict. |
| 163 FAIL (function(){'use strict'; function f() { ++(1, arguments) }}) should throw
an exception. Was function (){'use strict'; function f() { ++(1, arguments) }}. | 163 FAIL (function(){'use strict'; function f() { ++(1, arguments) }}) should throw
an exception. Was function (){'use strict'; function f() { ++(1, arguments) }}. |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 205 PASS (function f(arg){'use strict'; var descriptor = Object.getOwnPropertyDescri
ptor(f, 'arguments'); return descriptor.get === descriptor.set; })() is true | 205 PASS (function f(arg){'use strict'; var descriptor = Object.getOwnPropertyDescri
ptor(f, 'arguments'); return descriptor.get === descriptor.set; })() is true |
| 206 PASS 'use strict'; (function f() { for(var i in this); })(); true; is true | 206 PASS 'use strict'; (function f() { for(var i in this); })(); true; is true |
| 207 PASS 'use strict'̻ threw exception SyntaxError: Unexpected token ILLEGAL. | 207 PASS 'use strict'̻ threw exception SyntaxError: Unexpected token ILLEGAL. |
| 208 PASS (function(){'use strict'̻}) threw exception SyntaxError: Unexpected token I
LLEGAL. | 208 PASS (function(){'use strict'̻}) threw exception SyntaxError: Unexpected token I
LLEGAL. |
| 209 PASS 'use strict'5.f threw exception SyntaxError: Unexpected token ILLEGAL. | 209 PASS 'use strict'5.f threw exception SyntaxError: Unexpected token ILLEGAL. |
| 210 PASS (function(){'use strict'5.f}) threw exception SyntaxError: Unexpected token
ILLEGAL. | 210 PASS (function(){'use strict'5.f}) threw exception SyntaxError: Unexpected token
ILLEGAL. |
| 211 PASS 'use strict';̻ threw exception SyntaxError: Unexpected token ILLEGAL. | 211 PASS 'use strict';̻ threw exception SyntaxError: Unexpected token ILLEGAL. |
| 212 PASS (function(){'use strict';̻}) threw exception SyntaxError: Unexpected token
ILLEGAL. | 212 PASS (function(){'use strict';̻}) threw exception SyntaxError: Unexpected token
ILLEGAL. |
| 213 PASS 'use strict';5.f threw exception SyntaxError: Unexpected token ILLEGAL. | 213 PASS 'use strict';5.f threw exception SyntaxError: Unexpected token ILLEGAL. |
| 214 PASS (function(){'use strict';5.f}) threw exception SyntaxError: Unexpected toke
n ILLEGAL. | 214 PASS (function(){'use strict';5.f}) threw exception SyntaxError: Unexpected toke
n ILLEGAL. |
| 215 PASS 'use strict';1-(eval=1); threw exception SyntaxError: Assignment to eval or
arguments is not allowed in strict mode. | 215 PASS 'use strict';1-(eval=1); threw exception SyntaxError: Unexpected eval or ar
guments in strict mode. |
| 216 PASS (function(){'use strict';1-(eval=1);}) threw exception SyntaxError: Assignm
ent to eval or arguments is not allowed in strict mode. | 216 PASS (function(){'use strict';1-(eval=1);}) threw exception SyntaxError: Unexpec
ted eval or arguments in strict mode. |
| 217 PASS 'use strict';arguments=1; threw exception SyntaxError: Assignment to eval o
r arguments is not allowed in strict mode. | 217 PASS 'use strict';arguments=1; threw exception SyntaxError: Unexpected eval or a
rguments in strict mode. |
| 218 PASS (function(){'use strict';arguments=1;}) threw exception SyntaxError: Assign
ment to eval or arguments is not allowed in strict mode. | 218 PASS (function(){'use strict';arguments=1;}) threw exception SyntaxError: Unexpe
cted eval or arguments in strict mode. |
| 219 PASS 'use strict';1-(arguments=1); threw exception SyntaxError: Assignment to ev
al or arguments is not allowed in strict mode. | 219 PASS 'use strict';1-(arguments=1); threw exception SyntaxError: Unexpected eval
or arguments in strict mode. |
| 220 PASS (function(){'use strict';1-(arguments=1);}) threw exception SyntaxError: As
signment to eval or arguments is not allowed in strict mode. | 220 PASS (function(){'use strict';1-(arguments=1);}) threw exception SyntaxError: Un
expected eval or arguments in strict mode. |
| 221 PASS 'use strict';var a=(eval=1); threw exception SyntaxError: Assignment to eva
l or arguments is not allowed in strict mode. | 221 PASS 'use strict';var a=(eval=1); threw exception SyntaxError: Unexpected eval o
r arguments in strict mode. |
| 222 PASS (function(){'use strict';var a=(eval=1);}) threw exception SyntaxError: Ass
ignment to eval or arguments is not allowed in strict mode. | 222 PASS (function(){'use strict';var a=(eval=1);}) threw exception SyntaxError: Une
xpected eval or arguments in strict mode. |
| 223 PASS 'use strict';var a=(arguments=1); threw exception SyntaxError: Assignment t
o eval or arguments is not allowed in strict mode. | 223 PASS 'use strict';var a=(arguments=1); threw exception SyntaxError: Unexpected e
val or arguments in strict mode. |
| 224 PASS (function(){'use strict';var a=(arguments=1);}) threw exception SyntaxError
: Assignment to eval or arguments is not allowed in strict mode. | 224 PASS (function(){'use strict';var a=(arguments=1);}) threw exception SyntaxError
: Unexpected eval or arguments in strict mode. |
| 225 PASS 'use strict'; try { throw 1; } catch (e) { aGlobal = true; } is true | 225 PASS 'use strict'; try { throw 1; } catch (e) { aGlobal = true; } is true |
| 226 PASS 'use strict'; (function () { try { throw 1; } catch (e) { aGlobal = true; }
})(); aGlobal; is true | 226 PASS 'use strict'; (function () { try { throw 1; } catch (e) { aGlobal = true; }
})(); aGlobal; is true |
| 227 PASS (function () {'use strict'; try { throw 1; } catch (e) { aGlobal = true; }
})(); aGlobal; is true | 227 PASS (function () {'use strict'; try { throw 1; } catch (e) { aGlobal = true; }
})(); aGlobal; is true |
| 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 |