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

Side by Side Diff: test/webkit/fast/js/parser-syntax-check-expected.txt

Issue 1928513004: Ship for-in initializer deprecation (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Adjust tests Created 4 years, 7 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/for-in.js ('k') | test/webkit/function-declaration-statement.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 448 matching lines...) Expand 10 before | Expand all | Expand 10 after
459 PASS Invalid: "for (var a += 5 in b) break" 459 PASS Invalid: "for (var a += 5 in b) break"
460 PASS Invalid: "function f() { for (var a += 5 in b) break }" 460 PASS Invalid: "function f() { for (var a += 5 in b) break }"
461 PASS Invalid: "for (var a = in b) break" 461 PASS Invalid: "for (var a = in b) break"
462 PASS Invalid: "function f() { for (var a = in b) break }" 462 PASS Invalid: "function f() { for (var a = in b) break }"
463 PASS Invalid: "for (var a, b in b) break" 463 PASS Invalid: "for (var a, b in b) break"
464 PASS Invalid: "function f() { for (var a, b in b) break }" 464 PASS Invalid: "function f() { for (var a, b in b) break }"
465 PASS Invalid: "for (var a = -6, b in b) break" 465 PASS Invalid: "for (var a = -6, b in b) break"
466 PASS Invalid: "function f() { for (var a = -6, b in b) break }" 466 PASS Invalid: "function f() { for (var a = -6, b in b) break }"
467 PASS Invalid: "for (var a, b = 8 in b) break" 467 PASS Invalid: "for (var a, b = 8 in b) break"
468 PASS Invalid: "function f() { for (var a, b = 8 in b) break }" 468 PASS Invalid: "function f() { for (var a, b = 8 in b) break }"
469 PASS Valid: "for (var a = (b in c) in d) break" 469 FAIL Valid: "for (var a = (b in c) in d) break" should NOT throw
470 PASS Valid: "function f() { for (var a = (b in c) in d) break }" 470 FAIL Valid: "function f() { for (var a = (b in c) in d) break }" should NOT th row
471 PASS Invalid: "for (var a = (b in c in d) break" 471 PASS Invalid: "for (var a = (b in c in d) break"
472 PASS Invalid: "function f() { for (var a = (b in c in d) break }" 472 PASS Invalid: "function f() { for (var a = (b in c in d) break }"
473 PASS Invalid: "for (var (a) in b) { }" 473 PASS Invalid: "for (var (a) in b) { }"
474 PASS Invalid: "function f() { for (var (a) in b) { } }" 474 PASS Invalid: "function f() { for (var (a) in b) { } }"
475 PASS Valid: "for (var a = 7, b = c < d >= d ; f()[6]++ ; --i()[1]++ ) {}" 475 PASS Valid: "for (var a = 7, b = c < d >= d ; f()[6]++ ; --i()[1]++ ) {}"
476 PASS Valid: "function f() { for (var a = 7, b = c < d >= d ; f()[6]++ ; --i()[ 1]++ ) {} }" 476 PASS Valid: "function f() { for (var a = 7, b = c < d >= d ; f()[6]++ ; --i()[ 1]++ ) {} }"
477 try statement 477 try statement
478 PASS Invalid: "try { break } catch(e) {}" 478 PASS Invalid: "try { break } catch(e) {}"
479 PASS Invalid: "function f() { try { break } catch(e) {} }" 479 PASS Invalid: "function f() { try { break } catch(e) {} }"
480 PASS Valid: "try {} finally { c++ }" 480 PASS Valid: "try {} finally { c++ }"
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
602 PASS Invalid: "function f() { var a.b = c }" 602 PASS Invalid: "function f() { var a.b = c }"
603 PASS Invalid: "var a.b;" 603 PASS Invalid: "var a.b;"
604 PASS Invalid: "function f() { var a.b; }" 604 PASS Invalid: "function f() { var a.b; }"
605 FAIL e.line should be 1 (of type number). Was undefined (of type undefined). 605 FAIL e.line should be 1 (of type number). Was undefined (of type undefined).
606 PASS foo is 'PASS' 606 PASS foo is 'PASS'
607 PASS bar is 'PASS' 607 PASS bar is 'PASS'
608 PASS successfullyParsed is true 608 PASS successfullyParsed is true
609 609
610 TEST COMPLETE 610 TEST COMPLETE
611 611
OLDNEW
« no previous file with comments | « test/mjsunit/for-in.js ('k') | test/webkit/function-declaration-statement.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698