| 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 d83e1d16f92b79dea5109b76206dc56cec890a45..4d8541af0487ab5f639a7a3ed90ae636ea2b4742 100644
|
| --- a/chrome/common/extensions/docs/examples/api/contentSettings/popup.html
|
| +++ b/chrome/common/extensions/docs/examples/api/contentSettings/popup.html
|
| @@ -13,8 +13,7 @@ function init() {
|
| "notifications"];
|
| types.forEach(function(type) {
|
| chrome.experimental.contentSettings[type].get({
|
| - 'topLevelUrl': url,
|
| - 'embeddedUrl': url,
|
| + 'primaryUrl': url,
|
| 'incognito': incognito
|
| },
|
| function(details) {
|
| @@ -30,8 +29,7 @@ function settingChanged(element) {
|
| var pattern = /^file:/.test(url) ? url : url.replace(/\/[^\/]*?$/, '/*');
|
| console.log(type+" setting for "+pattern+": "+setting);
|
| chrome.experimental.contentSettings[type].set({
|
| - 'topLevelPattern': pattern,
|
| - 'embeddedPattern': pattern,
|
| + 'primaryPattern': pattern,
|
| 'setting': setting,
|
| 'scope': (incognito ? 'incognito_session_only' : 'regular')
|
| });
|
|
|