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

Side by Side Diff: LayoutTests/inspector/timeline/anonymous-image-object.html

Issue 709423002: DevTools: remove old Timeline front-end implementation (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Updated LayoutTests/inspector/layers/layer-canvas-log.html Created 6 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 <html>
2 <head>
3 <style>
4 div.marker::before {
5 content: url(resources/test.bmp);
6 }
7 </style>
8 <script src="../../http/tests/inspector/inspector-test.js"></script>
9 <script src="../../http/tests/inspector/timeline-test.js"></script>
10 <script>
11
12 function doActions(callback)
13 {
14 document.getElementById("marker").classList.add("marker");
15 var img = document.createElement("img");
16 img.src = "resources/test.bmp";
17 img.addEventListener("load", onImageLoaded, false);
18 function onImageLoaded()
19 {
20 testRunner.displayAsyncThen(callback);
21 }
22 }
23
24 function test()
25 {
26 InspectorTest.invokeAsyncWithTimeline("doActions", onRecordingDone);
27
28 function onRecordingDone()
29 {
30 InspectorTest.addResult("DONE");
31 InspectorTest.completeTest();
32 }
33 }
34 </script>
35 </head>
36
37 <body onload="runTest()">
38 <p>
39 Tests the Timeline instrumentation does not crash the renderer upon encountering an anonymous image render object
40 </p>
41 <div id="marker"></div>
42 </body>
43 </html>
OLDNEW
« no previous file with comments | « LayoutTests/inspector/layers/layer-canvas-log.html ('k') | LayoutTests/inspector/timeline/anonymous-image-object-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698