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

Unified Diff: third_party/WebKit/LayoutTests/imported/wpt/service-workers/stub-4.3.2-reloadall-method.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-4.3.2-reloadall-method.html
diff --git a/third_party/WebKit/LayoutTests/imported/wpt/service-workers/stub-4.3.2-reloadall-method.html b/third_party/WebKit/LayoutTests/imported/wpt/service-workers/stub-4.3.2-reloadall-method.html
new file mode 100644
index 0000000000000000000000000000000000000000..c5a9dd45404a52c8175967e340ae04095964c127
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/imported/wpt/service-workers/stub-4.3.2-reloadall-method.html
@@ -0,0 +1,37 @@
+<!DOCTYPE html>
+<html>
+<title>Service Workers: reloadAll()</title>
+ <head>
+ <link rel="help" href="https://w3c.github.io/ServiceWorker/#reloadall-method">
+ <script src="/resources/testharness.js"></script>
+ <script src="/resources/testharnessreport.js"></script>
+
+ </head>
+ <body>
+
+<!--
+
+`reloadAll()` provides a mechanism for the worker to request synchronized
+re-fetch of all documents whose URLs match the registration's [URL scope][1].
+An event named `reloadpage` is dispatched on the `navigator.serviceWorker`
+object of each document. The in-document handlers may allow the event to
+continue, request an extension (via [`e.waitUntil()`][2]), or cancel the
+collective reload by calling [`e.preventDefault()`][3].
+
+[1]: #url-scope
+[2]: #wait-until-method
+[3]: http://goo.gl/2zH6ie
+
+-->
+
+
+
+ <script>
+ test(function() {
+ // not_implemented();
+ }, "There are no tests for section reloadAll() so far.");
+ </script>
+
+ </body>
+</html>
+

Powered by Google App Engine
This is Rietveld 408576698