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

Unified Diff: LayoutTests/http/tests/serviceworker/resources/fetch-access-control-login.html

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
Index: LayoutTests/http/tests/serviceworker/resources/fetch-access-control-login.html
diff --git a/LayoutTests/http/tests/serviceworker/resources/fetch-access-control-login.html b/LayoutTests/http/tests/serviceworker/resources/fetch-access-control-login.html
index 38942048c5dcbfbd574236e43d09adf6a5f787fa..4152c669da466f96f961a88ea5a5b95930ca1b34 100644
--- a/LayoutTests/http/tests/serviceworker/resources/fetch-access-control-login.html
+++ b/LayoutTests/http/tests/serviceworker/resources/fetch-access-control-login.html
@@ -2,7 +2,7 @@
// Set authentication info
window.addEventListener("message", function(evt) {
var port = evt.ports[0];
- document.cookie = 'cookie=' + evt.data.username;
+ document.cookie = 'cookie=' + evt.data.cookie;
var xhr = new XMLHttpRequest();
xhr.addEventListener('load', function() {
port.postMessage({msg: 'LOGIN FINISHED'});

Powered by Google App Engine
This is Rietveld 408576698