Index: chrome/test/data/extensions/api_test/content_settings/clear/test.html |
diff --git a/chrome/test/data/extensions/api_test/content_settings/clear/test.html b/chrome/test/data/extensions/api_test/content_settings/clear/test.html |
index 6927f6a32994f84d2dab71318625ff550679433e..69ffc7bf207009849c8d50729721a7046353df64 100644 |
--- a/chrome/test/data/extensions/api_test/content_settings/clear/test.html |
+++ b/chrome/test/data/extensions/api_test/content_settings/clear/test.html |
@@ -4,33 +4,33 @@ |
var cs = chrome.experimental.contentSettings; |
chrome.test.runTests([ |
- function getBlockThirdPartyCookies() { |
- cs.misc.blockThirdPartyCookies.get({}, chrome.test.callbackPass( |
- function(block) { |
+ function getThirdPartyCookiesAllowed() { |
+ cs.global.thirdPartyCookiesAllowed.get({}, chrome.test.callbackPass( |
+ function(allowed) { |
chrome.test.assertEq( |
- block, |
+ allowed, |
{ |
- 'value': true, |
+ 'value': false, |
'levelOfControl': "controllable_by_this_extension" |
}, |
"third-party cookies should be blocked"); |
})); |
}, |
- function setBlockThirdPartyCookies() { |
- cs.misc.blockThirdPartyCookies.set( |
- {'value': false}, |
+ function setThirdPartyCookiesAllowed() { |
+ cs.global.thirdPartyCookiesAllowed.set( |
+ {'value': true}, |
chrome.test.callbackPass()); |
}, |
- function clearBlockThirdPartyCookies() { |
- cs.misc.blockThirdPartyCookies.clear({}, chrome.test.callbackPass()); |
+ function clearThirdPartyCookiesAllowed() { |
+ cs.global.thirdPartyCookiesAllowed.clear({}, chrome.test.callbackPass()); |
}, |
- function getBlockThirdPartyCookies2() { |
- cs.misc.blockThirdPartyCookies.get({}, chrome.test.callbackPass( |
- function(block) { |
+ function getThirdPartyCookiesAllowed2() { |
+ cs.global.thirdPartyCookiesAllowed.get({}, chrome.test.callbackPass( |
+ function(allowed) { |
chrome.test.assertEq( |
- block, |
+ allowed, |
{ |
- 'value': true, |
+ 'value': false, |
'levelOfControl': "controllable_by_this_extension" |
}, |
"third-party cookies should be blocked"); |