From 77eed67ea5fd4c40b1d67852e1514c93160be280 Mon Sep 17 00:00:00 2001 From: Remy Sharp Date: Thu, 4 Mar 2010 15:09:30 +0000 Subject: [PATCH] New demo to demonstrate on and offline events and expose bugs in browsers. --- demos/offline-events.html | 54 +++++++++++++++++++++++++++++++++++++++ demos/offline.html | 21 +++++++-------- index.php | 1 + 3 files changed, 66 insertions(+), 10 deletions(-) create mode 100644 demos/offline-events.html diff --git a/demos/offline-events.html b/demos/offline-events.html new file mode 100644 index 0000000..9d3e39e --- /dev/null +++ b/demos/offline-events.html @@ -0,0 +1,54 @@ +on/offline event capture + +
+

Test required here: File -> Work Offline - toggle the value and there should be three list items notifying of online and offline.

+ +

Note that the test shows

+
+ \ No newline at end of file diff --git a/demos/offline.html b/demos/offline.html index a742bc0..dcb255e 100644 --- a/demos/offline.html +++ b/demos/offline.html @@ -1,18 +1,19 @@ Online connectivity monitoring

Current network status: checking...

+
    \ No newline at end of file diff --git a/index.php b/index.php index 2dc54a3..08ea2bd 100644 --- a/index.php +++ b/index.php @@ -26,6 +26,7 @@
  1. drag and drop (IE, Safari 4, FF3.5)
  2. drag anything (IE, Safari 4, FF3.5)
  3. offline detection (FF3.5, iPhone OS 3)
  4. +
  5. on/offline event tests (Opera, Firefox - requires "Work Offline")
  6. offline application using the manifest (Safari 4, FF3.5.3) (Note: pre-FF3.5.3 has a bug)
  7. Storage (all latest browsers)
  8. Web SQL Database Storage (Safari, iPhone OS 3, Opera 10.50)