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

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

Issue 199613004: Fix more WebKit test expectations (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | test/webkit/fast/js/function-toString-parentheses-expected.txt » ('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 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 PASS 'use strict'; function f() { ++arguments } threw exception SyntaxError: Une xpected eval or arguments 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: Unexpected eval or arguments 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: 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 Sy ntaxError: 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 Sy ntaxError: 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 Sy ntaxError: Unexpected eval or arguments in strict mode.
153 PASS global.eval('"use strict"; if (0) ++arguments; true;') threw exception Synt axError: Unexpected eval or arguments in strict 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 PASS (function(){'use strict'; ++(1, eval)}) threw exception ReferenceError: Inv alid left-hand side expression in prefix operation.
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 PASS (function(){'use strict'; (1, eval)++}) threw exception ReferenceError: Inv alid left-hand side expression in postfix operation.
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 PASS (function(){'use strict'; --(1, eval)}) threw exception ReferenceError: Inv alid left-hand side expression in prefix operation.
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 PASS (function(){'use strict'; (1, eval)--}) threw exception ReferenceError: Inv alid left-hand side expression in postfix operation.
162 FAIL 'use strict'; function f() { ++(1, arguments) } should throw an exception. Was use strict. 162 PASS 'use strict'; function f() { ++(1, arguments) } threw exception ReferenceEr ror: Invalid left-hand side expression in prefix operation.
163 FAIL (function(){'use strict'; function f() { ++(1, arguments) }}) should throw an exception. Was function (){'use strict'; function f() { ++(1, arguments) }}. 163 PASS (function(){'use strict'; function f() { ++(1, arguments) }}) threw excepti on ReferenceError: Invalid left-hand side expression in prefix operation.
164 FAIL 'use strict'; function f() { (1, arguments)++ } should throw an exception. Was use strict. 164 PASS 'use strict'; function f() { (1, arguments)++ } threw exception ReferenceEr ror: Invalid left-hand side expression in postfix operation.
165 FAIL (function(){'use strict'; function f() { (1, arguments)++ }}) should throw an exception. Was function (){'use strict'; function f() { (1, arguments)++ }}. 165 PASS (function(){'use strict'; function f() { (1, arguments)++ }}) threw excepti on ReferenceError: Invalid left-hand side expression in postfix operation.
166 FAIL 'use strict'; function f() { --(1, arguments) } should throw an exception. Was use strict. 166 PASS 'use strict'; function f() { --(1, arguments) } threw exception ReferenceEr ror: Invalid left-hand side expression in prefix operation.
167 FAIL (function(){'use strict'; function f() { --(1, arguments) }}) should throw an exception. Was function (){'use strict'; function f() { --(1, arguments) }}. 167 PASS (function(){'use strict'; function f() { --(1, arguments) }}) threw excepti on ReferenceError: Invalid left-hand side expression in prefix operation.
168 FAIL 'use strict'; function f() { (1, arguments)-- } should throw an exception. Was use strict. 168 PASS 'use strict'; function f() { (1, arguments)-- } threw exception ReferenceEr ror: Invalid left-hand side expression in postfix operation.
169 FAIL (function(){'use strict'; function f() { (1, arguments)-- }}) should throw an exception. Was function (){'use strict'; function f() { (1, arguments)-- }}. 169 PASS (function(){'use strict'; function f() { (1, arguments)-- }}) threw excepti on ReferenceError: Invalid left-hand side expression in postfix operation.
170 FAIL 'use strict'; if (0) delete +a.b should throw an exception. Was use strict. 170 FAIL 'use strict'; if (0) delete +a.b should throw an exception. Was use strict.
171 FAIL (function(){'use strict'; if (0) delete +a.b}) should throw an exception. W as function (){'use strict'; if (0) delete +a.b}. 171 FAIL (function(){'use strict'; if (0) delete +a.b}) should throw an exception. W as function (){'use strict'; if (0) delete +a.b}.
172 FAIL 'use strict'; if (0) delete ++a.b should throw an exception. Was use strict . 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. Was function (){'use strict'; if (0) delete ++a.b}. 173 FAIL (function(){'use strict'; if (0) delete ++a.b}) should throw an exception. Was function (){'use strict'; if (0) delete ++a.b}.
174 FAIL 'use strict'; if (0) delete void a.b should throw an exception. Was use str ict. 174 FAIL 'use strict'; if (0) delete void a.b should throw an exception. Was use str ict.
175 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}. 175 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}.
176 PASS (function (a){'use strict'; a = false; return a !== arguments[0]; })(true) is true 176 PASS (function (a){'use strict'; a = false; return a !== arguments[0]; })(true) is true
177 PASS (function (a){'use strict'; arguments[0] = false; return a !== arguments[0] ; })(true) is true 177 PASS (function (a){'use strict'; arguments[0] = false; return a !== arguments[0] ; })(true) is true
178 PASS (function (a){'use strict'; a=false; return arguments; })(true)[0] is true 178 PASS (function (a){'use strict'; a=false; return arguments; })(true)[0] is true
179 PASS (function (a){'use strict'; arguments[0]=false; return a; })(true) is true 179 PASS (function (a){'use strict'; arguments[0]=false; return a; })(true) is true
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
OLDNEW
« no previous file with comments | « no previous file | test/webkit/fast/js/function-toString-parentheses-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698