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

Unified Diff: third_party/WebKit/LayoutTests/imported/wpt/service-workers/stub-3.2.3-navigator-service-worker-active.html

Issue 2415873002: Import w3c tests for the service workers (Closed)
Patch Set: Rebase Created 4 years, 2 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
Index: third_party/WebKit/LayoutTests/imported/wpt/service-workers/stub-3.2.3-navigator-service-worker-active.html
diff --git a/third_party/WebKit/LayoutTests/imported/wpt/service-workers/stub-3.2.3-navigator-service-worker-active.html b/third_party/WebKit/LayoutTests/imported/wpt/service-workers/stub-3.2.3-navigator-service-worker-active.html
new file mode 100644
index 0000000000000000000000000000000000000000..f7406f59012fc8e197177e1c37e43d045a1fd70b
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/imported/wpt/service-workers/stub-3.2.3-navigator-service-worker-active.html
@@ -0,0 +1,40 @@
+<!DOCTYPE html>
+<html>
+<title>Service Workers: active</title>
+ <head>
+ <link rel="help" href="https://w3c.github.io/ServiceWorker/#navigator-service-worker-active">
+ <script src="/resources/testharness.js"></script>
+ <script src="/resources/testharnessreport.js"></script>
+
+ </head>
+ <body>
+
+<!--
+
+`navigator.serviceWorker.active` must return a [ServiceWorker][1] object
+representing the [active worker][2] that is currently undergoing or completed
+the activation process (from step 4 to step 9 of the [_Activation
+algorithm][3]) for the given [URL scope][4] in which the document is controlled
+(or to be controlled). `navigator.serviceWorker.active` returns `null` if no
+Service Worker [registration][5] is in the [activation process][6].
+
+[1]: #service-worker-interface
+[2]: #active-worker
+[3]: #activation-algorithm
+[4]: #url-scope
+[5]: #service-worker-registration-internal-interface
+[6]: #activation-process
+
+-->
+
+
+
+ <script>
+ test(function() {
+ // not_implemented();
+ }, "There are no tests for section active so far.");
+ </script>
+
+ </body>
+</html>
+

Powered by Google App Engine
This is Rietveld 408576698