| OLD | NEW | 
| (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  | 
| OLD | NEW |