| Index: chrome/test/data/extensions/platform_apps/web_view/extension_api/content_settings/background.js
|
| diff --git a/chrome/test/data/extensions/platform_apps/web_view/addremove/test.js b/chrome/test/data/extensions/platform_apps/web_view/extension_api/content_settings/background.js
|
| similarity index 52%
|
| copy from chrome/test/data/extensions/platform_apps/web_view/addremove/test.js
|
| copy to chrome/test/data/extensions/platform_apps/web_view/extension_api/content_settings/background.js
|
| index 1886432c3055a84510594bb8c7e0d3ac28feb045..94a1410815cbdf02aa94e0c732a3bfc1c7f3579f 100644
|
| --- a/chrome/test/data/extensions/platform_apps/web_view/addremove/test.js
|
| +++ b/chrome/test/data/extensions/platform_apps/web_view/extension_api/content_settings/background.js
|
| @@ -2,6 +2,10 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -chrome.app.runtime.onLaunched.addListener(function() {
|
| - chrome.app.window.create('embedder.html', {}, function () {});
|
| +chrome.contentSettings.javascript.set({
|
| + primaryPattern: '<all_urls>',
|
| + setting: 'block'
|
| +}, function() {
|
| + window.console.log('Blocking all JavaScript');
|
| });
|
| +
|
|
|