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

Side by Side Diff: test/mjsunit/bugs/bug-2728.js

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
OLDNEW
(Empty)
1 // Copyright 2016 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 // from test/webkit/fast/js/kde/parse.js
6 assertThrows("function test() { while(0) break lab; } lab: 1");
7 assertThrows("function test() { while(0) continue lab; } lab: 1");
8 assertThrows("function test() { while(0) break lab } lab: 1");
9 assertThrows("function test() { while(0) continue lab } lab: 1");
10
11 // from test/webkit/fast/js/parser-syntax-check.js
12 assertThrows("break ; break your_limits ; continue ; continue living ; debugger" );
13 assertThrows("function f() { break ; break your_limits ; continue ; continue liv ing ; debugger }");
14 assertThrows("try { break } catch(e) {}");
15 assertThrows("function f() { try { break } catch(e) {} }");
16 assertThrows("L: L: ;");
17 assertThrows("function f() { L: L: ; }");
18 assertThrows("L: L1: L: ;");
19 assertThrows("function f() { L: L1: L: ; }");
20 assertThrows("L: L1: L2: L3: L4: L: ;");
21 assertThrows("function f() { L: L1: L2: L3: L4: L: ; }");
OLDNEW
« no previous file with comments | « test/message/for-loop-invalid-lhs.out ('k') | test/mjsunit/eagerly-parsed-lazily-compiled-functions.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698