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

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

Issue 2513563002: Remove FLAG_min_preparse_length. (Closed)
Patch Set: test262 expectations Created 4 years, 1 month 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/parser-syntax-check.js ('k') | tools/parser-shell.cc » ('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 270 matching lines...) Expand 10 before | Expand all | Expand 10 after
281 PASS Invalid: "do g; while 4" 281 PASS Invalid: "do g; while 4"
282 PASS Invalid: "function f() { do g; while 4 }" 282 PASS Invalid: "function f() { do g; while 4 }"
283 PASS Invalid: "do g; while ((4)" 283 PASS Invalid: "do g; while ((4)"
284 PASS Invalid: "function f() { do g; while ((4) }" 284 PASS Invalid: "function f() { do g; while ((4) }"
285 PASS Valid: "{ { do do do ; while(0) while(0) while(0) } }" 285 PASS Valid: "{ { do do do ; while(0) while(0) while(0) } }"
286 PASS Valid: "function f() { { { do do do ; while(0) while(0) while(0) } } }" 286 PASS Valid: "function f() { { { do do do ; while(0) while(0) while(0) } } }"
287 PASS Valid: "do while (0) if (a) {} else y; while(0)" 287 PASS Valid: "do while (0) if (a) {} else y; while(0)"
288 PASS Valid: "function f() { do while (0) if (a) {} else y; while(0) }" 288 PASS Valid: "function f() { do while (0) if (a) {} else y; while(0) }"
289 PASS Valid: "if (a) while (b) if (c) with(d) {} else e; else f" 289 PASS Valid: "if (a) while (b) if (c) with(d) {} else e; else f"
290 PASS Valid: "function f() { if (a) while (b) if (c) with(d) {} else e; else f }" 290 PASS Valid: "function f() { if (a) while (b) if (c) with(d) {} else e; else f }"
291 PASS Invalid: "break ; break your_limits ; continue ; continue living ; debugger "
292 PASS Invalid: "function f() { break ; break your_limits ; continue ; continue li ving ; debugger }"
293 PASS Invalid: "debugger X" 291 PASS Invalid: "debugger X"
294 PASS Invalid: "function f() { debugger X }" 292 PASS Invalid: "function f() { debugger X }"
295 PASS Invalid: "break 0.2" 293 PASS Invalid: "break 0.2"
296 PASS Invalid: "function f() { break 0.2 }" 294 PASS Invalid: "function f() { break 0.2 }"
297 PASS Invalid: "continue a++" 295 PASS Invalid: "continue a++"
298 PASS Invalid: "function f() { continue a++ }" 296 PASS Invalid: "function f() { continue a++ }"
299 PASS Invalid: "continue (my_friend)" 297 PASS Invalid: "continue (my_friend)"
300 PASS Invalid: "function f() { continue (my_friend) }" 298 PASS Invalid: "function f() { continue (my_friend) }"
301 PASS Valid: "while (1) break" 299 PASS Valid: "while (1) break"
302 PASS Valid: "function f() { while (1) break }" 300 PASS Valid: "function f() { while (1) break }"
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
468 PASS Invalid: "function f() { for (var a, b = 8 in b) break }" 466 PASS Invalid: "function f() { for (var a, b = 8 in b) break }"
469 PASS Valid: "for (var a = (b in c) in d) break" 467 PASS Valid: "for (var a = (b in c) in d) break"
470 PASS Valid: "function f() { for (var a = (b in c) in d) break }" 468 PASS Valid: "function f() { for (var a = (b in c) in d) break }"
471 PASS Invalid: "for (var a = (b in c in d) break" 469 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 }" 470 PASS Invalid: "function f() { for (var a = (b in c in d) break }"
473 PASS Invalid: "for (var (a) in b) { }" 471 PASS Invalid: "for (var (a) in b) { }"
474 PASS Invalid: "function f() { for (var (a) in b) { } }" 472 PASS Invalid: "function f() { for (var (a) in b) { } }"
475 PASS Valid: "for (var a = 7, b = c < d >= d ; f()[6]++ ; --i()[1]++ ) {}" 473 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]++ ) {} }" 474 PASS Valid: "function f() { for (var a = 7, b = c < d >= d ; f()[6]++ ; --i()[ 1]++ ) {} }"
477 try statement 475 try statement
478 PASS Invalid: "try { break } catch(e) {}"
479 PASS Invalid: "function f() { try { break } catch(e) {} }"
480 PASS Valid: "try {} finally { c++ }" 476 PASS Valid: "try {} finally { c++ }"
481 PASS Valid: "function f() { try {} finally { c++ } }" 477 PASS Valid: "function f() { try {} finally { c++ } }"
482 PASS Valid: "try { with (x) { } } catch(e) {} finally { if (a) ; }" 478 PASS Valid: "try { with (x) { } } catch(e) {} finally { if (a) ; }"
483 PASS Valid: "function f() { try { with (x) { } } catch(e) {} finally { if (a) ; } }" 479 PASS Valid: "function f() { try { with (x) { } } catch(e) {} finally { if (a) ; } }"
484 PASS Invalid: "try {}" 480 PASS Invalid: "try {}"
485 PASS Invalid: "function f() { try {} }" 481 PASS Invalid: "function f() { try {} }"
486 PASS Invalid: "catch(e) {}" 482 PASS Invalid: "catch(e) {}"
487 PASS Invalid: "function f() { catch(e) {} }" 483 PASS Invalid: "function f() { catch(e) {} }"
488 PASS Invalid: "finally {}" 484 PASS Invalid: "finally {}"
489 PASS Invalid: "function f() { finally {} }" 485 PASS Invalid: "function f() { finally {} }"
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
547 PASS Valid: "switch (sw) { case a ? b - 7[1] ? [c,,] : d = 6 : { } : }" 543 PASS Valid: "switch (sw) { case a ? b - 7[1] ? [c,,] : d = 6 : { } : }"
548 PASS Valid: "function f() { switch (sw) { case a ? b - 7[1] ? [c,,] : d = 6 : { } : } }" 544 PASS Valid: "function f() { switch (sw) { case a ? b - 7[1] ? [c,,] : d = 6 : { } : } }"
549 PASS Invalid: "switch (l) { case b ? c : }" 545 PASS Invalid: "switch (l) { case b ? c : }"
550 PASS Invalid: "function f() { switch (l) { case b ? c : } }" 546 PASS Invalid: "function f() { switch (l) { case b ? c : } }"
551 PASS Valid: "switch (l) { case 1: a: with(g) switch (g) { case 2: default: } d efault: }" 547 PASS Valid: "switch (l) { case 1: a: with(g) switch (g) { case 2: default: } d efault: }"
552 PASS Valid: "function f() { switch (l) { case 1: a: with(g) switch (g) { case 2: default: } default: } }" 548 PASS Valid: "function f() { switch (l) { case 1: a: with(g) switch (g) { case 2: default: } default: } }"
553 PASS Invalid: "switch (4 - ) { }" 549 PASS Invalid: "switch (4 - ) { }"
554 PASS Invalid: "function f() { switch (4 - ) { } }" 550 PASS Invalid: "function f() { switch (4 - ) { } }"
555 PASS Invalid: "switch (l) { default case: 5; }" 551 PASS Invalid: "switch (l) { default case: 5; }"
556 PASS Invalid: "function f() { switch (l) { default case: 5; } }" 552 PASS Invalid: "function f() { switch (l) { default case: 5; } }"
557 PASS Invalid: "L: L: ;"
558 PASS Invalid: "function f() { L: L: ; }"
559 PASS Invalid: "L: L1: L: ;"
560 PASS Invalid: "function f() { L: L1: L: ; }"
561 PASS Invalid: "L: L1: L2: L3: L4: L: ;"
562 PASS Invalid: "function f() { L: L1: L2: L3: L4: L: ; }"
563 PASS Invalid: "for(var a,b 'this shouldn't be allowed' false ; ) ;" 553 PASS Invalid: "for(var a,b 'this shouldn't be allowed' false ; ) ;"
564 PASS Invalid: "function f() { for(var a,b 'this shouldn't be allowed' false ; ) ; }" 554 PASS Invalid: "function f() { for(var a,b 'this shouldn't be allowed' false ; ) ; }"
565 PASS Invalid: "for(var a,b '" 555 PASS Invalid: "for(var a,b '"
566 PASS Invalid: "function f() { for(var a,b ' }" 556 PASS Invalid: "function f() { for(var a,b ' }"
567 PASS Valid: "function __proto__(){}" 557 PASS Valid: "function __proto__(){}"
568 PASS Valid: "function f() { function __proto__(){} }" 558 PASS Valid: "function f() { function __proto__(){} }"
569 PASS Valid: "(function __proto__(){})" 559 PASS Valid: "(function __proto__(){})"
570 PASS Valid: "function f() { (function __proto__(){}) }" 560 PASS Valid: "function f() { (function __proto__(){}) }"
571 PASS Valid: "'use strict'; function __proto__(){}" 561 PASS Valid: "'use strict'; function __proto__(){}"
572 PASS Valid: "function f() { 'use strict'; function __proto__(){} }" 562 PASS Valid: "function f() { 'use strict'; function __proto__(){} }"
(...skipping 29 matching lines...) Expand all
602 PASS Invalid: "function f() { var a.b = c }" 592 PASS Invalid: "function f() { var a.b = c }"
603 PASS Invalid: "var a.b;" 593 PASS Invalid: "var a.b;"
604 PASS Invalid: "function f() { var a.b; }" 594 PASS Invalid: "function f() { var a.b; }"
605 FAIL e.line should be 1 (of type number). Was undefined (of type undefined). 595 FAIL e.line should be 1 (of type number). Was undefined (of type undefined).
606 PASS foo is 'PASS' 596 PASS foo is 'PASS'
607 PASS bar is 'PASS' 597 PASS bar is 'PASS'
608 PASS successfullyParsed is true 598 PASS successfullyParsed is true
609 599
610 TEST COMPLETE 600 TEST COMPLETE
611 601
OLDNEW
« no previous file with comments | « test/webkit/fast/js/parser-syntax-check.js ('k') | tools/parser-shell.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698