Ctrl+N doesn't open a blank window (restores an old window instead)
Categories
(Firefox :: Session Restore, defect)
Tracking
()
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.
| Reporter | ||
Comment 1•2 years ago
|
||
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]
| Reporter | ||
Comment 2•2 years ago
|
||
BrowserHandler.defaultArgs is a massive string with 150 tabs.
| Reporter | ||
Comment 3•2 years ago
|
||
https://searchfox.org/mozilla-central/rev/e94bcd536a2a4caad0597d1b2d624342e6a389c4/browser/modules/BrowserWindowTracker.sys.mjs#310 was introduced in bug 713713, but not sure if it could've introduced this.
| Reporter | ||
Comment 4•2 years ago
|
||
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?).
Description
•