OLD | NEW |
(Empty) | |
| 1 <!doctype html> |
| 2 <meta charset="utf-8"> |
| 3 <title>Background Fetch API: BackgroundFetchFailEvent tests</title> |
| 4 <script src="/resources/testharness.js"></script> |
| 5 <script src="/resources/testharnessreport.js"></script> |
| 6 <script src="/serviceworker/resources/test-helpers.js"></script> |
| 7 |
| 8 <!-- TODO(peter): Upstream this test to WPT when the directory has been imported
. --> |
| 9 |
| 10 <h1>BackgroundFetchFailEvent</h1> |
| 11 <p>This test validates that the BackgroundFetchFailEvent is exposed, and can be |
| 12 constructed with a tag and a sequence of settled responses.</p> |
| 13 |
| 14 <script> |
| 15 'use strict'; |
| 16 |
| 17 // This test needs to be run in a Service Worker. |
| 18 service_worker_test('resources/background-fetch-fail-event-worker.js'); |
| 19 </script> |
OLD | NEW |