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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/wpt/service-workers/stub-4.1.5-service-worker-global-scope-update.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 unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <title>Service Workers: update()</title>
4 <head>
5 <link rel="help" href="https://w3c.github.io/ServiceWorker/#service-work er-global-scope-update">
6 <script src="/resources/testharness.js"></script>
7 <script src="/resources/testharnessreport.js"></script>
8
9 </head>
10 <body>
11
12 <!--
13
14 `update()` pings the server for an updated version of this script without
15 consulting caches. `self.update()` method must run the [_SoftUpdate
16 algorithm][1] passing its serviceWorkerRegistration object as the argument
17 which is the result of running the [_GetRegistration algorithm][2] with
18 `self.scope` as the argument. (This is conceptually the same operation that UA
19 does maximum once per every 24 hours.)
20
21 [1]: #soft-update-algorithm
22 [2]: #get-registration-algorithm
23
24 -->
25
26
27
28 <script>
29 test(function() {
30 // not_implemented();
31 }, "There are no tests for section update() so far.");
32 </script>
33
34 </body>
35 </html>
36
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698