| <!doctype html> |
| <meta charset="utf-8"> |
| <title>Background Fetch API: BackgroundFetchUpdateEvent tests</title> |
| <script src="/resources/testharness.js"></script> |
| <script src="/resources/testharnessreport.js"></script> |
| <script src="/serviceworker/resources/test-helpers.js"></script> |
| |
| <h1>BackgroundFetchUpdateEvent</h1> |
| <p>This test validates that the BackgroundFetchUpdateEvent is exposed, and can be |
| constructed with an id 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-update-event-worker.js'); |
| </script> |