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

Unified Diff: LayoutTests/http/tests/serviceworker/fetch-canvas-tainting.html

Issue 1314123002: Remove hard-coded origins in layout tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 4 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-canvas-tainting.html
diff --git a/LayoutTests/http/tests/serviceworker/fetch-canvas-tainting.html b/LayoutTests/http/tests/serviceworker/fetch-canvas-tainting.html
index 471d6a1e56c734545bb29072a134393e1a5082c0..fa963bf57c05608da0210e2248317dda34ebf20e 100644
--- a/LayoutTests/http/tests/serviceworker/fetch-canvas-tainting.html
+++ b/LayoutTests/http/tests/serviceworker/fetch-canvas-tainting.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(host_info.HTTP_ORIGIN, host_info.HTTP_REMOTE_ORIGIN, t)
.then(function() {
return service_worker_unregister_and_register(t, SCRIPT, SCOPE);
})

Powered by Google App Engine
This is Rietveld 408576698