Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / inspector-protocol / page / frameStartedLoading.html
blob9c1f928b88e010e1d1227d0f66c2bd2c143dcebe
1 <html>
2 <head>
3 <script type="text/javascript" src="../../http/tests/inspector-protocol/inspector-protocol-test.js"></script>
4 <script>
6 function load()
8 var frame = document.createElement("iframe");
9 frame.src = "../resources/blank.html";
10 document.body.appendChild(frame);
13 function test()
15 InspectorTest.eventHandler["Page.frameStartedLoading"] = onStart;
16 InspectorTest.eventHandler["Page.frameStoppedLoading"] = onStop;
17 InspectorTest.sendCommand("Page.enable", {});
19 function onStart()
21 InspectorTest.log("Started loading");
23 function onStop()
25 InspectorTest.log("Stopped loading");
26 InspectorTest.completeTest();
29 InspectorTest.sendCommand("Runtime.evaluate", { "expression": "load()" });
32 </script>
33 </head>
34 <body onload="runTest()">
35 </body>
36 </html>