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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/inspector/bindings/bindings-frame-attach-detach.html

Issue 2735933002: DevTools: add tests to fixate bindings behavior (Closed)
Patch Set: DevTools: add tests to fixate bindings behavior 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/http/tests/inspector/bindings/bindings-frame-attach-detach-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/http/tests/inspector/bindings/bindings-frame-attach-detach.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/bindings/bindings-frame-attach-detach.html b/third_party/WebKit/LayoutTests/http/tests/inspector/bindings/bindings-frame-attach-detach.html
new file mode 100644
index 0000000000000000000000000000000000000000..dc39f164a17e15356bd1940ab5a8cdd2a1f6bd6a
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/bindings/bindings-frame-attach-detach.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('detachFrame');
+ await InspectorTest.detachFrame('frame', '_test_detachFrame.js');
+ InspectorTest.dumpWorkspace();
+
+ InspectorTest.completeTest();
+}
+
+</script>
+
+</head>
+<body onload="runTest()">
+<p>
+Verify that UISourceCodes are added and removed as iframe gets attached and detached.
+</p>
+</body>
+</html>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/http/tests/inspector/bindings/bindings-frame-attach-detach-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698