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

Unified Diff: chrome/test/data/extensions/api_test/content_settings/standard/test.html

Issue 7031063: Extension API: Rename contentSettings.misc to .global and rename preferences under it. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync Created 9 years, 7 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
« no previous file with comments | « chrome/test/data/extensions/api_test/content_settings/session_only_incognito/test.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/extensions/api_test/content_settings/standard/test.html
diff --git a/chrome/test/data/extensions/api_test/content_settings/standard/test.html b/chrome/test/data/extensions/api_test/content_settings/standard/test.html
index 8dc75fbce8ba663e9f5357122a46f095c449072b..d36a03a3a76aec1c498a5a6134ac0d248c42307f 100644
--- a/chrome/test/data/extensions/api_test/content_settings/standard/test.html
+++ b/chrome/test/data/extensions/api_test/content_settings/standard/test.html
@@ -9,27 +9,27 @@ function expect(expected, message) {
});
}
chrome.test.runTests([
- function getBlockThirdPartyCookies() {
- cs.misc.blockThirdPartyCookies.get(
+ function getThirdPartyCookiesAllowed() {
+ cs.global.thirdPartyCookiesAllowed.get(
{},
- expect({ 'value': true,
+ expect({ 'value': false,
'levelOfControl': "controllable_by_this_extension" },
"third-party cookies should be blocked"));
},
- function getEnableReferrers() {
- cs.misc.enableReferrers.get(
+ function getReferrersEnabled() {
+ cs.global.referrersEnabled.get(
{},
expect({ 'value': false,
'levelOfControl': "controllable_by_this_extension" },
"referrers should be disabled"));
},
- function setBlockThirdPartyCookies() {
- cs.misc.blockThirdPartyCookies.set(
- {'value': false},
+ function setThirdPartyCookiesAllowed() {
+ cs.global.thirdPartyCookiesAllowed.set(
+ {'value': true},
chrome.test.callbackPass());
},
- function setEnableReferrers() {
- cs.misc.enableReferrers.set(
+ function setReferrersEnabled() {
+ cs.global.referrersEnabled.set(
{'value': true},
chrome.test.callbackPass());
}
« no previous file with comments | « chrome/test/data/extensions/api_test/content_settings/session_only_incognito/test.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698