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

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

Issue 1511043002: [DevTools] Evaluate expression like { ... } as Object Literal (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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 | « no previous file | third_party/WebKit/LayoutTests/inspector/console/console-eval-object-literal-expected.txt » ('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 <html>
2 <head>
3 <script src="../../http/tests/inspector/inspector-test.js"></script>
4 <script src="../../http/tests/inspector/console-test.js"></script>
5 <script>
6 function test()
7 {
8 var commands = ["{a:1, b:2}", "{a:1}", "{var a = 1; eval(\"{a :1, b:2 }\");} ", "{ for (var i = 0; i < 5; ++i); }"];
9 var current = -1;
10 loopOverCommands();
11 function loopOverCommands()
12 {
13 ++current;
14 if (current < commands.length) {
15 InspectorTest.evaluateInConsole(commands[current], loopOverCommands) ;
16 } else {
17 InspectorTest.dumpConsoleMessagesIgnoreErrorStackFrames();
18 InspectorTest.completeTest();
19 }
20 }
21 }
22 </script>
23 </head>
24 <body onload="runTest()">
25 <p>
26 Tests that evaluating object literal in the console correctly reported.
27 </p>
28 </body>
29 </html>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/inspector/console/console-eval-object-literal-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698