Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / inspector-protocol / page / frameScheduledNavigation.html
blobb3c66d67b0159f113949ed4ee37834916c67962c
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 document.querySelector("iframe").src = "../resources/blank.html";
11 function test()
13 InspectorTest.eventHandler["Page.frameScheduledNavigation"] = onScheduled;
14 InspectorTest.eventHandler["Page.frameStartedLoading"] = onStarted;
15 InspectorTest.eventHandler["Page.frameClearedScheduledNavigation"] = onCleared;
16 InspectorTest.sendCommand("Page.enable", {});
18 function onScheduled(msg)
20 InspectorTest.log("Scheduled navigation with delay " + msg.params.delay);
23 function onStarted(msg)
25 // This event should be received before the scheduled navigation is cleared.
26 InspectorTest.log("Started loading");
29 function onCleared(msg)
31 InspectorTest.log("Cleared scheduled navigation");
32 InspectorTest.completeTest();
35 InspectorTest.sendCommand("Runtime.evaluate", { "expression": "load()" });
38 </script>
39 </head>
40 <body onload="runTest()">
41 <iframe>
42 </body>
43 </html>