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

Unified Diff: LayoutTests/http/tests/serviceworker/resources/test-helpers.js

Issue 722603002: [ServiceWorker] Use the cookie which is differnt from the username in LayoutTest. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 1 month 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
« no previous file with comments | « LayoutTests/http/tests/serviceworker/resources/fetch-access-control-util.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/http/tests/serviceworker/resources/test-helpers.js
diff --git a/LayoutTests/http/tests/serviceworker/resources/test-helpers.js b/LayoutTests/http/tests/serviceworker/resources/test-helpers.js
index 1f79f4d59c2d16559d6a2a6c6df6f7ac223c5f0c..e3a0a883f2818fd675e18b91d0edf88b4135f269 100644
--- a/LayoutTests/http/tests/serviceworker/resources/test-helpers.js
+++ b/LayoutTests/http/tests/serviceworker/resources/test-helpers.js
@@ -247,7 +247,7 @@ function base_path() {
return location.pathname.replace(/\/[^\/]*$/, '/');
}
-function test_login(test, origin, username, password) {
+function test_login(test, origin, username, password, cookie) {
return new Promise(function(resolve, reject) {
with_iframe(
origin + base_path() +
@@ -259,7 +259,7 @@ function test_login(test, origin, username, password) {
resolve();
});
frame.contentWindow.postMessage(
- {username: username, password: password},
+ {username: username, password: password, cookie: cookie},
[channel.port2], origin);
}));
});
« no previous file with comments | « LayoutTests/http/tests/serviceworker/resources/fetch-access-control-util.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698