| Index: third_party/WebKit/LayoutTests/http/tests/serviceworker/ServiceWorkerGlobalScope/resources/postmessage-loopback-worker.js
|
| diff --git a/third_party/WebKit/LayoutTests/http/tests/serviceworker/ServiceWorkerGlobalScope/resources/postmessage-loopback-worker.js b/third_party/WebKit/LayoutTests/http/tests/serviceworker/ServiceWorkerGlobalScope/resources/postmessage-loopback-worker.js
|
| deleted file mode 100644
|
| index 083e9aa2a85d452bd89c64a088def8b58f1d61aa..0000000000000000000000000000000000000000
|
| --- a/third_party/WebKit/LayoutTests/http/tests/serviceworker/ServiceWorkerGlobalScope/resources/postmessage-loopback-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);
|
| - };
|
| - self.registration.active.postMessage({ping: channel.port2},
|
| - [channel.port2]);
|
| - } else if ('ping' in event.data) {
|
| - event.data.ping.postMessage({pong: 'OK'});
|
| - }
|
| - });
|
|
|