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

Side by Side Diff: LayoutTests/virtual/implsidepainting/inspector/timeline/tracing/paint-command-log-nodes.html

Issue 397313003: DevTools: Remove target function from TimelineModel (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase once more Created 6 years, 5 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
« no previous file with comments | « no previous file | Source/devtools/front_end/profiler/ProfilesPanel.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 <style> 3 <style>
4 </style> 4 </style>
5 <script src="../../../../../http/tests/inspector/inspector-test.js"></script> 5 <script src="../../../../../http/tests/inspector/inspector-test.js"></script>
6 <script src="../../../../../http/tests/inspector/timeline-test.js"></script> 6 <script src="../../../../../http/tests/inspector/timeline-test.js"></script>
7 <script src="../../../../../inspector/tracing-test.js"></script> 7 <script src="../../../../../inspector/tracing-test.js"></script>
8 <script> 8 <script>
9 9
10 function doActions(callback) 10 function doActions(callback)
(...skipping 22 matching lines...) Expand all
33 continue; 33 continue;
34 ++inFlightPictures; 34 ++inFlightPictures;
35 processPicture(event.picture); 35 processPicture(event.picture);
36 } 36 }
37 if (!inFlightPictures) 37 if (!inFlightPictures)
38 InspectorTest.completeTest(); 38 InspectorTest.completeTest();
39 } 39 }
40 40
41 function processPicture(picture) 41 function processPicture(picture)
42 { 42 {
43 WebInspector.PaintProfilerSnapshot.load(InspectorTest.tracingTimelineMod el.target(), picture, onSnapshotLoaded); 43 WebInspector.PaintProfilerSnapshot.load(WebInspector.targetManager.targe ts()[0], picture, onSnapshotLoaded);
44 } 44 }
45 45
46 function onSnapshotLoaded(snapshot) 46 function onSnapshotLoaded(snapshot)
47 { 47 {
48 snapshot.commandLog(onGotLog); 48 snapshot.commandLog(onGotLog);
49 } 49 }
50 50
51 function onGotLog(log) 51 function onGotLog(log)
52 { 52 {
53 var seenNodes = {}; 53 var seenNodes = {};
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 </p> 98 </p>
99 <div id="a" style="visibility:hidden; -webkit-transform: translateZ(0px); backgr ound-color:blue; width:100px; height:100px;"> 99 <div id="a" style="visibility:hidden; -webkit-transform: translateZ(0px); backgr ound-color:blue; width:100px; height:100px;">
100 <div id="b" style="width:50px; height:50px; background-color:red;"></div> 100 <div id="b" style="width:50px; height:50px; background-color:red;"></div>
101 <img id="c" src="../timeline/resources/test.png"> 101 <img id="c" src="../timeline/resources/test.png">
102 <svg id="d"> 102 <svg id="d">
103 <rect id="e" x="0" y="0" width="10" height="10" style="opacity:0.5"/> 103 <rect id="e" x="0" y="0" width="10" height="10" style="opacity:0.5"/>
104 </svg> 104 </svg>
105 </div> 105 </div>
106 </body> 106 </body>
107 </html> 107 </html>
OLDNEW
« no previous file with comments | « no previous file | Source/devtools/front_end/profiler/ProfilesPanel.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698