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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector/console/console-eval-object-literal-expected.txt

Issue 1617393002: [DevTools] Not use with statement for evaluated console command (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix $1-$4, $_ 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 Tests that evaluating object literal in the console correctly reported. 1 Tests that evaluating object literal in the console correctly reported.
2 2
3 {a:1, b:2} 3 {a:1, b:2}
4 Object {a: 1, b: 2} 4 Object {a: 1, b: 2}
5 {a:1} 5 {a:1}
6 Object {a: 1} 6 Object {a: 1}
7 {var a = 1; eval("{a :1, b:2 }");} 7 {var a = 1; eval("{a :1, b:2 }");}
8 VM:2 Uncaught SyntaxError: Unexpected identifier(…) 8 VM:1 Uncaught SyntaxError: Unexpected identifier(…)
9 { for (var i = 0; i < 5; ++i); } 9 { for (var i = 0; i < 5; ++i); }
10 VM:2 Uncaught SyntaxError: Unexpected token var(…) 10 VM:1 Uncaught SyntaxError: Unexpected token var(…)
11 11
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698