summaryrefslogtreecommitdiffstats
path: root/dom/localstorage/test/unit/test_databaseShadowing1.js
blob: 8582f434fc0f609470f4e6dd0a453a7e75d4f3a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/**
 * Any copyright is dedicated to the Public Domain.
 * http://creativecommons.org/publicdomain/zero/1.0/
 */

/* import-globals-from databaseShadowing-shared.js */
loadSubscript("databaseShadowing-shared.js");

add_task(async function testSteps() {
  enableNextGenLocalStorage();

  storeData();

  verifyData([]);

  // Wait for all database connections to close.
  let request = reset();
  await requestFinished(request);

  exportShadowDatabase("shadowdb.sqlite");

  // The shadow database is now prepared for test_databaseShadowing2.js
});