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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector/tracing/timeline-paint/update-layer-tree.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 <style> 3 <style>
4 .layer { 4 .layer {
5 position: absolute; 5 position: absolute;
6 width: 20px; 6 width: 20px;
7 height: 20px; 7 height: 20px;
8 transform: translateZ(10px); 8 transform: translateZ(10px);
9 } 9 }
10 </style> 10 </style>
(...skipping 10 matching lines...) Expand all
21 } 21 }
22 22
23 function test() 23 function test()
24 { 24 {
25 InspectorTest.invokeWithTracing("doActions", onTracingComplete); 25 InspectorTest.invokeWithTracing("doActions", onTracingComplete);
26 function onTracingComplete() 26 function onTracingComplete()
27 { 27 {
28 var events = InspectorTest.timelineModel().inspectedTargetEvents(); 28 var events = InspectorTest.timelineModel().inspectedTargetEvents();
29 for (var i = 0; i < events.length; ++i) { 29 for (var i = 0; i < events.length; ++i) {
30 var event = events[i]; 30 var event = events[i];
31 if (events[i].name === WebInspector.TimelineModel.RecordType.UpdateL ayerTree) { 31 if (events[i].name === TimelineModel.TimelineModel.RecordType.Update LayerTree) {
32 InspectorTest.addResult("Got UpdateLayerTree event, phase: " + e vents[i].phase); 32 InspectorTest.addResult("Got UpdateLayerTree event, phase: " + e vents[i].phase);
33 break; 33 break;
34 } 34 }
35 } 35 }
36 InspectorTest.addResult("Done"); 36 InspectorTest.addResult("Done");
37 InspectorTest.completeTest(); 37 InspectorTest.completeTest();
38 } 38 }
39 } 39 }
40 40
41 </script> 41 </script>
42 </head> 42 </head>
43 43
44 <body onload="runTest()"> 44 <body onload="runTest()">
45 <p> 45 <p>
46 Tests the instrumentation of UpdateLayerTree event 46 Tests the instrumentation of UpdateLayerTree event
47 </p> 47 </p>
48 <div id="parent-layer"></div> 48 <div id="parent-layer"></div>
49 </body> 49 </body>
50 </html> 50 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698