OLD | NEW |
(Empty) | |
| 1 <html> |
| 2 <head> |
| 3 <script src="../inspector-test.js"></script> |
| 4 <script src="./bindings-test.js"></script> |
| 5 |
| 6 <script> |
| 7 |
| 8 async function test() |
| 9 { |
| 10 InspectorTest.markStep('dumpInitialWorkspace'); |
| 11 InspectorTest.dumpWorkspace(); |
| 12 |
| 13 InspectorTest.markStep('attachFrame'); |
| 14 await InspectorTest.attachFrame('frame', './resources/magic-frame.html', '_t
est_attachFrame.js'); |
| 15 InspectorTest.dumpWorkspace(); |
| 16 |
| 17 InspectorTest.markStep('navigateMainFrame'); |
| 18 var url = "http://localhost:8000/inspector/bindings/resources/empty-page.htm
l"; |
| 19 await InspectorTest.navigatePromise(url); |
| 20 InspectorTest.dumpWorkspace(); |
| 21 |
| 22 InspectorTest.markStep('navigateBack'); |
| 23 var originalUrl = "http://localhost:8000/inspector/bindings/bindings-main-fr
ame-navigated.html"; |
| 24 await InspectorTest.navigatePromise(originalUrl); |
| 25 |
| 26 InspectorTest.completeTest(); |
| 27 } |
| 28 |
| 29 </script> |
| 30 |
| 31 </head> |
| 32 <body onload="runTest()"> |
| 33 <p> |
| 34 Verify that UISourceCodes are removed as main frame gets navigated. |
| 35 </p> |
| 36 </body> |
| 37 </html> |
OLD | NEW |