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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 SyntaxE
rror: 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 Syntax
Error: 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 S
yntaxError: 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 excepti
on 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 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: Duplicate par
ameter name not allowed in this context. |
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:
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 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. |
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. |
(...skipping 146 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 |