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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector/sources/debugger/debugger-es6-harmony-scopes.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> 5 <script>
6 "use strict"; 6 "use strict";
7 7
8 let globalLet = 41; 8 let globalLet = 41;
9 const globalConst = 42; 9 const globalConst = 42;
10 10
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 var f = makeClosure("TextParam"); 44 var f = makeClosure("TextParam");
45 f(2014); 45 f(2014);
46 } 46 }
47 47
48 function test() 48 function test()
49 { 49 {
50 InspectorTest.startDebuggerTest(onTestStarted); 50 InspectorTest.startDebuggerTest(onTestStarted);
51 51
52 function onTestStarted() 52 function onTestStarted()
53 { 53 {
54 InspectorTest.addSniffer(WebInspector.ScopeChainSidebarPane.prototype, " _sidebarPaneUpdatedForTest", onSidebarRendered, true); 54 InspectorTest.addSniffer(Sources.ScopeChainSidebarPane.prototype, "_side barPaneUpdatedForTest", onSidebarRendered, true);
55 InspectorTest.runTestFunctionAndWaitUntilPaused(() => {}); 55 InspectorTest.runTestFunctionAndWaitUntilPaused(() => {});
56 } 56 }
57 57
58 function onSidebarRendered() 58 function onSidebarRendered()
59 { 59 {
60 InspectorTest.expandScopeVariablesSidebarPane(onScopeVariablesExpanded); 60 InspectorTest.expandScopeVariablesSidebarPane(onScopeVariablesExpanded);
61 } 61 }
62 62
63 function onScopeVariablesExpanded() 63 function onScopeVariablesExpanded()
64 { 64 {
65 InspectorTest.addResult(""); 65 InspectorTest.addResult("");
66 InspectorTest.dumpScopeVariablesSidebarPane(); 66 InspectorTest.dumpScopeVariablesSidebarPane();
67 InspectorTest.completeDebuggerTest(); 67 InspectorTest.completeDebuggerTest();
68 } 68 }
69 } 69 }
70 70
71 </script> 71 </script>
72 </head> 72 </head>
73 73
74 <body onload="runTest()"> 74 <body onload="runTest()">
75 <input type='button' onclick='testFunction()' value='Test'/> 75 <input type='button' onclick='testFunction()' value='Test'/>
76 <p> 76 <p>
77 Tests ES6 harmony scope sections. 77 Tests ES6 harmony scope sections.
78 </p> 78 </p>
79 </body> 79 </body>
80 </html> 80 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698