Open Bug 2006027 Opened 10 months ago Updated 10 months ago

sync-about-blank causes an unexpected, additional about:blank in session store

Categories

(Core :: Session Restore, defect, P3)

defect

Tracking

()

Tracking Status
firefox-esr140 --- unaffected
firefox146 --- unaffected
firefox147 --- unaffected
firefox148 --- fix-optional

People

(Reporter: vhilla, Unassigned)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

Attached file session store state —

Testcase

add_task(async function () {
  const tab = await BrowserTestUtils.openNewForegroundTab({ gBrowser, opening: "https://example.com", waitForLoad: true });
  await TabStateFlusher.flushWindow(window);
  let state = SessionStore.getCurrentState(true);
  SessionStore.keepOnlyWorthSavingTabs(state);
  dump(JSON.stringify(state) + "\n");
});

Expected: state should list one window with one tab for example.com
Actual: state contains one window with two tabs about:blank and example.com

I'm unsure if this is observable outside of browser tests.

See Also: → sync-about-blank
Keywords: regression
Regressed by: sync-about-blank
See Also: sync-about-blank →

Set release status flags based on info from the regressing bug 543435

Vincent, S3 sound good?

Severity: -- → S3
Flags: needinfo?(vhilla)

Yes, maybe even S4.

I wasn't able to trigger this directly in the browser and am not aware of bugs being filed for about:blank being restored unexpectedly. As long as this only happens with BrowserTestUtils, it seems ok.

Flags: needinfo?(vhilla)

Next week is the final week of nightly for Fx148.

:vhilla, what is the current status of the investigation/priority here? Is this something you need to fix for Fx148?

Flags: needinfo?(vhilla)

As long as we don't see this happening in the wild, i.e. it only occurs with BrowserTestUtils, this is low priority.

Flags: needinfo?(vhilla)
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: