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 var sourcesNavigator = new Sources.SourcesNavigatorView(); |
| 11 sourcesNavigator.show(UI.inspectorView.element); |
| 12 |
| 13 InspectorTest.markStep('dumpInitialNavigator'); |
| 14 InspectorTest.dumpNavigatorView(sourcesNavigator, false); |
| 15 |
| 16 InspectorTest.markStep('attachFrame'); |
| 17 await InspectorTest.attachFrame('frame', './resources/dynamic-frame.html'); |
| 18 InspectorTest.dumpNavigatorView(sourcesNavigator, false); |
| 19 |
| 20 InspectorTest.markStep('detachFrame'); |
| 21 await InspectorTest.detachFrame('frame'); |
| 22 InspectorTest.dumpNavigatorView(sourcesNavigator, false); |
| 23 |
| 24 InspectorTest.completeTest(); |
| 25 } |
| 26 |
| 27 </script> |
| 28 |
| 29 </head> |
| 30 <body onload="runTest()"> |
| 31 <p> |
| 32 Verify that navigator is rendered properly when frame with dynamic script and |
| 33 style is added and removed. |
| 34 </p> |
| 35 </body> |
| 36 </html> |
OLD | NEW |