mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
36 lines
961 B
HTML
36 lines
961 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<title>Service Workers: caches</title>
|
|
<head>
|
|
<link rel="help" href="https://slightlyoff.github.io/ServiceWorker/spec/service_worker/#service-worker-global-scope-caches">
|
|
<script src="/resources/testharness.js"></script>
|
|
<script src="/resources/testharnessreport.js"></script>
|
|
|
|
</head>
|
|
<body>
|
|
|
|
<!--
|
|
|
|
`self.caches` must return the `[CacheStorage][1]` object that is the global
|
|
asynchronous map object for the `[ServiceWorkerGlobalScope][2]` execution
|
|
context containing the cache objects keyed by the name of the caches. Caches
|
|
are always enumerable via `self.caches` in insertion order (per [ECMAScript 6
|
|
Map objects][3].)
|
|
|
|
[1]: #cache-storage-interface
|
|
[2]: #service-worker-global-scope-interface
|
|
[3]: http://goo.gl/gNnDPO
|
|
|
|
-->
|
|
|
|
|
|
|
|
<script>
|
|
test(function() {
|
|
// not_implemented();
|
|
}, "There are no tests for section caches so far.");
|
|
</script>
|
|
|
|
</body>
|
|
</html>
|
|
|