Bug 1816898 - Fix docshell/test/unit/test_allowJavascript.js for thunderbird r=nika

The browsing context might be replaced after the navigation

Differential Revision: https://phabricator.services.mozilla.com/D170596
This commit is contained in:
Julian Descottes 2023-02-23 21:35:20 +00:00
parent e97cf6b88d
commit b52f247f59

View file

@ -273,6 +273,7 @@ add_task(async function() {
);
await page.loadURL("http://example.org/?other");
bc = page.browsingContext;
await assertLoadFired(
bc,