summaryrefslogtreecommitdiffstats
path: root/dom/cache/test/mochitest/test_caches.html
diff options
context:
space:
mode:
Diffstat (limited to 'dom/cache/test/mochitest/test_caches.html')
-rw-r--r--dom/cache/test/mochitest/test_caches.html22
1 files changed, 22 insertions, 0 deletions
diff --git a/dom/cache/test/mochitest/test_caches.html b/dom/cache/test/mochitest/test_caches.html
new file mode 100644
index 0000000000..63e43bc139
--- /dev/null
+++ b/dom/cache/test/mochitest/test_caches.html
@@ -0,0 +1,22 @@
+<!-- Any copyright is dedicated to the Public Domain.
+ - http://creativecommons.org/publicdomain/zero/1.0/ -->
+<!DOCTYPE HTML>
+<html>
+<head>
+ <title>Test the CacheStorage API</title>
+ <script src="/tests/SimpleTest/SimpleTest.js"></script>
+ <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
+ <script type="text/javascript" src="driver.js"></script>
+</head>
+<body>
+<iframe id="frame"></iframe>
+<script class="testbody" type="text/javascript">
+ // These tests can only be run in sequential mode because we need to be able
+ // to rely on the global state of the CacheStorage at all times.
+ runTests("test_caches.js", "sequential")
+ .then(function() {
+ SimpleTest.finish();
+ });
+</script>
+</body>
+</html>