Index: third_party/WebKit/LayoutTests/http/tests/inspector/bindings/bindings-frame-navigate.html |
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/bindings/bindings-frame-navigate.html b/third_party/WebKit/LayoutTests/http/tests/inspector/bindings/bindings-frame-navigate.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..aba43849aaa0c27fa3286f36dc68066b6c4b0756 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/bindings/bindings-frame-navigate.html |
@@ -0,0 +1,32 @@ |
+<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('navigateFrame'); |
+ await InspectorTest.navigateFrame('frame', './resources/empty-frame.html', '_test_navigateFrame'); |
+ InspectorTest.dumpWorkspace(); |
+ |
+ InspectorTest.completeTest(); |
+} |
+ |
+</script> |
+ |
+</head> |
+<body onload="runTest()"> |
+<p> |
+Verify that UISourceCodes are removed as the frame gets navigated. |
+</p> |
+</body> |
+</html> |