| Index: third_party/WebKit/LayoutTests/http/tests/serviceworker/fetch-request-html-imports.html
|
| diff --git a/third_party/WebKit/LayoutTests/http/tests/serviceworker/fetch-request-html-imports.html b/third_party/WebKit/LayoutTests/http/tests/serviceworker/fetch-request-html-imports.html
|
| deleted file mode 100644
|
| index 639ae5b48d94c769d8d2d5efb994706b7b4a0e05..0000000000000000000000000000000000000000
|
| --- a/third_party/WebKit/LayoutTests/http/tests/serviceworker/fetch-request-html-imports.html
|
| +++ /dev/null
|
| @@ -1,61 +0,0 @@
|
| -<!DOCTYPE html>
|
| -<title>Service Worker: FetchEvent for HTMLImports</title>
|
| -<script src="../resources/testharness.js"></script>
|
| -<script src="../resources/testharnessreport.js"></script>
|
| -<script src="../resources/get-host-info.js?pipe=sub"></script>
|
| -<script src="resources/test-helpers.js"></script>
|
| -<script>
|
| -async_test(function(t) {
|
| - var SCOPE = 'resources/fetch-request-html-imports-iframe.html';
|
| - var SCRIPT = 'resources/fetch-request-html-imports-worker.js';
|
| - var host_info = get_host_info();
|
| - service_worker_unregister_and_register(t, SCRIPT, SCOPE)
|
| - .then(function(registration) {
|
| - return wait_for_state(t, registration.installing, 'activated');
|
| - })
|
| - .then(function() { return with_iframe(SCOPE); })
|
| - .then(function(frame) {
|
| - var same = frame.contentWindow.document.getElementById("same").import;
|
| - var same_same = same.getElementById("same-same").import;
|
| - var same_other = same.getElementById("same-other").import;
|
| - var other =
|
| - frame.contentWindow.document.getElementById("other").import;
|
| - var other_same = other.getElementById("other-same").import;
|
| - var other_other = other.getElementById("other-other").import;
|
| -
|
| - assert_equals(
|
| - same.body.innerText,
|
| - 'mode=cors credentials=same-origin',
|
| - 'The request mode and credentials for same origin HTMLImport ' +
|
| - 'must be set correctly.');
|
| - assert_equals(
|
| - same_same.body.innerText,
|
| - 'mode=cors credentials=same-origin',
|
| - 'The request mode and credentials for same origin HTMLImport ' +
|
| - 'from same origin HTMLImports must be set correctly.');
|
| - assert_equals(
|
| - same_other.body.innerText,
|
| - 'mode=cors credentials=same-origin',
|
| - 'The request mode and credentials for other origin HTMLImport ' +
|
| - 'from same origin HTMLImports must be set correctly.');
|
| - assert_equals(
|
| - other.body.innerText,
|
| - 'mode=cors credentials=same-origin',
|
| - 'The request mode and credentials for other origin HTMLImport ' +
|
| - 'must be set correctly.');
|
| - assert_equals(
|
| - other_same.body.innerText,
|
| - 'mode=cors credentials=same-origin',
|
| - 'The request mode and credentials for same origin HTMLImport ' +
|
| - 'from other origin HTMLImports must be set correctly.');
|
| - assert_equals(
|
| - other_other.body.innerText,
|
| - 'mode=cors credentials=same-origin',
|
| - 'The request mode and credentials for other origin HTMLImport ' +
|
| - 'from other origin HTMLImport must be set correctly.');
|
| -
|
| - service_worker_unregister_and_done(t, SCOPE);
|
| - })
|
| - .catch(unreached_rejection(t));
|
| - }, 'Verify the FetchEvent for HTMLImports');
|
| -</script>
|
|
|