Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- Manifest: dom/localstorage/test/unit/xpcshell.toml
/**
* Any copyright is dedicated to the Public Domain.
*/
/* import-globals-from databaseShadowing-shared.js */
loadSubscript("databaseShadowing-shared.js");
add_task(async function testSteps() {
// The shadow database was prepared in
// test_databaseShadowing_clearOriginsByPattern1.js
disableNextGenLocalStorage();
ok(
importShadowDatabase("shadowdb-clearedOriginsByPattern.sqlite"),
"Import succeeded"
);
verifyData([4, 5, 6], /* migrated */ true);
});