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

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

Issue 7065033: Support persistent incognito preferences (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed comments 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
Index: chrome/test/data/extensions/api_test/content_settings/incognito/test.html
diff --git a/chrome/test/data/extensions/api_test/content_settings/incognito/test.html b/chrome/test/data/extensions/api_test/content_settings/incognito/test.html
index ab3b65393bcc357f6d80e78475a26e2f7bec8514..b16f8c0907e2a7833269b2ff1cf95307e364a3e6 100644
--- a/chrome/test/data/extensions/api_test/content_settings/incognito/test.html
+++ b/chrome/test/data/extensions/api_test/content_settings/incognito/test.html
@@ -25,11 +25,10 @@ chrome.test.runTests([
'levelOfControl': "ControllableByThisExtension" },
"third-party cookies should not be blocked in incognito mode"));
},
- // TODO(battre): re-enable when incognito preferences are available again.
- /*
function set() {
cs.misc.blockThirdPartyCookies.set(
- { 'incognito': true, 'value': true }, chrome.test.callbackPass());
+ { 'scope': 'incognito_persistent', 'value': true },
+ chrome.test.callbackPass());
},
function getRegular2() {
cs.misc.blockThirdPartyCookies.get(
@@ -46,6 +45,5 @@ chrome.test.runTests([
'levelOfControl': "ControlledByThisExtension" },
"third-party cookies should be blocked in incognito mode"));
},
- */
]);
</script>
« no previous file with comments | « chrome/common/extensions/docs/samples.json ('k') | chrome/test/data/extensions/api_test/content_settings/onchange/test.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698