OLD | NEW |
(Empty) | |
| 1 <!DOCTYPE html> |
| 2 <html> |
| 3 <title>Service Workers: caches</title> |
| 4 <head> |
| 5 <link rel="help" href="https://w3c.github.io/ServiceWorker/#service-work
er-global-scope-caches"> |
| 6 <script src="/resources/testharness.js"></script> |
| 7 <script src="/resources/testharnessreport.js"></script> |
| 8 |
| 9 </head> |
| 10 <body> |
| 11 |
| 12 <!-- |
| 13 |
| 14 `self.caches` must return the `[CacheStorage][1]` object that is the global |
| 15 asynchronous map object for the `[ServiceWorkerGlobalScope][2]` execution |
| 16 context containing the cache objects keyed by the name of the caches. Caches |
| 17 are always enumerable via `self.caches` in insertion order (per [ECMAScript 6 |
| 18 Map objects][3].) |
| 19 |
| 20 [1]: #cache-storage-interface |
| 21 [2]: #service-worker-global-scope-interface |
| 22 [3]: http://goo.gl/gNnDPO |
| 23 |
| 24 --> |
| 25 |
| 26 |
| 27 |
| 28 <script> |
| 29 test(function() { |
| 30 // not_implemented(); |
| 31 }, "There are no tests for section caches so far."); |
| 32 </script> |
| 33 |
| 34 </body> |
| 35 </html> |
| 36 |
OLD | NEW |