summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/html/browsers/offline/browser-state/navigator_online_online.https.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/html/browsers/offline/browser-state/navigator_online_online.https.html')
-rw-r--r--testing/web-platform/tests/html/browsers/offline/browser-state/navigator_online_online.https.html17
1 files changed, 17 insertions, 0 deletions
diff --git a/testing/web-platform/tests/html/browsers/offline/browser-state/navigator_online_online.https.html b/testing/web-platform/tests/html/browsers/offline/browser-state/navigator_online_online.https.html
new file mode 100644
index 0000000000..81547c3fb9
--- /dev/null
+++ b/testing/web-platform/tests/html/browsers/offline/browser-state/navigator_online_online.https.html
@@ -0,0 +1,17 @@
+<!DOCTYPE HTML>
+<html>
+ <head>
+ <title>Offline Application Cache - navigator_online_online</title>
+ <script src="/resources/testharness.js"></script>
+ <script src="/resources/testharnessreport.js"></script>
+ </head>
+ <body>
+ <div id="log"></div>
+
+ <script>
+ test(function() {
+ assert_true(navigator.onLine, "onLine test");
+ });
+ </script>
+ </body>
+</html>