Commit 5f995132 authored by Han Leon's avatar Han Leon Committed by Commit Bot

[ServiceWorker] Fix wpt test claim-fetch.https.html

Only content of claim-fetch.https.html needs to be revised.

BUG=678905
TEST=blink_tests
external/wpt/service-workers/service-worker/claim-fetch.https.html

Change-Id: I0efb5298847bb69c0f29bc2dffb1fc51c5a02960
Reviewed-on: https://chromium-review.googlesource.com/544677
Commit-Queue: Matt Falkenhagen <falken@chromium.org>
Reviewed-by: default avatarMatt Falkenhagen <falken@chromium.org>
Cr-Commit-Position: refs/heads/master@{#481891}
parent 0b780180
This is a testharness.js-based test.
FAIL fetch() should be intercepted after the client is claimed. promise_test: Unhandled rejection with value: object "TypeError: Cannot read property 'appendChild' of null"
Harness: the test ran to completion.
...@@ -4,11 +4,12 @@ ...@@ -4,11 +4,12 @@
<script src="/resources/testharness.js"></script> <script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script> <script src="/resources/testharnessreport.js"></script>
<script src="resources/test-helpers.sub.js"></script> <script src="resources/test-helpers.sub.js"></script>
<body>
<script> <script>
promise_test(function(t) { promise_test(function(t) {
var frame; var frame;
var resource = 'resources/simple.txt'; var resource = 'simple.txt';
var worker; var worker;
var scope = 'resources/'; var scope = 'resources/';
...@@ -65,3 +66,4 @@ promise_test(function(t) { ...@@ -65,3 +66,4 @@ promise_test(function(t) {
}, 'fetch() should be intercepted after the client is claimed.') }, 'fetch() should be intercepted after the client is claimed.')
</script> </script>
</body>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment