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

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

Issue 6773006: Add enableReferrers and enableHyperlinkAuditing to contentSettings.misc API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review Created 9 years, 8 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/common/pref_names.cc ('k') | content/browser/tab_contents/tab_contents.cc » ('j') | 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 f1a441c2ed27cb665b25f635c91c393d54cf8114..39b930348edaffe22f879d18a03f8a391b971886 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
@@ -16,10 +16,22 @@ chrome.test.runTests([
'levelOfControl': "ControllableByThisExtension" },
"third-party cookies should be blocked"));
},
+ function getEnableReferrers() {
+ cs.misc.enableReferrers.get(
+ {},
+ expect({ 'value': false,
+ 'levelOfControl': "ControllableByThisExtension" },
+ "referrers should be disabled"));
+ },
function setBlockThirdPartyCookies() {
cs.misc.blockThirdPartyCookies.set(
{'value': false},
chrome.test.callbackPass());
+ },
+ function setEnableReferrers() {
+ cs.misc.enableReferrers.set(
+ {'value': true},
+ chrome.test.callbackPass());
}
]);
</script>
« no previous file with comments | « chrome/common/pref_names.cc ('k') | content/browser/tab_contents/tab_contents.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698