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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/cookies/resources/resetCookies.js

Issue 2125523003: Rename setAlwaysAcceptCookies to setBlockThirdPartyCookies (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: a Created 4 years, 5 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: third_party/WebKit/LayoutTests/http/tests/cookies/resources/resetCookies.js
diff --git a/third_party/WebKit/LayoutTests/http/tests/cookies/resources/resetCookies.js b/third_party/WebKit/LayoutTests/http/tests/cookies/resources/resetCookies.js
index f4144e4551f704c42db0a959509fa04b27da9064..7e2d5ef57b508000a72f39039e43ca848d2651c4 100644
--- a/third_party/WebKit/LayoutTests/http/tests/cookies/resources/resetCookies.js
+++ b/third_party/WebKit/LayoutTests/http/tests/cookies/resources/resetCookies.js
@@ -1,7 +1,7 @@
function resetCookies()
{
if (window.testRunner)
- testRunner.setAlwaysAcceptCookies(true);
+ testRunner.setBlockThirdPartyCookies(false);
// Due to cross-origin restrictions, we can only (simply) reset cookies for our current origin.
var url = "http://" + window.location.hostname +":8000/cookies/resources/cookie-utility.php?queryfunction=deleteCookies";
@@ -14,5 +14,5 @@ function resetCookies()
}
if (window.testRunner)
- testRunner.setAlwaysAcceptCookies(false);
+ testRunner.setBlockThirdPartyCookies(true);
}

Powered by Google App Engine
This is Rietveld 408576698