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

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

Issue 1758663002: Change syntax error message for illegal token. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: addressed comment Created 4 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
« no previous file with comments | « test/mjsunit/messages.js ('k') | test/webkit/fast/js/kde/parse-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 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 PASS (function (){var a = true; eval('"use strict"; var a = false'); return a; } )() is true 199 PASS (function (){var a = true; eval('"use strict"; var a = false'); return a; } )() is true
200 PASS (function f(arg){'use strict'; return Object.getOwnPropertyDescriptor(f.__p roto__, 'arguments').value; })() is undefined. 200 PASS (function f(arg){'use strict'; return Object.getOwnPropertyDescriptor(f.__p roto__, 'arguments').value; })() is undefined.
201 PASS (function f(arg){'use strict'; return Object.getOwnPropertyDescriptor(f.__p roto__, 'caller').value; })() is undefined. 201 PASS (function f(arg){'use strict'; return Object.getOwnPropertyDescriptor(f.__p roto__, 'caller').value; })() is undefined.
202 PASS (function f(arg){'use strict'; return Object.getOwnPropertyDescriptor(argum ents, 'callee').value; })() is undefined. 202 PASS (function f(arg){'use strict'; return Object.getOwnPropertyDescriptor(argum ents, 'callee').value; })() is undefined.
203 PASS (function f(arg){'use strict'; return Object.getOwnPropertyDescriptor(argum ents, 'caller').value; })() is undefined. 203 PASS (function f(arg){'use strict'; return Object.getOwnPropertyDescriptor(argum ents, 'caller').value; })() is undefined.
204 PASS (function f(arg){'use strict'; var descriptor = Object.getOwnPropertyDescri ptor(arguments, 'caller'); return descriptor.get === descriptor.set; })() is tru e 204 PASS (function f(arg){'use strict'; var descriptor = Object.getOwnPropertyDescri ptor(arguments, 'caller'); return descriptor.get === descriptor.set; })() is tru e
205 PASS (function f(arg){'use strict'; var descriptor = Object.getOwnPropertyDescri ptor(arguments, 'callee'); return descriptor.get === descriptor.set; })() is tru e 205 PASS (function f(arg){'use strict'; var descriptor = Object.getOwnPropertyDescri ptor(arguments, 'callee'); return descriptor.get === descriptor.set; })() is tru e
206 PASS (function f(arg){'use strict'; var descriptor = Object.getOwnPropertyDescri ptor(f.__proto__, 'caller'); return descriptor.get === descriptor.set; })() is t rue 206 PASS (function f(arg){'use strict'; var descriptor = Object.getOwnPropertyDescri ptor(f.__proto__, 'caller'); return descriptor.get === descriptor.set; })() is t rue
207 PASS (function f(arg){'use strict'; var descriptor = Object.getOwnPropertyDescri ptor(f.__proto__, 'arguments'); return descriptor.get === descriptor.set; })() i s true 207 PASS (function f(arg){'use strict'; var descriptor = Object.getOwnPropertyDescri ptor(f.__proto__, 'arguments'); return descriptor.get === descriptor.set; })() i s true
208 PASS 'use strict'; (function f() { for(var i in this); })(); true; is true 208 PASS 'use strict'; (function f() { for(var i in this); })(); true; is true
209 PASS 'use strict'̻ threw exception SyntaxError: Unexpected token ILLEGAL. 209 PASS 'use strict'̻ threw exception SyntaxError: Invalid or unexpected token.
210 PASS (function(){'use strict'̻}) threw exception SyntaxError: Unexpected token I LLEGAL. 210 PASS (function(){'use strict'̻}) threw exception SyntaxError: Invalid or unexpec ted token.
211 PASS 'use strict'5.f threw exception SyntaxError: Unexpected token ILLEGAL. 211 PASS 'use strict'5.f threw exception SyntaxError: Invalid or unexpected token.
212 PASS (function(){'use strict'5.f}) threw exception SyntaxError: Unexpected token ILLEGAL. 212 PASS (function(){'use strict'5.f}) threw exception SyntaxError: Invalid or unexp ected token.
213 PASS 'use strict';̻ threw exception SyntaxError: Unexpected token ILLEGAL. 213 PASS 'use strict';̻ threw exception SyntaxError: Invalid or unexpected token.
214 PASS (function(){'use strict';̻}) threw exception SyntaxError: Unexpected token ILLEGAL. 214 PASS (function(){'use strict';̻}) threw exception SyntaxError: Invalid or unexpe cted token.
215 PASS 'use strict';5.f threw exception SyntaxError: Unexpected token ILLEGAL. 215 PASS 'use strict';5.f threw exception SyntaxError: Invalid or unexpected token.
216 PASS (function(){'use strict';5.f}) threw exception SyntaxError: Unexpected toke n ILLEGAL. 216 PASS (function(){'use strict';5.f}) threw exception SyntaxError: Invalid or unex pected token.
217 PASS 'use strict';1-(eval=1); threw exception SyntaxError: Unexpected eval or ar guments in strict mode. 217 PASS 'use strict';1-(eval=1); threw exception SyntaxError: Unexpected eval or ar guments in strict mode.
218 PASS (function(){'use strict';1-(eval=1);}) threw exception SyntaxError: Unexpec ted eval or arguments in strict mode. 218 PASS (function(){'use strict';1-(eval=1);}) threw exception SyntaxError: Unexpec ted eval or arguments in strict mode.
219 PASS 'use strict';arguments=1; threw exception SyntaxError: Unexpected eval or a rguments in strict mode. 219 PASS 'use strict';arguments=1; threw exception SyntaxError: Unexpected eval or a rguments in strict mode.
220 PASS (function(){'use strict';arguments=1;}) threw exception SyntaxError: Unexpe cted eval or arguments in strict mode. 220 PASS (function(){'use strict';arguments=1;}) threw exception SyntaxError: Unexpe cted eval or arguments in strict mode.
221 PASS 'use strict';1-(arguments=1); threw exception SyntaxError: Unexpected eval or arguments in strict mode. 221 PASS 'use strict';1-(arguments=1); threw exception SyntaxError: Unexpected eval or arguments in strict mode.
222 PASS (function(){'use strict';1-(arguments=1);}) threw exception SyntaxError: Un expected eval or arguments in strict mode. 222 PASS (function(){'use strict';1-(arguments=1);}) threw exception SyntaxError: Un expected eval or arguments in strict mode.
223 PASS 'use strict';var a=(eval=1); threw exception SyntaxError: Unexpected eval o r arguments in strict mode. 223 PASS 'use strict';var a=(eval=1); threw exception SyntaxError: Unexpected eval o r arguments in strict mode.
224 PASS (function(){'use strict';var a=(eval=1);}) threw exception SyntaxError: Une xpected eval or arguments in strict mode. 224 PASS (function(){'use strict';var a=(eval=1);}) threw exception SyntaxError: Une xpected eval or arguments in strict mode.
225 PASS 'use strict';var a=(arguments=1); threw exception SyntaxError: Unexpected e val or arguments in strict mode. 225 PASS 'use strict';var a=(arguments=1); threw exception SyntaxError: Unexpected e val or arguments in strict mode.
226 PASS (function(){'use strict';var a=(arguments=1);}) threw exception SyntaxError : Unexpected eval or arguments in strict mode. 226 PASS (function(){'use strict';var a=(arguments=1);}) threw exception SyntaxError : Unexpected eval or arguments in strict mode.
227 PASS 'use strict'; try { throw 1; } catch (e) { aGlobal = true; } is true 227 PASS 'use strict'; try { throw 1; } catch (e) { aGlobal = true; } is true
228 PASS 'use strict'; (function () { try { throw 1; } catch (e) { aGlobal = true; } })(); aGlobal; is true 228 PASS 'use strict'; (function () { try { throw 1; } catch (e) { aGlobal = true; } })(); aGlobal; is true
229 PASS (function () {'use strict'; try { throw 1; } catch (e) { aGlobal = true; } })(); aGlobal; is true 229 PASS (function () {'use strict'; try { throw 1; } catch (e) { aGlobal = true; } })(); aGlobal; is true
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/mjsunit/messages.js ('k') | test/webkit/fast/js/kde/parse-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698