| Index: third_party/WebKit/LayoutTests/http/tests/inspector/bindings/bindings-multiple-frames.html
|
| diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/bindings/bindings-multiple-frames.html b/third_party/WebKit/LayoutTests/http/tests/inspector/bindings/bindings-multiple-frames.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..bef49988f59a740a3a5bdb7376748bbe75e64e31
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/http/tests/inspector/bindings/bindings-multiple-frames.html
|
| @@ -0,0 +1,36 @@
|
| +<head>
|
| +<script src="../inspector-test.js"></script>
|
| +<script src="./bindings-test.js"></script>
|
| +
|
| +<script>
|
| +
|
| +async function test()
|
| +{
|
| + InspectorTest.markStep('initialWorkspace');
|
| + InspectorTest.dumpWorkspace();
|
| +
|
| + InspectorTest.markStep('createIframes');
|
| + await Promise.all([
|
| + InspectorTest.attachFrame('frame1', './resources/magic-frame.html', '_test_create-iframe1.js'),
|
| + InspectorTest.attachFrame('frame2', './resources/magic-frame.html', '_test_create-iframe2.js'),
|
| + ]);
|
| + InspectorTest.dumpWorkspace();
|
| +
|
| + InspectorTest.markStep('detachFrame1');
|
| + await InspectorTest.detachFrame('frame1', '_test_detachFrame1.js');
|
| + InspectorTest.dumpWorkspace();
|
| +
|
| + InspectorTest.markStep('detachFrame2');
|
| + await InspectorTest.detachFrame('frame2', '_test_detachFrame2.js');
|
| + InspectorTest.dumpWorkspace();
|
| +
|
| + InspectorTest.completeTest();
|
| +}
|
| +
|
| +</script>
|
| +</head>
|
| +<body onload="runTest()">
|
| +<p>
|
| +Verify that UISourceCodes are removed as iframes are getting detached.
|
| +</p>
|
| +</body>
|
|
|