Pressing Cmd+C in the address bar sometimes copies about:blank when the page hasn't fully loaded even though the full URL is selected
Categories
(Firefox :: Address Bar, defect, P3)
Tracking
()
People
(Reporter: mstange, Assigned: daisuke)
References
(Regression)
Details
(Keywords: regression, Whiteboard: [sng-scrubbed][search-papercut])
Attachments
(1 file)
48 bytes,
text/x-phabricator-request
|
diannaS
:
approval-mozilla-beta+
|
Details | Review |
This happened to me for the second time just now, where I pasted about:blank in a chat instead of the URL I meant to paste.
Steps to reproduce:
- Click a link which opens in a new foreground tab and which takes a second to load. For example, a link to a google doc from gmail.
- Press Cmd+L and Cmd+C.
Expected results:
The URL in the URL bar should be copied.
Expected results:
The string "about:blank" is copied instead, unless you wait long enough for the two redirects to complete.
Comment 1•1 year ago
|
||
The severity field is not set for this bug.
:adw, could you have a look please?
For more information, please visit BugBot documentation.
Comment 2•7 months ago
|
||
We are able to reproduce this using fakeresponse.com. This needs investigation. It may be a timing issue where we are asking browser for the current URI, which is still about:blank
at that point.
Here's a link to relevant code: https://searchfox.org/mozilla-central/rev/81f368dab93fff035ce7fcc376e16990e89dd5ec/browser/components/urlbar/UrlbarInput.sys.mjs#2478-2479
Updated•7 months ago
|
Assignee | ||
Updated•6 months ago
|
Assignee | ||
Comment 3•6 months ago
|
||
Assignee | ||
Updated•6 months ago
|
Comment 4•6 months ago
|
||
Set release status flags based on info from the regressing bug 610357
Updated•6 months ago
|
Updated•6 months ago
|
Pushed by dakatsuka.birchill@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/ff91f2868c64 If there is a loading page in _blank target, copy its URL r=adw
Comment 6•6 months ago
|
||
bugherder |
Updated•6 months ago
|
Comment 7•6 months ago
|
||
The patch landed in nightly and beta is affected.
:daisuke, is this bug important enough to require an uplift?
- If yes, please nominate the patch for beta approval.
- If no, please set
status-firefox120
towontfix
.
For more information, please visit BugBot documentation.
Assignee | ||
Comment 8•6 months ago
|
||
Comment on attachment 9360158 [details]
Bug 1830732: If there is a loading page in _blank target, copy its URL
Beta/Release Uplift Approval Request
- User impact if declined: If user copies the url of urlbar before finishing loading the page opened in _blank target, the content will be wrong ("about:blank " test will be copied).
- Is this code covered by automated tests?: Yes
- Has the fix been verified in Nightly?: Yes
- Needs manual test from QE?: No
- If yes, steps to reproduce:
- List of other uplifts needed: None
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): The main changes are some lines, and they affect only the copying behavior on the urlbar.
- String changes made/needed: None
- Is Android affected?: Unknown
Comment 9•6 months ago
|
||
Comment on attachment 9360158 [details]
Bug 1830732: If there is a loading page in _blank target, copy its URL
Approved for 120.0b5
Comment 10•6 months ago
|
||
uplift |
https://hg.mozilla.org/releases/mozilla-beta/rev/44ce5a574a04
Updated•6 months ago
|
Description
•