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

Unified Diff: LayoutTests/http/tests/serviceworker/fetch-cors-xhr.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/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 de805daf9deefc7ac24ff59478b94a311dbf3cff..c0adfe3075fbbc9c417c6ac65a6dc4ab2d1030fd 100644
--- a/LayoutTests/http/tests/serviceworker/fetch-cors-xhr.html
+++ b/LayoutTests/http/tests/serviceworker/fetch-cors-xhr.html
@@ -7,9 +7,11 @@
<script>
async_test(function(t) {
var login1 =
- test_login(t, 'http://127.0.0.1:8000', 'username1', 'password1');
+ test_login(t, 'http://127.0.0.1:8000',
+ 'username1', 'password1', 'cookie1');
var login2 =
- test_login(t, 'http://localhost:8000', 'username2', 'password2');
+ test_login(t, 'http://localhost:8000',
+ 'username2', 'password2', 'cookie2');
var SCOPE = 'resources/fetch-cors-xhr-iframe.html';
var SCRIPT = 'resources/fetch-rewrite-worker.js';
var host_info = get_host_info();

Powered by Google App Engine
This is Rietveld 408576698