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

Side by Side Diff: LayoutTests/inspector/initial-modules-load.html

Issue 1151263007: Devtools: Move animation to separate module (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 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 <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> 4 <script>
5 5
6 function test() 6 function test()
7 { 7 {
8 InspectorTest.runTestSuite([ 8 InspectorTest.runTestSuite([
9 function testInitialLoad(next) 9 function testInitialLoad(next)
10 { 10 {
11 InspectorTest.dumpLoadedModules(next); 11 InspectorTest.dumpLoadedModules(next);
12 }, 12 },
13 13
14 function testCreateElementsPanel(next) 14 function testCreateElementsPanel(next)
15 { 15 {
16 WebInspector.inspectorView.panel("elements").then(InspectorTest.dump LoadedModules.bind(InspectorTest, next)); 16 WebInspector.inspectorView.panel("elements").then(InspectorTest.dump LoadedModules.bind(InspectorTest, self.runtime.loadModulePromise("animation").th en(next)));
17 }, 17 },
18 18
19 function testCreateNetworkPanel(next) 19 function testCreateNetworkPanel(next)
20 { 20 {
21 WebInspector.inspectorView.panel("network").then(InspectorTest.dumpL oadedModules.bind(InspectorTest, next)); 21 WebInspector.inspectorView.panel("network").then(InspectorTest.dumpL oadedModules.bind(InspectorTest, next));
22 }, 22 },
23 23
24 function testShowSourcesPanel(next) 24 function testShowSourcesPanel(next)
25 { 25 {
26 WebInspector.inspectorView.panel("sources").then(InspectorTest.dumpL oadedModules.bind(InspectorTest, next)); 26 WebInspector.inspectorView.panel("sources").then(InspectorTest.dumpL oadedModules.bind(InspectorTest, next));
(...skipping 15 matching lines...) Expand all
42 ]); 42 ]);
43 } 43 }
44 44
45 </script> 45 </script>
46 </head> 46 </head>
47 47
48 <body onload="runTest()"> 48 <body onload="runTest()">
49 <p>This test validates initial set of loaded modules.</p> 49 <p>This test validates initial set of loaded modules.</p>
50 </body> 50 </body>
51 </html> 51 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698