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

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

Issue 6990054: Disable setting incognito prefs for extensions for now. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Updated copyright header 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/onchange/test.html
diff --git a/chrome/test/data/extensions/api_test/content_settings/onchange/test.html b/chrome/test/data/extensions/api_test/content_settings/onchange/test.html
index 92d0758609ef8d388c6e6656df83e9e3c9608dcd..7cfff1fd5a32b685d5efd631338a28f32617cef2 100644
--- a/chrome/test/data/extensions/api_test/content_settings/onchange/test.html
+++ b/chrome/test/data/extensions/api_test/content_settings/onchange/test.html
@@ -35,6 +35,8 @@ chrome.test.runTests([
'value':true
}, chrome.test.callbackPass());
},
+ // TODO(battre): re-enable when incognito is available again.
+ /*
function changeIncognitoOnly() {
listenUntil(cs.misc.blockThirdPartyCookies.onChange, [{
'value': false,
@@ -46,6 +48,7 @@ chrome.test.runTests([
'incognito': true
}, chrome.test.callbackPass());
},
+ */
function changeDefaultOnly() {
listenUntil(cs.misc.blockThirdPartyCookies.onChange, [{
'value': false,
@@ -55,6 +58,8 @@ chrome.test.runTests([
'value': false
}, chrome.test.callbackPass());
},
+ // TODO(battre): re-enable when incognito is available again.
+ /*
function changeIncognitoOnlyBack() {
// Change the incognito setting back to true so that we get an event when
// clearing the value.
@@ -78,6 +83,7 @@ chrome.test.runTests([
'incognito': true
}, chrome.test.callbackPass());
},
+ */
function clearDefault() {
listenUntil(cs.misc.blockThirdPartyCookies.onChange, [{
'value': false,

Powered by Google App Engine
This is Rietveld 408576698