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

Side by Side Diff: LayoutTests/inspector/layers/layer-canvas-log.html

Issue 320423004: DevTools: Clean up snapshot command log. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add test. Created 6 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
« no previous file with comments | « no previous file | LayoutTests/inspector/layers/layer-canvas-log-expected.txt » ('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 <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/layers-test.js"></script> 4 <script src="../../http/tests/inspector/layers-test.js"></script>
5 <script> 5 <script>
6 function test() 6 function test()
7 { 7 {
8 function onSnapshotDone(snapshot) 8 function onSnapshotDone(snapshot)
9 { 9 {
10 var wrappedCallback = InspectorBackend.wrapClientCallback(onHistoryRecei ved, "LayerTreeAgent.snapshotCommandLog(): "); 10 var wrappedCallback = InspectorBackend.wrapClientCallback(onHistoryRecei ved, "LayerTreeAgent.snapshotCommandLog(): ");
(...skipping 15 matching lines...) Expand all
26 26
27 WebInspector.inspectorView.showPanel("layers"); 27 WebInspector.inspectorView.showPanel("layers");
28 InspectorTest.requestLayers(onGotLayers); 28 InspectorTest.requestLayers(onGotLayers);
29 } 29 }
30 </script> 30 </script>
31 </head> 31 </head>
32 <body onload="runTest()"> 32 <body onload="runTest()">
33 <div id="a" style="-webkit-transform: translateZ(0px); background-color:blue; wi dth:100px; height:100px;"> 33 <div id="a" style="-webkit-transform: translateZ(0px); background-color:blue; wi dth:100px; height:100px;">
34 <div style="width:50px; height:50px; background-color:red;"></div> 34 <div style="width:50px; height:50px; background-color:red;"></div>
35 <img src="../timeline/resources/test.png"> 35 <img src="../timeline/resources/test.png">
36 </div> 36 <svg>
37 <rect x="0" y="0" width="10" height="10" style="opacity:0.5"/>
38 </svg>
39 </div>
37 </body> 40 </body>
38 </html> 41 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/inspector/layers/layer-canvas-log-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698