| Index: chrome/test/data/notifications/android_test_worker.js
|
| diff --git a/chrome/test/data/extensions/platform_apps/extension_view/test.js b/chrome/test/data/notifications/android_test_worker.js
|
| similarity index 55%
|
| copy from chrome/test/data/extensions/platform_apps/extension_view/test.js
|
| copy to chrome/test/data/notifications/android_test_worker.js
|
| index d01f8765f7e8d69587d37944c57e58a77905a64f..421494a6e3dfb14beca28c2ecfc25fba715930b8 100644
|
| --- a/chrome/test/data/extensions/platform_apps/extension_view/test.js
|
| +++ b/chrome/test/data/notifications/android_test_worker.js
|
| @@ -2,6 +2,9 @@
|
| // 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('main.html', {}, function () {});
|
| +var messagePort = null;
|
| +
|
| +addEventListener('message', function(event) {
|
| + messagePort = event.data;
|
| + messagePort.postMessage('ready');
|
| });
|
|
|