diff options
Diffstat (limited to 'devtools/client/storage/test/storage-cache-basic-iframe.html')
-rw-r--r-- | devtools/client/storage/test/storage-cache-basic-iframe.html | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/devtools/client/storage/test/storage-cache-basic-iframe.html b/devtools/client/storage/test/storage-cache-basic-iframe.html new file mode 100644 index 0000000000..929660dc42 --- /dev/null +++ b/devtools/client/storage/test/storage-cache-basic-iframe.html @@ -0,0 +1,21 @@ +<!DOCTYPE HTML> +<html> +<head> + <meta charset="utf-8"> + <title>Storage inspector test for Cache</title> +</head> +<body> + <h1>Cache (iframe)</h1> +<script> + "use strict"; + async function setup() { // eslint-disable-line no-unused-vars + const cache = await caches.open("foo"); + await cache.add("storage-blank.html"); + } + function clear() { // eslint-disable-line no-unused-vars + return caches.delete("foo"); + } +</script> + +</body> +</html> |