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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/inspector/bindings/navigator-main-frame-navigated.html

Issue 2731403009: DevTools: add tests to fixate sourcemap 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/navigator-main-frame-navigated.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/bindings/navigator-main-frame-navigated.html b/third_party/WebKit/LayoutTests/http/tests/inspector/bindings/navigator-main-frame-navigated.html
index fcaaac8d06da9caed9612c1faf788f9e15bae81f..95a879cfbe4264983bb351158147bd4eda5e6938 100644
--- a/third_party/WebKit/LayoutTests/http/tests/inspector/bindings/navigator-main-frame-navigated.html
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/bindings/navigator-main-frame-navigated.html
@@ -14,7 +14,11 @@ async function test()
InspectorTest.dumpNavigatorView(sourcesNavigator, false);
InspectorTest.markStep('attachFrame');
- await InspectorTest.attachFrame('frame', './resources/magic-frame.html');
+ await Promise.all([
+ InspectorTest.attachFrame('frame', './resources/sourcemap-frame.html'),
+ InspectorTest.waitForSourceMap('sourcemap-script.js.map'),
+ InspectorTest.waitForSourceMap('sourcemap-style.css.map'),
+ ]);
InspectorTest.dumpNavigatorView(sourcesNavigator, false);
InspectorTest.markStep('navigateMainFrame');

Powered by Google App Engine
This is Rietveld 408576698