| Index: chrome/test/data/extensions/platform_apps/app_view/shim/skeleton/main.js
|
| diff --git a/chrome/test/data/extensions/platform_apps/app_view/shim/skeleton/main.js b/chrome/test/data/extensions/platform_apps/app_view/shim/skeleton/main.js
|
| index 3b58b2f02ceac4df645d9081241f9ea38a187c82..2430c37a987f14ed1830a08f10838ff347af85ac 100644
|
| --- a/chrome/test/data/extensions/platform_apps/app_view/shim/skeleton/main.js
|
| +++ b/chrome/test/data/extensions/platform_apps/app_view/shim/skeleton/main.js
|
| @@ -3,6 +3,13 @@
|
| // found in the LICENSE file.
|
|
|
| chrome.app.runtime.onEmbedRequested.addListener(function(request) {
|
| - request.allow('main.html');
|
| + if (!request.data.foo) {
|
| + request.allow('main.html');
|
| + return;
|
| + } else if (request.data.foo == 'bar') {
|
| + request.deny();
|
| + } else if (request.data.foo == 'bleep') {
|
| + request.allow('main.html');
|
| + }
|
| });
|
|
|
|
|