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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/inspector/bindings/sourcemap-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/sourcemap-bindings-multiple-frames.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/bindings/sourcemap-bindings-multiple-frames.html b/third_party/WebKit/LayoutTests/http/tests/inspector/bindings/sourcemap-bindings-multiple-frames.html
index cdfc04baa93d8772689078e21ce6cbd6ee6e71d1..27db366f1f01654880fd8e6fde12e60c0f4610f8 100644
--- a/third_party/WebKit/LayoutTests/http/tests/inspector/bindings/sourcemap-bindings-multiple-frames.html
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/bindings/sourcemap-bindings-multiple-frames.html
@@ -7,7 +7,7 @@
async function test()
{
InspectorTest.markStep('initialWorkspace');
- InspectorTest.dumpWorkspace();
+ var snapshot = InspectorTest.dumpWorkspace();
InspectorTest.markStep('createIframesAndWaitForSourceMaps');
await Promise.all([
@@ -16,15 +16,15 @@ async function test()
InspectorTest.waitForSourceMap('sourcemap-script.js.map'),
InspectorTest.waitForSourceMap('sourcemap-style.css.map')
]);
- InspectorTest.dumpWorkspace();
+ snapshot = InspectorTest.dumpWorkspace(snapshot);
InspectorTest.markStep('detachFrame1');
await InspectorTest.detachFrame('frame1', '_test_detachFrame1.js');
- InspectorTest.dumpWorkspace();
+ snapshot = InspectorTest.dumpWorkspace(snapshot);
InspectorTest.markStep('detachFrame2');
await InspectorTest.detachFrame('frame2', '_test_detachFrame2.js');
- InspectorTest.dumpWorkspace();
+ snapshot = InspectorTest.dumpWorkspace(snapshot);
InspectorTest.completeTest();
}

Powered by Google App Engine
This is Rietveld 408576698