Closed
Bug 1833585
Opened 2 years ago
Closed 2 years ago
Middle-clicking the new tab button with an empty selection or clipboard opens a blank page without a title
Categories
(Firefox :: Tabbed Browser, defect)
Tracking
()
RESOLVED
FIXED
115 Branch
Tracking | Status | |
---|---|---|
firefox-esr102 | --- | unaffected |
firefox113 | --- | unaffected |
firefox114 | --- | unaffected |
firefox115 | --- | fixed |
People
(Reporter: ke5trel, Assigned: Gijs)
References
(Regression)
Details
(Keywords: regression)
Attachments
(2 files)
STR
- On Ubuntu 23.04 with
browser.tabs.searchclipboardfor.middleclick = true
. - Select or copy some empty space characters in a document.
- Click the new tab button with the middle mouse button.
Expected:
Nothing happens or a search is performed.
Actual:
A new tab is created with an empty page that has no title and the address bar contains the pasted content.
The tab initially gives the impression of being broken but continues to operate normally.
Console errors:
NS_ERROR_FAILURE: Should pass a non-null uri URIFixup.sys.mjs:295
NS_ERROR_FAILURE:
fixupAndLoadURIString resource://gre/modules/RemoteWebNavigation.sys.mjs:154
_internalMaybeFixupLoadURI chrome://browser/content/tabbrowser.js:7235
fixupAndLoadURIString chrome://browser/content/tabbrowser.js:7188
_kickOffBrowserLoad chrome://browser/content/tabbrowser.js:3095
addTab chrome://browser/content/tabbrowser.js:2784
openLinkIn resource:///modules/URILoadingHelper.sys.mjs:561
openTrustedLinkIn resource:///modules/URILoadingHelper.sys.mjs:716
openTrustedLinkIn chrome://browser/content/utilityOverlay.js:125
wrappedJSObject chrome://browser/content/browser.js:2903
BrowserOpenTab chrome://browser/content/browser.js:2899
handleNewTabMiddleClick chrome://browser/content/tabbrowser.js:4389
onclick chrome://browser/content/browser.xhtml:1
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Updated•2 years ago
|
Assignee: nobody → gijskruitbosch+bugs
Status: NEW → ASSIGNED
Assignee | ||
Comment 1•2 years ago
|
||
Pushed by gijskruitbosch@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/fc1bc442872d
don't try to search for whitespace-only clipboard contents when middle-clicking new tab, r=dao
Comment 3•2 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 115 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•