| Index: third_party/WebKit/LayoutTests/http/tests/inspector/bindings/navigator-frame-attach-detach.html
|
| diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/bindings/navigator-frame-attach-detach.html b/third_party/WebKit/LayoutTests/http/tests/inspector/bindings/navigator-frame-attach-detach.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..ddc4c7634e95d1ebb405e0aecb0510f49ca5883f
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/http/tests/inspector/bindings/navigator-frame-attach-detach.html
|
| @@ -0,0 +1,35 @@
|
| +<html>
|
| +<head>
|
| +<script src="../inspector-test.js"></script>
|
| +<script src="./bindings-test.js"></script>
|
| +
|
| +<script>
|
| +
|
| +async function test()
|
| +{
|
| + var sourcesNavigator = new Sources.SourcesNavigatorView();
|
| + sourcesNavigator.show(UI.inspectorView.element);
|
| +
|
| + InspectorTest.markStep('dumpInitialNavigator');
|
| + InspectorTest.dumpNavigatorView(sourcesNavigator, false);
|
| +
|
| + InspectorTest.markStep('attachFrame');
|
| + await InspectorTest.attachFrame('frame', './resources/magic-frame.html');
|
| + InspectorTest.dumpNavigatorView(sourcesNavigator, false);
|
| +
|
| + InspectorTest.markStep('detachFrame');
|
| + await InspectorTest.detachFrame('frame');
|
| + InspectorTest.dumpNavigatorView(sourcesNavigator, false);
|
| +
|
| + InspectorTest.completeTest();
|
| +}
|
| +
|
| +</script>
|
| +
|
| +</head>
|
| +<body onload="runTest()">
|
| +<p>
|
| +Verify that navigator is rendered properly when frames come and go.
|
| +</p>
|
| +</body>
|
| +</html>
|
|
|