summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/html/browsers/offline/application-cache-api/api_update.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/html/browsers/offline/application-cache-api/api_update.html')
-rw-r--r--testing/web-platform/tests/html/browsers/offline/application-cache-api/api_update.html24
1 files changed, 24 insertions, 0 deletions
diff --git a/testing/web-platform/tests/html/browsers/offline/application-cache-api/api_update.html b/testing/web-platform/tests/html/browsers/offline/application-cache-api/api_update.html
new file mode 100644
index 000000000..452daa711
--- /dev/null
+++ b/testing/web-platform/tests/html/browsers/offline/application-cache-api/api_update.html
@@ -0,0 +1,24 @@
+<!DOCTYPE HTML>
+<html manifest="../resources/manifest/clock.manifest">
+ <head>
+ <title>Offline Application Cache - API_update</title>
+ <script src="/resources/testharness.js"></script>
+ <script src="/resources/testharnessreport.js"></script>
+ </head>
+ <body>
+ <div id="log"></div>
+
+ <script>
+ var cache = window.applicationCache;
+
+ test(function() {
+ try {
+ cache.update()
+ assert_true(true, "update method test")
+ } catch (e) {
+ assert_unreached("update method failed.");
+ }
+ });
+ </script>
+ </body>
+</html>