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> |
+ |