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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector/sources/debugger/debugger-scope-minified-variables.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-variable-names-compressed.js"></script> 5 <script src="resources/resolve-variable-names-compressed.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-variable-names-origin.js", onSour ceMapLoaded); 10 InspectorTest.waitForScriptSource("resolve-variable-names-origin.js", onSour ceMapLoaded);
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", onScopeResolved, true); 15 InspectorTest.addSniffer(Sources.SourceMapNamesResolver, "_scopeResolved ForTest", onScopeResolved, true);
16 } 16 }
17 17
18 var resolvedScopes = 0; 18 var resolvedScopes = 0;
19 function onScopeResolved() 19 function onScopeResolved()
20 { 20 {
21 if (++resolvedScopes === 2) 21 if (++resolvedScopes === 2)
22 onAllScopesResolved(); 22 onAllScopesResolved();
23 } 23 }
24 24
25 function onAllScopesResolved() 25 function onAllScopesResolved()
(...skipping 11 matching lines...) Expand all
37 37
38 </script> 38 </script>
39 </head> 39 </head>
40 40
41 <body onload="runTest()"> 41 <body onload="runTest()">
42 <p> 42 <p>
43 Tests resolving variable names via source maps. 43 Tests resolving variable names via source maps.
44 </p> 44 </p>
45 </body> 45 </body>
46 </html> 46 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698