| Index: third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/foreign-fetch-helper-script.js
|
| diff --git a/third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/foreign-fetch-helper-script.js b/third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/foreign-fetch-helper-script.js
|
| deleted file mode 100644
|
| index 5ecaa9e36166395c857f22f1eae7fddba2fca5f1..0000000000000000000000000000000000000000
|
| --- a/third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/foreign-fetch-helper-script.js
|
| +++ /dev/null
|
| @@ -1,11 +0,0 @@
|
| -function handle_message(e) {
|
| - fetch(e.data.url)
|
| - .then(response => response.text())
|
| - .then(text => e.ports[0].postMessage('Success: ' + text))
|
| - .catch(error => e.ports[0].postMessage('Error: ' + error));
|
| -}
|
| -
|
| -self.onmessage = handle_message;
|
| -self.onconnect = e => {
|
| - e.ports[0].onmessage = handle_message;
|
| -};
|
|
|