| 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('attachFrame'); |
| 11 await Promise.all([ |
| 12 InspectorTest.attachFrame('frame', './resources/sourcemap-frame.html'), |
| 13 InspectorTest.waitForSourceMap('sourcemap-script.js.map'), |
| 14 InspectorTest.waitForSourceMap('sourcemap-style.css.map'), |
| 15 ]); |
| 16 |
| 17 var jsLiveLocation = InspectorTest.createDebuggerLiveLocation('js', 'sourcem
ap-script.js'); |
| 18 var cssLiveLocation = InspectorTest.createCSSLiveLocation('css', 'sourcemap-
style.css'); |
| 19 |
| 20 InspectorTest.markStep('navigateMainFrame'); |
| 21 var url = "http://127.0.0.1:8000/inspector/bindings/resources/empty-page.htm
l"; |
| 22 await InspectorTest.navigatePromise(url); |
| 23 InspectorTest.dumpLocation(jsLiveLocation); |
| 24 InspectorTest.dumpLocation(cssLiveLocation); |
| 25 |
| 26 InspectorTest.markStep('navigateBack'); |
| 27 var originalUrl = "http://127.0.0.1:8000/inspector/bindings/bindings-main-fr
ame-navigated.html"; |
| 28 await InspectorTest.navigatePromise(originalUrl); |
| 29 |
| 30 InspectorTest.completeTest(); |
| 31 } |
| 32 |
| 33 </script> |
| 34 |
| 35 </head> |
| 36 <body onload="runTest()"> |
| 37 <p> |
| 38 Verify that debugger live location gets updated. |
| 39 </p> |
| 40 </body> |
| 41 </html> |
| OLD | NEW |