summaryrefslogtreecommitdiffstats
path: root/toolkit/components/places/tests/maintenance/test_places_replaceOnStartup_clone.js
blob: d2ef1374e9cbbbbd7a695a828a7923836e53be87 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* Any copyright is dedicated to the Public Domain.
   http://creativecommons.org/publicdomain/zero/1.0/ */

// Tests that history initialization correctly handles a request to forcibly
// replace the current database.

add_task(async function () {
  await test_database_replacement(
    ["migration", "places_v43.sqlite"],
    "places.sqlite",
    true,
    PlacesUtils.history.DATABASE_STATUS_UPGRADED
  );
});