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 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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: Inv
alid 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 excepti
on 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 excepti
on 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 excepti
on 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 excepti
on ReferenceError: Invalid left-hand side expression in postfix operation. |
172 FAIL 'use strict'; if (0) delete +a.b should throw an exception. Was use strict. | |
173 FAIL (function(){'use strict'; if (0) delete +a.b}) should throw an exception. W
as function (){'use strict'; if (0) delete +a.b}. | |
174 FAIL 'use strict'; if (0) delete ++a.b should throw an exception. Was use strict
. | |
175 FAIL (function(){'use strict'; if (0) delete ++a.b}) should throw an exception.
Was function (){'use strict'; if (0) delete ++a.b}. | |
176 FAIL 'use strict'; if (0) delete void a.b should throw an exception. Was use str
ict. | |
177 FAIL (function(){'use strict'; if (0) delete void a.b}) should throw an exceptio
n. Was function (){'use strict'; if (0) delete void a.b}. | |
178 PASS (function (a){'use strict'; a = false; return a !== arguments[0]; })(true)
is true | 172 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 | 173 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 | 174 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 | 175 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 | 176 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 | 177 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 | 178 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 | 179 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 | 180 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 | 181 PASS (function (){'use strict'; arguments[0]=true; return arguments; })()[0] is
true |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
230 PASS try { throw 1; } catch (e) { aGlobal = true; } is true | 224 PASS try { throw 1; } catch (e) { aGlobal = true; } is true |
231 PASS (function () { try { throw 1; } catch (e) { aGlobal = true; }})(); aGlobal;
is true | 225 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 | 226 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 () { | 227 FAIL String(Object.getOwnPropertyDescriptor((function() { "use strict"; }).__pro
to__, "caller").get) should be function () { |
234 [native code] | 228 [native code] |
235 }. Was function ThrowTypeError() { [native code] }. | 229 }. Was function ThrowTypeError() { [native code] }. |
236 PASS successfullyParsed is true | 230 PASS successfullyParsed is true |
237 | 231 |
238 TEST COMPLETE | 232 TEST COMPLETE |
239 | 233 |
OLD | NEW |