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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector/sources/debugger/debugger-scope-resolve-identifiers.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-identifiers.js"></script> 5 <script src="resources/resolve-identifiers.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 InspectorTest.waitForScriptSource("resolve-identifiers.ts", onSourceMapLoade d); 10 InspectorTest.waitForScriptSource("resolve-identifiers.ts", onSourceMapLoade d);
11 11
12 function onSourceMapLoaded() 12 function onSourceMapLoaded()
13 { 13 {
14 InspectorTest.startDebuggerTest(() => InspectorTest.runTestFunctionAndWa itUntilPaused()); 14 InspectorTest.startDebuggerTest(() => InspectorTest.runTestFunctionAndWa itUntilPaused());
15 InspectorTest.addSniffer(WebInspector.SourceMapNamesResolver, "_scopeRes olvedForTest", onAllScopesResolved, true); 15 InspectorTest.addSniffer(Sources.SourceMapNamesResolver, "_scopeResolved ForTest", onAllScopesResolved, true);
16 } 16 }
17 17
18 function onAllScopesResolved() 18 function onAllScopesResolved()
19 { 19 {
20 InspectorTest.expandScopeVariablesSidebarPane(onSidebarsExpanded); 20 InspectorTest.expandScopeVariablesSidebarPane(onSidebarsExpanded);
21 } 21 }
22 22
23 function onSidebarsExpanded() 23 function onSidebarsExpanded()
24 { 24 {
25 InspectorTest.addResult(""); 25 InspectorTest.addResult("");
26 InspectorTest.dumpScopeVariablesSidebarPane(); 26 InspectorTest.dumpScopeVariablesSidebarPane();
27 InspectorTest.completeDebuggerTest(); 27 InspectorTest.completeDebuggerTest();
28 } 28 }
29 } 29 }
30 30
31 </script> 31 </script>
32 </head> 32 </head>
33 33
34 <body onload="runTest()"> 34 <body onload="runTest()">
35 <p> 35 <p>
36 Tests resolving variable names via source maps. 36 Tests resolving variable names via source maps.
37 </p> 37 </p>
38 </body> 38 </body>
39 </html> 39 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698