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

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

Issue 2478883002: Remove always-true --harmony-restrictive-declarations flag (Closed)
Patch Set: Formatting 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
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 290 matching lines...) Expand 10 before | Expand all | Expand 10 after
301 PASS Valid: "while (1) break" 301 PASS Valid: "while (1) break"
302 PASS Valid: "function f() { while (1) break }" 302 PASS Valid: "function f() { while (1) break }"
303 PASS Valid: "do if (a) with (b) continue; else debugger; while (false)" 303 PASS Valid: "do if (a) with (b) continue; else debugger; while (false)"
304 PASS Valid: "function f() { do if (a) with (b) continue; else debugger; while (false) }" 304 PASS Valid: "function f() { do if (a) with (b) continue; else debugger; while (false) }"
305 PASS Invalid: "do if (a) while (false) else debugger" 305 PASS Invalid: "do if (a) while (false) else debugger"
306 PASS Invalid: "function f() { do if (a) while (false) else debugger }" 306 PASS Invalid: "function f() { do if (a) while (false) else debugger }"
307 PASS Invalid: "while if (a) ;" 307 PASS Invalid: "while if (a) ;"
308 PASS Invalid: "function f() { while if (a) ; }" 308 PASS Invalid: "function f() { while if (a) ; }"
309 PASS Valid: "if (a) function f() {} else function g() {}" 309 PASS Valid: "if (a) function f() {} else function g() {}"
310 PASS Valid: "function f() { if (a) function f() {} else function g() {} }" 310 PASS Valid: "function f() { if (a) function f() {} else function g() {} }"
311 PASS Valid: "if (a()) while(0) function f() {} else function g() {}" 311 PASS Invalid: "if (a()) while(0) function f() {} else function g() {}"
312 PASS Valid: "function f() { if (a()) while(0) function f() {} else function g( ) {} }" 312 PASS Invalid: "function f() { if (a()) while(0) function f() {} else function g( ) {} }"
313 PASS Invalid: "if (a()) function f() { else function g() }" 313 PASS Invalid: "if (a()) function f() { else function g() }"
314 PASS Invalid: "function f() { if (a()) function f() { else function g() } }" 314 PASS Invalid: "function f() { if (a()) function f() { else function g() } }"
315 PASS Invalid: "if (a) if (b) ; else function f {}" 315 PASS Invalid: "if (a) if (b) ; else function f {}"
316 PASS Invalid: "function f() { if (a) if (b) ; else function f {} }" 316 PASS Invalid: "function f() { if (a) if (b) ; else function f {} }"
317 PASS Invalid: "if (a) if (b) ; else function (){}" 317 PASS Invalid: "if (a) if (b) ; else function (){}"
318 PASS Invalid: "function f() { if (a) if (b) ; else function (){} }" 318 PASS Invalid: "function f() { if (a) if (b) ; else function (){} }"
319 PASS Valid: "throw a" 319 PASS Valid: "throw a"
320 PASS Valid: "function f() { throw a }" 320 PASS Valid: "function f() { throw a }"
321 PASS Valid: "throw a + b in void c" 321 PASS Valid: "throw a + b in void c"
322 PASS Valid: "function f() { throw a + b in void c }" 322 PASS Valid: "function f() { throw a + b in void c }"
(...skipping 279 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/webkit/fast/js/parser-syntax-check.js ('k') | test/webkit/function-declaration-statement.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698