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

Side by Side Diff: PerformanceTests/inspector/first-open-elements.html

Issue 206313004: DevTools: Rename WebInspector.DOMAgent into WebInspector.DOMModel (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase on master Created 6 years, 9 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
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 <script src="../../LayoutTests/http/tests/inspector/inspector-test.js"></script> 3 <script src="../../LayoutTests/http/tests/inspector/inspector-test.js"></script>
4 <script src="performance-test.js"></script> 4 <script src="performance-test.js"></script>
5 <script> 5 <script>
6 6
7 function test() 7 function test()
8 { 8 {
9 WebInspector.showPanel("audits"); 9 WebInspector.showPanel("audits");
10 10
11 11
12 function test(timer) 12 function test(timer)
13 { 13 {
14 WebInspector.showPanel("audits"); 14 WebInspector.showPanel("audits");
15 WebInspector.domAgent._setDocument(null); 15 WebInspector.domModel._setDocument(null);
16 16
17 var showPanelTimerCookie = timer.start("first-open-elements"); 17 var showPanelTimerCookie = timer.start("first-open-elements");
18 InspectorTest.addBackendResponseSniffer(DOMAgent, "requestChildNodes", f unction() { 18 InspectorTest.addBackendResponseSniffer(DOMAgent, "requestChildNodes", f unction() {
19 timer.finish(showPanelTimerCookie); 19 timer.finish(showPanelTimerCookie);
20 timer.done("first-open"); 20 timer.done("first-open");
21 }); 21 });
22 WebInspector.showPanel("elements"); 22 WebInspector.showPanel("elements");
23 } 23 }
24 24
25 InspectorTest.runPerformanceTest(test, 5000); 25 InspectorTest.runPerformanceTest(test, 5000);
26 } 26 }
27 27
28 </script> 28 </script>
29 </head> 29 </head>
30 30
31 <body onload="runTest()"> 31 <body onload="runTest()">
32 32
33 <div></div><div></div><div></div><div></div><div></div><div></div><div></div><di v></div><div></div><div></div> 33 <div></div><div></div><div></div><div></div><div></div><div></div><div></div><di v></div><div></div><div></div>
34 <div></div><div></div><div></div><div></div><div></div><div></div><div></div><di v></div><div></div><div></div> 34 <div></div><div></div><div></div><div></div><div></div><div></div><div></div><di v></div><div></div><div></div>
35 <div></div><div></div><div></div><div></div><div></div><div></div><div></div><di v></div><div></div><div></div> 35 <div></div><div></div><div></div><div></div><div></div><div></div><div></div><di v></div><div></div><div></div>
36 <div></div><div></div><div></div><div></div><div></div><div></div><div></div><di v></div><div></div><div></div> 36 <div></div><div></div><div></div><div></div><div></div><div></div><div></div><di v></div><div></div><div></div>
37 <div></div><div></div><div></div><div></div><div></div><div></div><div></div><di v></div><div></div><div></div> 37 <div></div><div></div><div></div><div></div><div></div><div></div><div></div><di v></div><div></div><div></div>
38 <div></div><div></div><div></div><div></div><div></div><div></div><div></div><di v></div><div></div><div></div> 38 <div></div><div></div><div></div><div></div><div></div><div></div><div></div><di v></div><div></div><div></div>
39 39
40 </body> 40 </body>
41 </body> 41 </body>
42 </html> 42 </html>
OLDNEW
« no previous file with comments | « LayoutTests/inspector/layers/layer-compositing-reasons.html ('k') | PerformanceTests/inspector/inspector-startup-time.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698