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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/inspector/bindings/dynamic-bindings-frame-attach-detach.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/dynamic-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/dynamic-bindings-frame-attach-detach.html
similarity index 54%
copy from third_party/WebKit/LayoutTests/http/tests/inspector/bindings/bindings-frame-attach-detach.html
copy to third_party/WebKit/LayoutTests/http/tests/inspector/bindings/dynamic-bindings-frame-attach-detach.html
index dc39f164a17e15356bd1940ab5a8cdd2a1f6bd6a..054da173c99ca20812bc8f8eef6a89907c94ce5b 100644
--- a/third_party/WebKit/LayoutTests/http/tests/inspector/bindings/bindings-frame-attach-detach.html
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/bindings/dynamic-bindings-frame-attach-detach.html
@@ -8,15 +8,15 @@
async function test()
{
InspectorTest.markStep('dumpInitialWorkspace');
- InspectorTest.dumpWorkspace();
+ var snapshot = InspectorTest.dumpWorkspace();
InspectorTest.markStep('attachFrame');
- await InspectorTest.attachFrame('frame', './resources/magic-frame.html', '_test_attachFrame.js');
- InspectorTest.dumpWorkspace();
+ await InspectorTest.attachFrame('frame', './resources/dynamic-frame.html', '_test_attachFrame.js');
+ snapshot = InspectorTest.dumpWorkspace(snapshot);
InspectorTest.markStep('detachFrame');
await InspectorTest.detachFrame('frame', '_test_detachFrame.js');
- InspectorTest.dumpWorkspace();
+ snapshot = InspectorTest.dumpWorkspace(snapshot);
InspectorTest.completeTest();
}
@@ -26,7 +26,8 @@ async function test()
</head>
<body onload="runTest()">
<p>
-Verify that UISourceCodes are added and removed as iframe gets attached and detached.
+Verify that UISourceCodes are added and removed as iframe with dynamic script
+and stylesheet is added and removed.
</p>
</body>
</html>

Powered by Google App Engine
This is Rietveld 408576698