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

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: ready for review 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',
65 ]; 66 ];
66 evaluate(expressions.shift()); 67 evaluate(expressions.shift());
67 } 68 }
68 }, 69 },
69 70
70 function testPrint(next) 71 function testPrint(next)
71 { 72 {
72 // This shouldn't crash. 73 // This shouldn't crash.
73 InspectorTest.evaluateInConsole('print("foo")', function() 74 InspectorTest.evaluateInConsole('print("foo")', function()
74 { 75 {
75 InspectorTest.resumeExecution(next); 76 InspectorTest.resumeExecution(next);
76 }); 77 });
77 } 78 }
78 ]); 79 ]);
79 }; 80 };
80 </script> 81 </script>
81 82
82 <body onload="runTest()"> 83 <body onload="runTest()">
83 </body> 84 </body>
84 </html> 85 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698