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

Side by Side Diff: LayoutTests/dart/inspector/evaluate-in-console.html

Issue 18169002: Improve Dart Debugger performance and robustness by creating Dart wrappers using the standard SetNa… (Closed) Base URL: svn://svn.chromium.org/multivm/trunk/webkit
Patch Set: Checkpoint Created 7 years, 5 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 | Annotate | Revision Log
OLDNEW
1 <html> 1 <html>
2 <script src="../../http/tests/inspector/inspector-test.js"></script> 2 <script src="../../http/tests/inspector/inspector-test.js"></script>
3 <script src="../../http/tests/inspector/debugger-test.js"></script> 3 <script src="../../http/tests/inspector/debugger-test.js"></script>
4 4
5 <script type="application/dart" src="evaluate-in-console.dart"></script> 5 <script type="application/dart" src="evaluate-in-console.dart"></script>
6 6
7 <script> 7 <script>
8 if (window.navigator.webkitStartDart) 8 if (window.navigator.webkitStartDart)
9 navigator.webkitStartDart(); 9 navigator.webkitStartDart();
10 </script> 10 </script>
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 'test.foo', 54 'test.foo',
55 'test.toString()', 55 'test.toString()',
56 'test.toString(1)', 56 'test.toString(1)',
57 'test.create("x").instanceField', 57 'test.create("x").instanceField',
58 'test.concat(test.create("x"), test.create("y"))', 58 'test.concat(test.create("x"), test.create("y"))',
59 // Local variables and functions. 59 // Local variables and functions.
60 '_private', 60 '_private',
61 // Global fields and functions. 61 // Global fields and functions.
62 'globalField', 62 'globalField',
63 'calculateSquareRoot(25)', 63 'calculateSquareRoot(25)',
64 'document.$dom_createElement("div").tagName', 64 'new Element.tag("div").outerHtml',
65 'new Element.tag("div").tagName',
66 //
65 ]; 67 ];
66 evaluate(expressions.shift()); 68 evaluate(expressions.shift());
67 } 69 }
68 }, 70 },
69 71
70 function testPrint(next) 72 function testPrint(next)
71 { 73 {
72 // This shouldn't crash. 74 // This shouldn't crash.
73 InspectorTest.evaluateInConsole('print("foo")', function() 75 InspectorTest.evaluateInConsole('print("foo")', function()
74 { 76 {
75 InspectorTest.resumeExecution(next); 77 InspectorTest.resumeExecution(next);
76 }); 78 });
77 } 79 }
78 ]); 80 ]);
79 }; 81 };
80 </script> 82 </script>
81 83
82 <body onload="runTest()"> 84 <body onload="runTest()">
83 </body> 85 </body>
84 </html> 86 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698