Closed Bug 1863392 Opened 2 years ago Closed 2 years ago

Ctrl+N doesn't open a blank window (restores an old window instead)

Categories

(Firefox :: Session Restore, defect)

defect

Tracking

()

RESOLVED INVALID

People

(Reporter: emilio, Unassigned)

References

Details

I've seen this for a while now. I have sync and "Open previous windows and tabs".

Pressing Ctrl+N (or Cmd+N on macOS, same on both Linux and macOS at least) will open a window and instantly open ~100 old tabs from a previous window.

That doesn't seem expected as noted by :sfoster.

I took a profile: https://share.firefox.dev/3MwALDB

It seems this comes from _handleURIToLoad:

_handleURIToLoad/< [chrome://browser/content/browser.js:2158:28]
_callWithURIToLoad [chrome://browser/content/browser.js:2441:20]
_handleURIToLoad [chrome://browser/content/browser.js:2157:18]
_delayedStartup [chrome://browser/content/browser.js:1813:17]
js::RunScript
js::BoundFunctionObject::call(JSContext*, unsigned int, JS::Value*) [js/src/vm/BoundFunctionObject.cpp]
CallJSNative(JSContext*, bool (*)(JSContext*, unsigned int, JS::Value*), js::CallReason, JS::CallArgs const&) [js/src/vm/Interpreter.cpp]

BrowserHandler.defaultArgs is a massive string with 150 tabs.

Blerg, my bad. I had a massive list of pages in the "custom home page" pref that I had to investigate a bug at some point (probably bug 1841186 or so?).

Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.