| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <head> | 2 <head> |
| 3 <script type="text/javascript" src="../../http/tests/inspector-protocol/resource
s/protocol-test.js"></script> | 3 <script type="text/javascript" src="../../http/tests/inspector-protocol/inspecto
r-protocol-test.js"></script> |
| 4 <script> | 4 <script> |
| 5 | 5 |
| 6 function load() | 6 function load() |
| 7 { | 7 { |
| 8 document.querySelector("iframe").src = "../resources/blank.html"; | 8 document.querySelector("iframe").src = "../resources/blank.html"; |
| 9 } | 9 } |
| 10 | 10 |
| 11 function test() | 11 function test() |
| 12 { | 12 { |
| 13 InspectorTest.eventHandler["Page.frameScheduledNavigation"] = onScheduled; | 13 InspectorTest.eventHandler["Page.frameScheduledNavigation"] = onScheduled; |
| (...skipping 20 matching lines...) Expand all Loading... |
| 34 | 34 |
| 35 InspectorTest.sendCommand("Runtime.evaluate", { "expression": "load()" }); | 35 InspectorTest.sendCommand("Runtime.evaluate", { "expression": "load()" }); |
| 36 } | 36 } |
| 37 | 37 |
| 38 </script> | 38 </script> |
| 39 </head> | 39 </head> |
| 40 <body onload="runTest()"> | 40 <body onload="runTest()"> |
| 41 <iframe> | 41 <iframe> |
| 42 </body> | 42 </body> |
| 43 </html> | 43 </html> |
| OLD | NEW |