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

Side by Side Diff: LayoutTests/dart/inspector/scope-variables.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: Code review fixes 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="scope-variables.dart"></script> 5 <script type="application/dart" src="scope-variables.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>
11 11
12 <script> 12 <script>
13
13 function postMessageToDart() 14 function postMessageToDart()
14 { 15 {
15 window.postMessage('fromJS', '*'); 16 window.postMessage('fromJS', '*');
16 } 17 }
17 18
18 function test() 19 function test()
19 { 20 {
20 InspectorTest.runDebuggerTestSuite([ 21 InspectorTest.runDebuggerTestSuite([
21 function testScopeChain(next) 22 function testScopeChain(next)
22 { 23 {
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 68
68 function dumpScopeChainContents() 69 function dumpScopeChainContents()
69 { 70 {
70 var sections = WebInspector.inspectorView.currentPanel().sidebarPanes.sc opechain._sections; 71 var sections = WebInspector.inspectorView.currentPanel().sidebarPanes.sc opechain._sections;
71 InspectorTest.addResult(""); 72 InspectorTest.addResult("");
72 InspectorTest.addResult("Dump scope sections:"); 73 InspectorTest.addResult("Dump scope sections:");
73 for (var i = 0; i < sections.length; i++) { 74 for (var i = 0; i < sections.length; i++) {
74 var section = sections[i]; 75 var section = sections[i];
75 var properties = section.propertiesForTest; 76 var properties = section.propertiesForTest;
76 var contents = InspectorTest.textContentWithLineBreaks(section.eleme nt); 77 var contents = InspectorTest.textContentWithLineBreaks(section.eleme nt);
77 InspectorTest.addResult(contents); 78 InspectorTest.addResult(contents.replace(/\(file:\/\/[^)]*\)/g, "(SO URCE_LOCATION)"));
78 } 79 }
79 } 80 }
80 }; 81 };
81 </script> 82 </script>
82 83
83 <body onload="runTest()"> 84 <body onload="runTest()">
85 <div id="example_div">Example div</div>
84 </body> 86 </body>
85 </html> 87 </html>
OLDNEW
« no previous file with comments | « LayoutTests/dart/inspector/scope-variables.dart ('k') | LayoutTests/dart/inspector/scope-variables-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698