| Index: third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/fetch-request-html-imports-worker.js
|
| diff --git a/third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/fetch-request-html-imports-worker.js b/third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/fetch-request-html-imports-worker.js
|
| deleted file mode 100644
|
| index 20942113741989b56f61f15d7bd9a1f56baa3ff5..0000000000000000000000000000000000000000
|
| --- a/third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/fetch-request-html-imports-worker.js
|
| +++ /dev/null
|
| @@ -1,30 +0,0 @@
|
| -importScripts('../../resources/get-host-info.js');
|
| -var host_info = get_host_info();
|
| -
|
| -self.addEventListener('fetch', function(event) {
|
| - var url = event.request.url;
|
| - if (url.indexOf('dummy-dir') == -1) {
|
| - return;
|
| - }
|
| - var result = 'mode=' + event.request.mode +
|
| - ' credentials=' + event.request.credentials;
|
| - if (url == host_info.HTTP_ORIGIN + '/dummy-dir/same.html') {
|
| - event.respondWith(new Response(
|
| - result +
|
| - '<link id="same-same" rel="import" ' +
|
| - 'href="' + host_info.HTTP_ORIGIN + '/dummy-dir/same-same.html">' +
|
| - '<link id="same-other" rel="import" ' +
|
| - ' href="' + host_info.HTTP_REMOTE_ORIGIN +
|
| - '/dummy-dir/same-other.html">'));
|
| - } else if (url == host_info.HTTP_REMOTE_ORIGIN + '/dummy-dir/other.html') {
|
| - event.respondWith(new Response(
|
| - result +
|
| - '<link id="other-same" rel="import" ' +
|
| - ' href="' + host_info.HTTP_ORIGIN + '/dummy-dir/other-same.html">' +
|
| - '<link id="other-other" rel="import" ' +
|
| - ' href="' + host_info.HTTP_REMOTE_ORIGIN +
|
| - '/dummy-dir/other-other.html">'));
|
| - } else {
|
| - event.respondWith(new Response(result));
|
| - }
|
| - });
|
|
|