Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <!doctype html> | |
| 2 <meta charset="utf-8"> | |
| 3 <title>Background Fetch API: BackgroundFetchClickEvent 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>BackgroundFetchClickEvent</h1> | |
| 11 <p>This test validates that the BackgroundFetchClickEvent is exposed and can | |
| 12 be constructed with a tag and a valid state.</p> | |
| 13 | |
| 14 <script> | |
| 15 'use strict'; | |
| 16 | |
| 17 // This test needs to be ran in a Service Worker. | |
|
harkness
2017/03/09 19:41:15
micro-nit: run
Peter Beverloo
2017/03/10 14:03:49
Done.
| |
| 18 service_worker_test('resources/background-fetch-click-event-worker.js'); | |
| 19 </script> | |
| OLD | NEW |