Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1681)

Unified Diff: third_party/WebKit/LayoutTests/http/tests/inspector/bindings/contentscripts-bindings-multiple-frames.html

Issue 2738033002: DevTools: add more tests to fixate bindings behavior (Closed)
Patch Set: rebaseline Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/http/tests/inspector/bindings/contentscripts-bindings-multiple-frames.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/bindings/contentscripts-bindings-multiple-frames.html b/third_party/WebKit/LayoutTests/http/tests/inspector/bindings/contentscripts-bindings-multiple-frames.html
new file mode 100644
index 0000000000000000000000000000000000000000..f65231c93bed82d24c063179e755545ebd37f733
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/bindings/contentscripts-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');
+ var snapshot = InspectorTest.dumpWorkspace();
+
+ InspectorTest.markStep('attachFrame1');
+ await InspectorTest.attachFrame('frame1', './resources/contentscript-frame.html', '_test_attachFrame1.js');
+ snapshot = InspectorTest.dumpWorkspace(snapshot);
+
+ InspectorTest.markStep('attachFrame2');
+ await InspectorTest.attachFrame('frame2', './resources/contentscript-frame.html', '_test_attachFrame2.js');
+ snapshot = InspectorTest.dumpWorkspace(snapshot);
+
+ InspectorTest.markStep('detachFrame1');
+ await InspectorTest.detachFrame('frame1', '_test_detachFrame1.js');
+ snapshot = InspectorTest.dumpWorkspace(snapshot);
+
+ InspectorTest.markStep('detachFrame2');
+ await InspectorTest.detachFrame('frame2', '_test_detachFrame2.js');
+ snapshot = InspectorTest.dumpWorkspace(snapshot);
+
+ InspectorTest.completeTest();
+}
+
+</script>
+</head>
+<body onload="runTest()">
+<p>
+Verify that SourceMap bindings are generating UISourceCodes properly.
+</p>
+</body>

Powered by Google App Engine
This is Rietveld 408576698