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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/inspector/bindings/bindings-main-frame-navigated.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/bindings-main-frame-navigated.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/bindings/bindings-main-frame-navigated.html b/third_party/WebKit/LayoutTests/http/tests/inspector/bindings/bindings-main-frame-navigated.html
index 0db6ef4bc12403f7556ed57bbc4bfb6df6cba7b2..2a5fd845ff26b4dd756977877984743f440c9539 100644
--- a/third_party/WebKit/LayoutTests/http/tests/inspector/bindings/bindings-main-frame-navigated.html
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/bindings/bindings-main-frame-navigated.html
@@ -8,7 +8,7 @@
async function test()
{
InspectorTest.markStep('dumpInitialWorkspace');
- InspectorTest.dumpWorkspace();
+ var snapshot = InspectorTest.dumpWorkspace();
InspectorTest.markStep('attachFrame');
await Promise.all([
@@ -16,12 +16,12 @@ async function test()
InspectorTest.waitForSourceMap('sourcemap-script.js.map'),
InspectorTest.waitForSourceMap('sourcemap-style.css.map'),
]);
- InspectorTest.dumpWorkspace();
+ snapshot = InspectorTest.dumpWorkspace(snapshot);
InspectorTest.markStep('navigateMainFrame');
var url = "http://127.0.0.1:8000/inspector/bindings/resources/empty-page.html";
await InspectorTest.navigatePromise(url);
- InspectorTest.dumpWorkspace();
+ snapshot = InspectorTest.dumpWorkspace(snapshot);
InspectorTest.markStep('navigateBack');
var originalUrl = "http://127.0.0.1:8000/inspector/bindings/bindings-main-frame-navigated.html";

Powered by Google App Engine
This is Rietveld 408576698