• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<!DOCTYPE html>
2<title>IndexedDB Offline</title>
3<p>This test models the typical design of an offline-aware authoring
4  application:
5<ul>
6<li>When "offline", a series of (fake) user events are logged into a
7  store
8<li>When "online", the events are played back to a (fake) server,
9  draining the store
10<li>When "online" a Worker synchronizes data from a (fake) remote
11  source into a store in chunks, then consolidates it into another
12  store
13</ul>
14
15<div id="status"></div>
16
17<button disabled="true" id="offline">Go Offline</button>
18<button disabled="true" id="online">Go Online</button>
19<div id="state"></div>
20
21<script src="indexeddb_app.js?cachebust"></script>