| Index: third_party/WebKit/LayoutTests/http/tests/serviceworker/ServiceWorkerGlobalScope/resources/postmessage-ping-worker.js
|
| diff --git a/third_party/WebKit/LayoutTests/http/tests/serviceworker/ServiceWorkerGlobalScope/resources/postmessage-ping-worker.js b/third_party/WebKit/LayoutTests/http/tests/serviceworker/ServiceWorkerGlobalScope/resources/postmessage-ping-worker.js
|
| deleted file mode 100644
|
| index ebb1eccce2da61484e7b23d5cdda7d6898acf3bd..0000000000000000000000000000000000000000
|
| --- a/third_party/WebKit/LayoutTests/http/tests/serviceworker/ServiceWorkerGlobalScope/resources/postmessage-ping-worker.js
|
| +++ /dev/null
|
| @@ -1,15 +0,0 @@
|
| -self.addEventListener('message', function(event) {
|
| - if ('port' in event.data) {
|
| - var port = event.data.port;
|
| -
|
| - var channel = new MessageChannel();
|
| - channel.port1.onmessage = function(event) {
|
| - if ('pong' in event.data)
|
| - port.postMessage(event.data.pong);
|
| - };
|
| -
|
| - // Send a ping message to another service worker.
|
| - self.registration.waiting.postMessage({ping: channel.port2},
|
| - [channel.port2]);
|
| - }
|
| - });
|
|
|