/* Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ */ "use strict"; /** * Tests that if a pre-existing about:home cache exists, that it can * be overwritten with new information. */ add_task(async function test_overwrite_cache() { await withFullyLoadedAboutHome(async browser => { await simulateRestart(browser); const TEST_ID = "test_overwrite_cache_h1"; // We need the CSP meta tag in about: pages, otherwise we hit assertions in // debug builds. await injectIntoCache( `