OLD | NEW |
(Empty) | |
| 1 <head> |
| 2 <script src="../inspector-test.js"></script> |
| 3 <script src="./bindings-test.js"></script> |
| 4 |
| 5 <script> |
| 6 |
| 7 async function test() |
| 8 { |
| 9 var contentScriptsNavigator = new Sources.ContentScriptsNavigatorView(); |
| 10 contentScriptsNavigator.show(UI.inspectorView.element); |
| 11 |
| 12 InspectorTest.markStep('initialWorkspace'); |
| 13 InspectorTest.dumpNavigatorView(contentScriptsNavigator, false); |
| 14 |
| 15 InspectorTest.markStep('attachFrame1'); |
| 16 await InspectorTest.attachFrame('frame1', './resources/contentscript-frame.h
tml', '_test_attachFrame1.js'), |
| 17 InspectorTest.dumpNavigatorView(contentScriptsNavigator, false); |
| 18 |
| 19 InspectorTest.markStep('attachFrame2'); |
| 20 await InspectorTest.attachFrame('frame2', './resources/contentscript-frame.h
tml', '_test_attachFrame2.js'), |
| 21 InspectorTest.dumpNavigatorView(contentScriptsNavigator, false); |
| 22 |
| 23 InspectorTest.markStep('detachFrame1'); |
| 24 await InspectorTest.detachFrame('frame1', '_test_detachFrame1.js'); |
| 25 InspectorTest.dumpNavigatorView(contentScriptsNavigator, false); |
| 26 |
| 27 InspectorTest.markStep('detachFrame2'); |
| 28 await InspectorTest.detachFrame('frame2', '_test_detachFrame2.js'); |
| 29 InspectorTest.dumpNavigatorView(contentScriptsNavigator, false); |
| 30 |
| 31 InspectorTest.completeTest(); |
| 32 } |
| 33 |
| 34 </script> |
| 35 </head> |
| 36 <body onload="runTest()"> |
| 37 <p> |
| 38 Verify that SourceMap bindings are generating UISourceCodes properly. |
| 39 </p> |
| 40 </body> |
OLD | NEW |