Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1393)

Unified Diff: third_party/WebKit/LayoutTests/http/tests/background_fetch/background-fetch-click-event.https.html

Issue 2745573002: Implement the events for Background Fetch (Closed)
Patch Set: more webexposed tests Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/http/tests/background_fetch/background-fetch-event.https.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/http/tests/background_fetch/background-fetch-click-event.https.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/background_fetch/background-fetch-click-event.https.html b/third_party/WebKit/LayoutTests/http/tests/background_fetch/background-fetch-click-event.https.html
new file mode 100644
index 0000000000000000000000000000000000000000..91e652a9765a0544b1611e7376ff0deb523a44d0
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/http/tests/background_fetch/background-fetch-click-event.https.html
@@ -0,0 +1,19 @@
+<!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 a tag 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>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/http/tests/background_fetch/background-fetch-event.https.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698