| Index: third_party/WebKit/LayoutTests/http/tests/inspector/bindings/bindings-main-frame-navigated.html
|
| diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/bindings/bindings-main-frame-navigated.html b/third_party/WebKit/LayoutTests/http/tests/inspector/bindings/bindings-main-frame-navigated.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..1ef04cd302137a2fe5588a962358d163dcbfc33b
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/http/tests/inspector/bindings/bindings-main-frame-navigated.html
|
| @@ -0,0 +1,37 @@
|
| +<html>
|
| +<head>
|
| +<script src="../inspector-test.js"></script>
|
| +<script src="./bindings-test.js"></script>
|
| +
|
| +<script>
|
| +
|
| +async function test()
|
| +{
|
| + InspectorTest.markStep('dumpInitialWorkspace');
|
| + InspectorTest.dumpWorkspace();
|
| +
|
| + InspectorTest.markStep('attachFrame');
|
| + await InspectorTest.attachFrame('frame', './resources/magic-frame.html', '_test_attachFrame.js');
|
| + InspectorTest.dumpWorkspace();
|
| +
|
| + InspectorTest.markStep('navigateMainFrame');
|
| + var url = "http://localhost:8000/inspector/bindings/resources/empty-page.html";
|
| + await InspectorTest.navigatePromise(url);
|
| + InspectorTest.dumpWorkspace();
|
| +
|
| + InspectorTest.markStep('navigateBack');
|
| + var originalUrl = "http://localhost:8000/inspector/bindings/bindings-main-frame-navigated.html";
|
| + await InspectorTest.navigatePromise(originalUrl);
|
| +
|
| + InspectorTest.completeTest();
|
| +}
|
| +
|
| +</script>
|
| +
|
| +</head>
|
| +<body onload="runTest()">
|
| +<p>
|
| +Verify that UISourceCodes are removed as main frame gets navigated.
|
| +</p>
|
| +</body>
|
| +</html>
|
|
|