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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/inspector/service-workers/service-workers-navigation-preload.html

Issue 2790433003: Support redirect responses for NavigationPreload (Closed)
Patch Set: incorporated falken's comment 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/service-workers/service-workers-navigation-preload.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/service-workers/service-workers-navigation-preload.html b/third_party/WebKit/LayoutTests/http/tests/inspector/service-workers/service-workers-navigation-preload.html
index 89b9dba5f73878bbd4005398f417da4a06964dd1..9df07e7c2dcb7fb00670b5205c1ef9d8d911b229 100644
--- a/third_party/WebKit/LayoutTests/http/tests/inspector/service-workers/service-workers-navigation-preload.html
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/service-workers/service-workers-navigation-preload.html
@@ -57,6 +57,7 @@ function test()
return;
}
InspectorTest.addResult("onResponseReceived:");
+ InspectorTest.addResult(" statusCode: " + request.statusCode);
InspectorTest.addResult(" timing available: " + !!request.timing);
request.requestHeaders().map(header => {
if (header.name == 'Service-Worker-Navigation-Preload') {
@@ -112,7 +113,7 @@ function test()
InspectorTest.addResult("-----------------");
InspectorTest.addResult("Loading another iframe.");
return InspectorTest.callFunctionInPageAsync(
- "loadIframe", [ scope + "?RedirectError"]);
+ "loadIframe", [ scope + "?Redirect"]);
})
.then(_ => {
InspectorTest.addResult("The iframe loaded.");

Powered by Google App Engine
This is Rietveld 408576698