Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(926)

Side by Side Diff: test/webkit/fast/js/basic-strict-mode-expected.txt

Issue 1415283003: Adapt tests in preparation of shipping --harmony-completion. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Address comments. Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « test/webkit/fast/js/basic-strict-mode.js ('k') | test/webkit/fast/js/kde/completion.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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. 172 FAIL 'use strict'; undefined; if (0) delete +a.b should throw an exception. Was undefined.
173 FAIL (function(){'use strict'; if (0) delete +a.b}) should throw an exception. W as function (){'use strict'; if (0) delete +a.b}. 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}.
174 FAIL 'use strict'; if (0) delete ++a.b should throw an exception. Was use strict . 174 FAIL 'use strict'; undefined; if (0) delete ++a.b should throw an exception. Was undefined.
175 FAIL (function(){'use strict'; if (0) delete ++a.b}) should throw an exception. Was function (){'use strict'; 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'; if (0) delete void a.b should throw an exception. Was use str ict. 176 FAIL 'use strict'; undefined; if (0) delete void a.b should throw an exception. Was undefined.
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}. 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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
OLDNEW
« no previous file with comments | « test/webkit/fast/js/basic-strict-mode.js ('k') | test/webkit/fast/js/kde/completion.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698