3 <script type=
"text/javascript" src=
"../../http/tests/inspector-protocol/inspector-protocol-test.js"></script>
8 var frame
= document
.createElement("iframe");
9 frame
.src
= "../resources/blank.html";
10 document
.body
.appendChild(frame
);
15 InspectorTest
.eventHandler
["Page.frameStartedLoading"] = onStart
;
16 InspectorTest
.eventHandler
["Page.frameStoppedLoading"] = onStop
;
17 InspectorTest
.sendCommand("Page.enable", {});
21 InspectorTest
.log("Started loading");
25 InspectorTest
.log("Stopped loading");
26 InspectorTest
.completeTest();
29 InspectorTest
.sendCommand("Runtime.evaluate", { "expression": "load()" });
34 <body onload=
"runTest()">