5 content: url(resources/test.bmp);
8 <script src=
"../../http/tests/inspector/inspector-test.js"></script>
9 <script src=
"../../http/tests/inspector/timeline-test.js"></script>
12 function doActions(callback
)
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()
20 testRunner
.layoutAndPaintAsyncThen(callback
);
26 InspectorTest
.invokeAsyncWithTimeline("doActions", onRecordingDone
);
28 function onRecordingDone()
30 InspectorTest
.addResult("DONE");
31 InspectorTest
.completeTest();
37 <body onload=
"runTest()">
39 Tests the Timeline instrumentation does not crash the renderer upon encountering an anonymous image render object
41 <div id=
"marker"></div>