| Index: third_party/WebKit/LayoutTests/http/tests/inspector/bindings/contentscripts-navigator-multiple-frames.html
|
| diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/bindings/contentscripts-navigator-multiple-frames.html b/third_party/WebKit/LayoutTests/http/tests/inspector/bindings/contentscripts-navigator-multiple-frames.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..5d08f8cc56efb606e0715855161c3afd5c623f73
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/http/tests/inspector/bindings/contentscripts-navigator-multiple-frames.html
|
| @@ -0,0 +1,40 @@
|
| +<head>
|
| +<script src="../inspector-test.js"></script>
|
| +<script src="./bindings-test.js"></script>
|
| +
|
| +<script>
|
| +
|
| +async function test()
|
| +{
|
| + var contentScriptsNavigator = new Sources.ContentScriptsNavigatorView();
|
| + contentScriptsNavigator.show(UI.inspectorView.element);
|
| +
|
| + InspectorTest.markStep('initialWorkspace');
|
| + InspectorTest.dumpNavigatorView(contentScriptsNavigator, false);
|
| +
|
| + InspectorTest.markStep('attachFrame1');
|
| + await InspectorTest.attachFrame('frame1', './resources/contentscript-frame.html', '_test_attachFrame1.js'),
|
| + InspectorTest.dumpNavigatorView(contentScriptsNavigator, false);
|
| +
|
| + InspectorTest.markStep('attachFrame2');
|
| + await InspectorTest.attachFrame('frame2', './resources/contentscript-frame.html', '_test_attachFrame2.js'),
|
| + InspectorTest.dumpNavigatorView(contentScriptsNavigator, false);
|
| +
|
| + InspectorTest.markStep('detachFrame1');
|
| + await InspectorTest.detachFrame('frame1', '_test_detachFrame1.js');
|
| + InspectorTest.dumpNavigatorView(contentScriptsNavigator, false);
|
| +
|
| + InspectorTest.markStep('detachFrame2');
|
| + await InspectorTest.detachFrame('frame2', '_test_detachFrame2.js');
|
| + InspectorTest.dumpNavigatorView(contentScriptsNavigator, false);
|
| +
|
| + InspectorTest.completeTest();
|
| +}
|
| +
|
| +</script>
|
| +</head>
|
| +<body onload="runTest()">
|
| +<p>
|
| +Verify that SourceMap bindings are generating UISourceCodes properly.
|
| +</p>
|
| +</body>
|
|
|