blob: 4a2bacb79d9f7b47eaf9d7c5e3fc533ad75b6c35 [file] [log] [blame]
<!doctype html>
<meta charset="utf-8">
<title>Background Fetch API: BackgroundFetchClickEvent 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>BackgroundFetchClickEvent</h1>
<p>This test validates that the BackgroundFetchClickEvent is exposed and can
be constructed with an id and a valid state.</p>
<script>
'use strict';
// This test needs to be run in a Service Worker.
service_worker_test('resources/background-fetch-click-event-worker.js');
</script>