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

Side by Side Diff: LayoutTests/fast/js/const-expected.txt

Issue 66113002: Partial revert of r161493. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: merge to ToT Created 7 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 | Annotate | Revision Log
OLDNEW
1 CONSOLE ERROR: line 1: Uncaught TypeError: var 'bar' has already been declared 1 CONSOLE ERROR: line 1: Uncaught TypeError: var 'bar' has already been declared
2 This test checks that const declarations in JavaScript work and are readonly. 2 This test checks that const declarations in JavaScript work and are readonly.
3 3
4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
5 5
6 6
7 PASS const redef='a'; const redef='a'; threw exception TypeError: const 'redef' has already been declared. 7 PASS const redef='a'; const redef='a'; threw exception TypeError: const 'redef' has already been declared.
8 PASS x is "RIGHT" 8 PASS x is "RIGHT"
9 PASS y is "RIGHT" 9 PASS y is "RIGHT"
10 PASS a is 1 10 PASS a is 1
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 PASS one is 1 45 PASS one is 1
46 PASS one = 2 is 2 46 PASS one = 2 is 2
47 PASS one is 1 47 PASS one is 1
48 PASS object.inWith1 is 'RIGHT' 48 PASS object.inWith1 is 'RIGHT'
49 PASS inWith2 is 'RIGHT' 49 PASS inWith2 is 'RIGHT'
50 PASS (function(){ one = 2; return one; })() is 1 50 PASS (function(){ one = 2; return one; })() is 1
51 PASS f() is f 51 PASS f() is f
52 PASS const a; is undefined 52 PASS const a; is undefined
53 FAIL bodyId should be [object HTMLBodyElement] (of type object). Was Const initi aliser overwrote existing property (of type string). 53 FAIL bodyId should be [object HTMLBodyElement] (of type object). Was Const initi aliser overwrote existing property (of type string).
54 PASS ranConstInitialiser is true 54 PASS ranConstInitialiser is true
55 FAIL successfullyParsed should be true. Was false. 55 FAIL successfullyParsed should be true (of type boolean). Was undefined (of type undefined).
56 56
57 TEST COMPLETE 57 TEST COMPLETE
58 58
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698