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

Unified Diff: chrome/common/extensions/docs/examples/api/contentSettings/popup.html

Issue 8071025: Move contentSettings extension API out of experimental (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix Created 9 years, 2 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/common/extensions/docs/examples/api/contentSettings/popup.html
diff --git a/chrome/common/extensions/docs/examples/api/contentSettings/popup.html b/chrome/common/extensions/docs/examples/api/contentSettings/popup.html
index 4d8541af0487ab5f639a7a3ed90ae636ea2b4742..da68f3e5f57d85afed7661293b0f43eadf1c470c 100644
--- a/chrome/common/extensions/docs/examples/api/contentSettings/popup.html
+++ b/chrome/common/extensions/docs/examples/api/contentSettings/popup.html
@@ -12,7 +12,7 @@ function init() {
var types = ["cookies", "images", "javascript", "plugins", "popups",
"notifications"];
types.forEach(function(type) {
- chrome.experimental.contentSettings[type].get({
+ chrome.contentSettings[type].get({
'primaryUrl': url,
'incognito': incognito
},
@@ -28,7 +28,7 @@ function settingChanged(element) {
var setting = element.value;
var pattern = /^file:/.test(url) ? url : url.replace(/\/[^\/]*?$/, '/*');
console.log(type+" setting for "+pattern+": "+setting);
- chrome.experimental.contentSettings[type].set({
+ chrome.contentSettings[type].set({
'primaryPattern': pattern,
'setting': setting,
'scope': (incognito ? 'incognito_session_only' : 'regular')

Powered by Google App Engine
This is Rietveld 408576698