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