| Index: third_party/WebKit/LayoutTests/http/tests/background_fetch/background-fetch-fail-event.https.html
|
| diff --git a/third_party/WebKit/LayoutTests/http/tests/background_fetch/background-fetch-fail-event.https.html b/third_party/WebKit/LayoutTests/http/tests/background_fetch/background-fetch-fail-event.https.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..aaf8c13ebbf5cfa9b550d1c5eea4c3f5d5f4a9e8
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/http/tests/background_fetch/background-fetch-fail-event.https.html
|
| @@ -0,0 +1,19 @@
|
| +<!doctype html>
|
| +<meta charset="utf-8">
|
| +<title>Background Fetch API: BackgroundFetchFailEvent tests</title>
|
| +<script src="/resources/testharness.js"></script>
|
| +<script src="/resources/testharnessreport.js"></script>
|
| +<script src="/serviceworker/resources/test-helpers.js"></script>
|
| +
|
| +<!-- TODO(peter): Upstream this test to WPT when the directory has been imported. -->
|
| +
|
| +<h1>BackgroundFetchFailEvent</h1>
|
| +<p>This test validates that the BackgroundFetchFailEvent is exposed, and can be
|
| +constructed with a tag and a sequence of settled responses.</p>
|
| +
|
| +<script>
|
| +'use strict';
|
| +
|
| +// This test needs to be run in a Service Worker.
|
| +service_worker_test('resources/background-fetch-fail-event-worker.js');
|
| +</script>
|
|
|