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

Side by Side Diff: test/webkit/fast/js/function-toString-parentheses-expected.txt

Issue 1571873004: Ship ES2015 sloppy-mode const semantics (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Associate with --harmony-shipping Created 4 years, 11 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
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 494 matching lines...) Expand 10 before | Expand all | Expand 10 after
505 PASS compileAndSerializeLeftmostTest('(function () { })()') is '(function () { } )()' 505 PASS compileAndSerializeLeftmostTest('(function () { })()') is '(function () { } )()'
506 PASS compileAndSerializeLeftmostTest('x = function () { }') is 'x = function () { }' 506 PASS compileAndSerializeLeftmostTest('x = function () { }') is 'x = function () { }'
507 PASS compileAndSerializeLeftmostTest('var a') is 'var a' 507 PASS compileAndSerializeLeftmostTest('var a') is 'var a'
508 PASS compileAndSerializeLeftmostTest('var a = 1') is 'var a = 1' 508 PASS compileAndSerializeLeftmostTest('var a = 1') is 'var a = 1'
509 PASS compileAndSerializeLeftmostTest('var a, b') is 'var a, b' 509 PASS compileAndSerializeLeftmostTest('var a, b') is 'var a, b'
510 PASS compileAndSerializeLeftmostTest('var a = 1, b = 2') is 'var a = 1, b = 2' 510 PASS compileAndSerializeLeftmostTest('var a = 1, b = 2') is 'var a = 1, b = 2'
511 PASS compileAndSerializeLeftmostTest('var a, b, c') is 'var a, b, c' 511 PASS compileAndSerializeLeftmostTest('var a, b, c') is 'var a, b, c'
512 PASS compileAndSerializeLeftmostTest('var a = 1, b = 2, c = 3') is 'var a = 1, b = 2, c = 3' 512 PASS compileAndSerializeLeftmostTest('var a = 1, b = 2, c = 3') is 'var a = 1, b = 2, c = 3'
513 PASS compileAndSerializeLeftmostTest('const a = 1') is 'const a = 1' 513 PASS compileAndSerializeLeftmostTest('const a = 1') is 'const a = 1'
514 PASS compileAndSerializeLeftmostTest('const a = (1, 2)') is 'const a = (1, 2)' 514 PASS compileAndSerializeLeftmostTest('const a = (1, 2)') is 'const a = (1, 2)'
515 PASS compileAndSerializeLeftmostTest('const a, b = 1') is 'const a, b = 1' 515 FAIL compileAndSerializeLeftmostTest('const a, b = 1') should be const a, b = 1. Threw exception SyntaxError: Missing initializer in const declaration
516 PASS compileAndSerializeLeftmostTest('const a = 1, b') is 'const a = 1, b' 516 FAIL compileAndSerializeLeftmostTest('const a = 1, b') should be const a = 1, b. Threw exception SyntaxError: Missing initializer in const declaration
517 PASS compileAndSerializeLeftmostTest('const a = 1, b = 1') is 'const a = 1, b = 1' 517 PASS compileAndSerializeLeftmostTest('const a = 1, b = 1') is 'const a = 1, b = 1'
518 PASS compileAndSerializeLeftmostTest('const a = (1, 2), b = 1') is 'const a = (1 , 2), b = 1' 518 PASS compileAndSerializeLeftmostTest('const a = (1, 2), b = 1') is 'const a = (1 , 2), b = 1'
519 PASS compileAndSerializeLeftmostTest('const a = 1, b = (1, 2)') is 'const a = 1, b = (1, 2)' 519 PASS compileAndSerializeLeftmostTest('const a = 1, b = (1, 2)') is 'const a = 1, b = (1, 2)'
520 PASS compileAndSerializeLeftmostTest('const a = (1, 2), b = (1, 2)') is 'const a = (1, 2), b = (1, 2)' 520 PASS compileAndSerializeLeftmostTest('const a = (1, 2), b = (1, 2)') is 'const a = (1, 2), b = (1, 2)'
521 PASS compileAndSerialize('(function () { new (a.b()).c })') is '(function () { n ew (a.b()).c })' 521 PASS compileAndSerialize('(function () { new (a.b()).c })') is '(function () { n ew (a.b()).c })'
522 PASS successfullyParsed is true 522 PASS successfullyParsed is true
523 523
524 TEST COMPLETE 524 TEST COMPLETE
525 525
OLDNEW
« no previous file with comments | « test/webkit/fast/js/arguments-expected.txt ('k') | test/webkit/fast/js/parser-syntax-check-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698