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

Side by Side Diff: test/webkit/class-syntax-semicolon-expected.txt

Issue 1109783003: Import JSC class tests (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: git rebase Created 5 years, 7 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/webkit/class-syntax-semicolon.js ('k') | test/webkit/class-syntax-super.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 Tests for ES6 class syntax containing semicolon in the class body
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6 PASS class A { foo;() { } } threw exception SyntaxError: Unexpected token ;.
7 PASS class A { foo() ; { } } threw exception SyntaxError: Unexpected token ;.
8 PASS class A { get ; foo() { } } threw exception SyntaxError: Unexpected token ; .
9 PASS class A { get foo;() { } } threw exception SyntaxError: Unexpected token ;.
10 PASS class A { get foo() ; { } } threw exception SyntaxError: Unexpected token ; .
11 PASS class A { set ; foo(x) { } } threw exception SyntaxError: Unexpected token ;.
12 PASS class A { set foo;(x) { } } threw exception SyntaxError: Unexpected token ; .
13 PASS class A { set foo(x) ; { } } threw exception SyntaxError: Unexpected token ;.
14 PASS class A { ; } did not throw exception.
15 PASS class A { foo() { } ; } did not throw exception.
16 PASS class A { get foo() { } ; } did not throw exception.
17 PASS class A { set foo(x) { } ; } did not throw exception.
18 PASS class A { static foo() { } ; } did not throw exception.
19 PASS class A { static get foo() { } ; } did not throw exception.
20 PASS class A { static set foo(x) { } ; } did not throw exception.
21 PASS class A { ; foo() { } } did not throw exception.
22 PASS class A { ; get foo() { } } did not throw exception.
23 PASS class A { ; set foo(x) { } } did not throw exception.
24 PASS class A { ; static foo() { } } did not throw exception.
25 PASS class A { ; static get foo() { } } did not throw exception.
26 PASS class A { ; static set foo(x) { } } did not throw exception.
27 PASS class A { foo() { } ; foo() {} } did not throw exception.
28 PASS class A { foo() { } ; get foo() {} } did not throw exception.
29 PASS class A { foo() { } ; set foo(x) {} } did not throw exception.
30 PASS class A { foo() { } ; static foo() {} } did not throw exception.
31 PASS class A { foo() { } ; static get foo() {} } did not throw exception.
32 PASS class A { foo() { } ; static set foo(x) {} } did not throw exception.
33 PASS class A { get foo() { } ; foo() {} } did not throw exception.
34 PASS class A { get foo() { } ; get foo() {} } did not throw exception.
35 PASS class A { get foo() { } ; set foo(x) {} } did not throw exception.
36 PASS class A { get foo() { } ; static foo() {} } did not throw exception.
37 PASS class A { get foo() { } ; static get foo() {} } did not throw exception.
38 PASS class A { get foo() { } ; static set foo(x) {} } did not throw exception.
39 PASS class A { set foo(x) { } ; foo() {} } did not throw exception.
40 PASS class A { set foo(x) { } ; get foo() {} } did not throw exception.
41 PASS class A { set foo(x) { } ; set foo(x) {} } did not throw exception.
42 PASS class A { set foo(x) { } ; static foo() {} } did not throw exception.
43 PASS class A { set foo(x) { } ; static get foo() {} } did not throw exception.
44 PASS class A { set foo(x) { } ; static set foo(x) {} } did not throw exception.
45 PASS class A { static foo() { } ; foo() {} } did not throw exception.
46 PASS class A { static foo() { } ; get foo() {} } did not throw exception.
47 PASS class A { static foo() { } ; set foo(x) {} } did not throw exception.
48 PASS class A { static foo() { } ; static foo() {} } did not throw exception.
49 PASS class A { static foo() { } ; static get foo() {} } did not throw exception.
50 PASS class A { static foo() { } ; static set foo(x) {} } did not throw exception .
51 PASS class A { static get foo() { } ; foo() {} } did not throw exception.
52 PASS class A { static get foo() { } ; get foo() {} } did not throw exception.
53 PASS class A { static get foo() { } ; set foo(x) {} } did not throw exception.
54 PASS class A { static get foo() { } ; static foo() {} } did not throw exception.
55 PASS class A { static get foo() { } ; static get foo() {} } did not throw except ion.
56 PASS class A { static get foo() { } ; static set foo(x) {} } did not throw excep tion.
57 PASS class A { static set foo(x) { } ; foo() {} } did not throw exception.
58 PASS class A { static set foo(x) { } ; get foo() {} } did not throw exception.
59 PASS class A { static set foo(x) { } ; set foo(x) {} } did not throw exception.
60 PASS class A { static set foo(x) { } ; static foo() {} } did not throw exception .
61 PASS class A { static set foo(x) { } ; static get foo() {} } did not throw excep tion.
62 PASS class A { static set foo(x) { } ; static set foo(x) {} } did not throw exce ption.
63 PASS successfullyParsed is true
64
65 TEST COMPLETE
OLDNEW
« no previous file with comments | « test/webkit/class-syntax-semicolon.js ('k') | test/webkit/class-syntax-super.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698