blob: 83d347b69f648b2c2b9e9bc4297d5b1dd92b2e4b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at <http://mozilla.org/MPL/2.0/>. */
PromiseTestUtils.allowMatchingRejectionsGlobally(/Connection closed/);
// Test that sources appear in the debugger when navigating using the BFCache.
add_task(async function() {
const dbg = await initDebugger("doc-bfcache1.html");
await navigate(dbg, "doc-bfcache2.html", "doc-bfcache2.html");
invokeInTab("goBack");
await waitForSources(dbg, "doc-bfcache1.html");
invokeInTab("goForward");
await waitForSources(dbg, "doc-bfcache2.html");
ok(true, "Found sources after BFCache navigations");
});
|