| Index: chrome/test/data/extensions/api_test/service_worker/web_accessible_resources/iframe_src/iframe.js
|
| diff --git a/chrome/browser/resources/chromeos/login/throbber_notice.js b/chrome/test/data/extensions/api_test/service_worker/web_accessible_resources/iframe_src/iframe.js
|
| similarity index 58%
|
| copy from chrome/browser/resources/chromeos/login/throbber_notice.js
|
| copy to chrome/test/data/extensions/api_test/service_worker/web_accessible_resources/iframe_src/iframe.js
|
| index 2b56e0bf0242240b2fe399d68f31d2641a75c9b9..2b783f9991f5a369850d05888c3509dbd22386a7 100644
|
| --- a/chrome/browser/resources/chromeos/login/throbber_notice.js
|
| +++ b/chrome/test/data/extensions/api_test/service_worker/web_accessible_resources/iframe_src/iframe.js
|
| @@ -2,10 +2,9 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -Polymer({
|
| - is: 'throbber-notice',
|
| -
|
| - properties: {
|
| - text: String
|
| +window.onmessage = function(e) {
|
| + if (e.data == 'ping') {
|
| + e.source.postMessage('FROM_EXTENSION_RESOURCE', '*');
|
| }
|
| -});
|
| +};
|
| +
|
|
|