| Index: third_party/WebKit/LayoutTests/http/tests/serviceworker/chromium/fetch-request-with-gc.html
|
| diff --git a/third_party/WebKit/LayoutTests/http/tests/serviceworker/fetch-cors-xhr.html b/third_party/WebKit/LayoutTests/http/tests/serviceworker/chromium/fetch-request-with-gc.html
|
| similarity index 63%
|
| copy from third_party/WebKit/LayoutTests/http/tests/serviceworker/fetch-cors-xhr.html
|
| copy to third_party/WebKit/LayoutTests/http/tests/serviceworker/chromium/fetch-request-with-gc.html
|
| index ee22c7fab5a5682a2087b429adf2c9e141275400..481ddf318af5f4824f7fa9cd8f9264d79f4cce20 100644
|
| --- a/third_party/WebKit/LayoutTests/http/tests/serviceworker/fetch-cors-xhr.html
|
| +++ b/third_party/WebKit/LayoutTests/http/tests/serviceworker/chromium/fetch-request-with-gc.html
|
| @@ -1,14 +1,18 @@
|
| <!DOCTYPE html>
|
| -<title>Service Worker: CORS XHR of fetch()</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>
|
| +<title>Service Worker: fetch(e.request) with GC</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>
|
| <body>
|
| +<!--
|
| +This test is placed on chromium/directory because it tests very blink specific
|
| +problems related to V8 and bindings.
|
| +-->
|
| <script>
|
| async_test(function(t) {
|
| - var SCOPE = 'resources/fetch-cors-xhr-iframe.html';
|
| - var SCRIPT = 'resources/fetch-rewrite-worker.js';
|
| + var SCOPE = 'resources/fetch-request-with-gc-iframe.html';
|
| + var SCRIPT = 'resources/fetch-request-with-gc.js';
|
| var host_info = get_host_info();
|
|
|
| login(t, host_info.HTTP_ORIGIN, host_info.HTTP_REMOTE_ORIGIN)
|
| @@ -33,6 +37,6 @@ async_test(function(t) {
|
| });
|
| })
|
| .catch(unreached_rejection(t));
|
| - }, 'Verify CORS XHR of fetch() in a Service Worker');
|
| + }, 'Calling gc and delaying calling fetch in onFetch should not lead to crash');
|
| </script>
|
| </body>
|
|
|