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

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

Issue 2638513002: Enable --harmony-trailing-commas (Closed)
Patch Set: put the harmony flag back into the harmony test Created 3 years, 10 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/test262/test262.status ('k') | no next file » | 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 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 PASS Valid: "s: l: a[2](4 == 6, 5 = 6)(f[4], 6)" 136 PASS Valid: "s: l: a[2](4 == 6, 5 = 6)(f[4], 6)"
137 PASS Valid: "function f() { s: l: a[2](4 == 6, 5 = 6)(f[4], 6) }" 137 PASS Valid: "function f() { s: l: a[2](4 == 6, 5 = 6)(f[4], 6) }"
138 PASS Valid: "s: eval(a.apply(), b.call(c[5] - f[7]))" 138 PASS Valid: "s: eval(a.apply(), b.call(c[5] - f[7]))"
139 PASS Valid: "function f() { s: eval(a.apply(), b.call(c[5] - f[7])) }" 139 PASS Valid: "function f() { s: eval(a.apply(), b.call(c[5] - f[7])) }"
140 PASS Invalid: "a(" 140 PASS Invalid: "a("
141 PASS Invalid: "function f() { a( }" 141 PASS Invalid: "function f() { a( }"
142 PASS Invalid: "a(5" 142 PASS Invalid: "a(5"
143 PASS Invalid: "function f() { a(5 }" 143 PASS Invalid: "function f() { a(5 }"
144 PASS Invalid: "a(5," 144 PASS Invalid: "a(5,"
145 PASS Invalid: "function f() { a(5, }" 145 PASS Invalid: "function f() { a(5, }"
146 PASS Invalid: "a(5,)" 146 FAIL Invalid: "a(5,)" should throw undefined
147 PASS Invalid: "function f() { a(5,) }" 147 FAIL Invalid: "function f() { a(5,) }" should throw undefined
148 PASS Invalid: "a(5,6" 148 PASS Invalid: "a(5,6"
149 PASS Invalid: "function f() { a(5,6 }" 149 PASS Invalid: "function f() { a(5,6 }"
150 PASS Valid: "a(b[7], c <d> e.l, new a() > b)" 150 PASS Valid: "a(b[7], c <d> e.l, new a() > b)"
151 PASS Valid: "function f() { a(b[7], c <d> e.l, new a() > b) }" 151 PASS Valid: "function f() { a(b[7], c <d> e.l, new a() > b) }"
152 PASS Invalid: "a(b[5)" 152 PASS Invalid: "a(b[5)"
153 PASS Invalid: "function f() { a(b[5) }" 153 PASS Invalid: "function f() { a(b[5) }"
154 PASS Invalid: "a(b.)" 154 PASS Invalid: "a(b.)"
155 PASS Invalid: "function f() { a(b.) }" 155 PASS Invalid: "function f() { a(b.) }"
156 PASS Valid: "~new new a(1)(i++)(c[l])" 156 PASS Valid: "~new new a(1)(i++)(c[l])"
157 PASS Valid: "function f() { ~new new a(1)(i++)(c[l]) }" 157 PASS Valid: "function f() { ~new new a(1)(i++)(c[l]) }"
(...skipping 13 matching lines...) Expand all
171 PASS Invalid: "function f() { a(.length) }" 171 PASS Invalid: "function f() { a(.length) }"
172 function declaration and expression 172 function declaration and expression
173 PASS Valid: "function f() {}" 173 PASS Valid: "function f() {}"
174 PASS Valid: "function f() { function f() {} }" 174 PASS Valid: "function f() { function f() {} }"
175 PASS Valid: "function f(a,b) {}" 175 PASS Valid: "function f(a,b) {}"
176 PASS Valid: "function f() { function f(a,b) {} }" 176 PASS Valid: "function f() { function f(a,b) {} }"
177 PASS Invalid: "function () {}" 177 PASS Invalid: "function () {}"
178 PASS Invalid: "function f() { function () {} }" 178 PASS Invalid: "function f() { function () {} }"
179 PASS Invalid: "function f(a b) {}" 179 PASS Invalid: "function f(a b) {}"
180 PASS Invalid: "function f() { function f(a b) {} }" 180 PASS Invalid: "function f() { function f(a b) {} }"
181 PASS Invalid: "function f(a,) {}" 181 FAIL Invalid: "function f(a,) {}" should throw undefined
182 PASS Invalid: "function f() { function f(a,) {} }" 182 FAIL Invalid: "function f() { function f(a,) {} }" should throw undefined
183 PASS Invalid: "function f(a," 183 PASS Invalid: "function f(a,"
184 PASS Invalid: "function f() { function f(a, }" 184 PASS Invalid: "function f() { function f(a, }"
185 PASS Invalid: "function f(a, 1) {}" 185 PASS Invalid: "function f(a, 1) {}"
186 PASS Invalid: "function f() { function f(a, 1) {} }" 186 PASS Invalid: "function f() { function f(a, 1) {} }"
187 PASS Valid: "function g(arguments, eval) {}" 187 PASS Valid: "function g(arguments, eval) {}"
188 PASS Valid: "function f() { function g(arguments, eval) {} }" 188 PASS Valid: "function f() { function g(arguments, eval) {} }"
189 PASS Valid: "function f() {} + function g() {}" 189 PASS Valid: "function f() {} + function g() {}"
190 PASS Valid: "function f() { function f() {} + function g() {} }" 190 PASS Valid: "function f() { function f() {} + function g() {} }"
191 PASS Invalid: "(function a{})" 191 PASS Invalid: "(function a{})"
192 PASS Invalid: "function f() { (function a{}) }" 192 PASS Invalid: "function f() { (function a{}) }"
(...skipping 399 matching lines...) Expand 10 before | Expand all | Expand 10 after
592 PASS Invalid: "function f() { var a.b = c }" 592 PASS Invalid: "function f() { var a.b = c }"
593 PASS Invalid: "var a.b;" 593 PASS Invalid: "var a.b;"
594 PASS Invalid: "function f() { var a.b; }" 594 PASS Invalid: "function f() { var a.b; }"
595 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).
596 PASS foo is 'PASS' 596 PASS foo is 'PASS'
597 PASS bar is 'PASS' 597 PASS bar is 'PASS'
598 PASS successfullyParsed is true 598 PASS successfullyParsed is true
599 599
600 TEST COMPLETE 600 TEST COMPLETE
601 601
OLDNEW
« no previous file with comments | « test/test262/test262.status ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698