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

Unified Diff: LayoutTests/http/tests/serviceworker/fetch-cors-xhr.html

Issue 1314123002: Remove hard-coded origins in layout tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add ?pipe=sub and make test first parameter. Created 5 years, 3 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: LayoutTests/http/tests/serviceworker/fetch-cors-xhr.html
diff --git a/LayoutTests/http/tests/serviceworker/fetch-cors-xhr.html b/LayoutTests/http/tests/serviceworker/fetch-cors-xhr.html
index 58599de9aaa365bef8d151fcbf2cf5f28515f975..78b0da9e3e2fb367bd854b81d81cb7776d8243b3 100644
--- a/LayoutTests/http/tests/serviceworker/fetch-cors-xhr.html
+++ b/LayoutTests/http/tests/serviceworker/fetch-cors-xhr.html
@@ -11,7 +11,7 @@ async_test(function(t) {
var SCRIPT = 'resources/fetch-rewrite-worker.js';
var host_info = get_host_info();
- login(t)
+ login(t, host_info.HTTP_ORIGIN, host_info.HTTP_REMOTE_ORIGIN)
.then(function() {
return service_worker_unregister_and_register(t, SCRIPT, SCOPE);
})

Powered by Google App Engine
This is Rietveld 408576698