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') |