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

Unified Diff: LayoutTests/http/tests/xmlhttprequest/cross-origin-cookie-storage.html

Issue 329323002: Deprecate support for xhr.withCredentials for synchronous requests (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 6 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/xmlhttprequest/cross-origin-cookie-storage.html
diff --git a/LayoutTests/http/tests/xmlhttprequest/cross-origin-cookie-storage.html b/LayoutTests/http/tests/xmlhttprequest/cross-origin-cookie-storage.html
index 7e43c5388c765ee59b1a4dd9aba5f071a3e8beaf..57891aa344fceb6492b798c605069163ec3cb37c 100644
--- a/LayoutTests/http/tests/xmlhttprequest/cross-origin-cookie-storage.html
+++ b/LayoutTests/http/tests/xmlhttprequest/cross-origin-cookie-storage.html
@@ -100,7 +100,8 @@ function testSyncCookiesWithCredentials()
log("PASS: Finished sync xhr.");
var response = checkForCookie();
- log(response.match(/WK\-xhr\-cookie\-storage: MySpecialValue/) ? "PASS: Cookie set." : "FAIL: no cookie set.");
+ // As per issue #383483 xhr.withCredentials for synchronous requests is deprecated.
+ log(response.match(/WK\-xhr\-cookie\-storage: MySpecialValue/) ? "FAIL: Cookie set." : "PASS: no cookie set.");
log("DONE");
endTesting();
}

Powered by Google App Engine
This is Rietveld 408576698