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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector/sources/debugger/debugger-scope-resolve-this.html

Issue 2493373002: DevTools: rename WebInspector into modules. (Closed)
Patch Set: for bots Created 4 years, 1 month 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 <html> 1 <html>
2 <head> 2 <head>
3 <script src="../../../http/tests/inspector/inspector-test.js"></script> 3 <script src="../../../http/tests/inspector/inspector-test.js"></script>
4 <script src="../../../http/tests/inspector/debugger-test.js"></script> 4 <script src="../../../http/tests/inspector/debugger-test.js"></script>
5 <script src="resources/resolve-this.js"></script> 5 <script src="resources/resolve-this.js"></script>
6 <script> 6 <script>
7 function test() 7 function test()
8 { 8 {
9 Runtime.experiments.enableForTest("resolveVariableNames"); 9 Runtime.experiments.enableForTest("resolveVariableNames");
10 10
11 InspectorTest.waitForScriptSource("resolve-this.ts", onSourceMapLoaded); 11 InspectorTest.waitForScriptSource("resolve-this.ts", onSourceMapLoaded);
12 12
13 function onSourceMapLoaded() 13 function onSourceMapLoaded()
14 { 14 {
15 InspectorTest.startDebuggerTest(() => InspectorTest.runTestFunctionAndWa itUntilPaused()); 15 InspectorTest.startDebuggerTest(() => InspectorTest.runTestFunctionAndWa itUntilPaused());
16 InspectorTest.addSniffer(WebInspector.ScopeChainSidebarPane.prototype, " _sidebarPaneUpdatedForTest", onSidebarRendered, true); 16 InspectorTest.addSniffer(Sources.ScopeChainSidebarPane.prototype, "_side barPaneUpdatedForTest", onSidebarRendered, true);
17 } 17 }
18 18
19 function onSidebarRendered() 19 function onSidebarRendered()
20 { 20 {
21 InspectorTest.expandScopeVariablesSidebarPane(onSidebarsExpanded); 21 InspectorTest.expandScopeVariablesSidebarPane(onSidebarsExpanded);
22 } 22 }
23 23
24 function onSidebarsExpanded() 24 function onSidebarsExpanded()
25 { 25 {
26 InspectorTest.addResult(""); 26 InspectorTest.addResult("");
27 InspectorTest.dumpScopeVariablesSidebarPane(); 27 InspectorTest.dumpScopeVariablesSidebarPane();
28 InspectorTest.completeDebuggerTest(); 28 InspectorTest.completeDebuggerTest();
29 } 29 }
30 } 30 }
31 31
32 </script> 32 </script>
33 </head> 33 </head>
34 34
35 <body onload="runTest()"> 35 <body onload="runTest()">
36 <p> 36 <p>
37 Tests resolving this object name via source maps. 37 Tests resolving this object name via source maps.
38 </p> 38 </p>
39 </body> 39 </body>
40 </html> 40 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698