Show pending URL in location bar (and store for session restore) for tabs with no history, non-web-controlled about:blank loaded and a pending new URL
Categories
(Firefox :: Address Bar, defect, P3)
Tracking
()
People
(Reporter: tabutils+bugzilla, Assigned: daisuke)
References
(Blocks 2 open bugs, )
Details
(Keywords: dataloss, reproducible, Whiteboard: [snt-scrubbed][search-papercut])
Attachments
(2 files, 2 obsolete files)
Comment hidden (obsolete) |
Comment hidden (obsolete) |
Comment hidden (obsolete) |
Comment 4•14 years ago
|
||
Updated•14 years ago
|
Comment 6•14 years ago
|
||
Updated•14 years ago
|
Comment 7•14 years ago
|
||
Comment 8•14 years ago
|
||
Comment 9•14 years ago
|
||
Comment 10•14 years ago
|
||
Comment 11•14 years ago
|
||
Comment 12•14 years ago
|
||
Comment hidden (off-topic) |
Comment hidden (off-topic) |
Comment hidden (off-topic) |
Comment hidden (obsolete) |
Comment hidden (off-topic) |
Comment hidden (off-topic) |
Comment hidden (off-topic) |
Comment 20•14 years ago
|
||
Comment hidden (off-topic) |
Comment hidden (off-topic) |
Comment hidden (off-topic) |
Comment 24•14 years ago
|
||
Comment 25•14 years ago
|
||
Comment 26•14 years ago
|
||
Comment 27•14 years ago
|
||
Comment 28•14 years ago
|
||
Comment 29•14 years ago
|
||
Comment 30•14 years ago
|
||
Comment 31•14 years ago
|
||
Comment 32•14 years ago
|
||
Comment 33•14 years ago
|
||
Comment 34•14 years ago
|
||
Comment 35•14 years ago
|
||
Comment 36•14 years ago
|
||
Comment 37•14 years ago
|
||
Comment 38•14 years ago
|
||
Comment 39•14 years ago
|
||
Comment 40•14 years ago
|
||
Updated•14 years ago
|
Comment 41•14 years ago
|
||
Comment 42•14 years ago
|
||
Comment 43•14 years ago
|
||
Comment 44•14 years ago
|
||
Comment 45•14 years ago
|
||
Comment hidden (advocacy) |
Comment 47•14 years ago
|
||
Comment 48•14 years ago
|
||
Comment 49•14 years ago
|
||
Comment 50•14 years ago
|
||
Comment 51•14 years ago
|
||
Comment 52•14 years ago
|
||
Comment 53•14 years ago
|
||
Comment 54•14 years ago
|
||
Comment 55•14 years ago
|
||
Comment 56•14 years ago
|
||
Comment 57•14 years ago
|
||
Comment 58•14 years ago
|
||
Comment 59•14 years ago
|
||
Updated•14 years ago
|
Comment hidden (obsolete) |
Comment 61•14 years ago
|
||
Comment 64•14 years ago
|
||
Comment 67•14 years ago
|
||
Comment 70•13 years ago
|
||
Comment 71•13 years ago
|
||
Comment 72•13 years ago
|
||
Comment 73•13 years ago
|
||
Comment hidden (advocacy) |
Comment 76•13 years ago
|
||
Comment 77•13 years ago
|
||
Reporter | ||
Comment 78•13 years ago
|
||
Comment 79•13 years ago
|
||
Reporter | ||
Comment 80•13 years ago
|
||
Comment 81•13 years ago
|
||
Comment hidden (advocacy) |
Comment 84•11 years ago
|
||
Comment hidden (advocacy) |
Comment 86•11 years ago
|
||
Comment hidden (advocacy) |
Comment 88•11 years ago
|
||
Comment hidden (advocacy) |
Comment 90•11 years ago
|
||
Updated•11 years ago
|
Updated•11 years ago
|
Updated•11 years ago
|
Updated•11 years ago
|
Comment 91•10 years ago
|
||
Updated•10 years ago
|
Comment 92•9 years ago
|
||
Updated•9 years ago
|
Comment 95•9 years ago
|
||
Comment 96•9 years ago
|
||
Comment 97•9 years ago
|
||
Comment 98•9 years ago
|
||
Comment 99•9 years ago
|
||
Comment 100•9 years ago
|
||
Comment 101•9 years ago
|
||
Comment 102•9 years ago
|
||
Comment 103•9 years ago
|
||
Comment 104•9 years ago
|
||
Comment hidden (advocacy) |
Comment hidden (advocacy) |
Comment 109•8 years ago
|
||
Comment 110•8 years ago
|
||
Comment 113•8 years ago
|
||
Updated•8 years ago
|
Comment hidden (advocacy) |
Comment 115•8 years ago
|
||
Comment 116•8 years ago
|
||
Comment 117•8 years ago
|
||
Comment hidden (metoo) |
Comment hidden (metoo) |
Comment hidden (metoo) |
Comment 121•8 years ago
|
||
Comment hidden (metoo) |
Comment hidden (metoo) |
Comment 124•8 years ago
|
||
Comment hidden (metoo) |
Comment 126•8 years ago
|
||
Updated•8 years ago
|
Comment 127•8 years ago
|
||
Comment 128•8 years ago
|
||
Comment hidden (metoo) |
Comment 130•8 years ago
|
||
Comment hidden (metoo) |
Comment 132•8 years ago
|
||
Updated•8 years ago
|
Comment 134•8 years ago
|
||
Comment 135•8 years ago
|
||
Comment 136•8 years ago
|
||
Comment 137•8 years ago
|
||
Comment 138•8 years ago
|
||
Comment 139•8 years ago
|
||
Comment 140•7 years ago
|
||
Updated•6 years ago
|
Comment 141•5 years ago
|
||
I just hit this again when trying to open article from Planet Mozilla RSS feed (from Feedbro reader extension). My network connection is overloaded right now.
URL was https://marcozehe.de/2019/12/02/why-ai-will-never-replace-human-picture-descriptions/
- buttons inside address bar are not visible (•••, bookmark star, etc.)
- reload button at first is active, but after a moment (switching tabs?) changes state to inactive
- address is at first still available in address bar, but disappears after few attempts to load page again (not easy to reproduce but most irritating)
I checked browser console, and this connection does not have response headers - timeout on headers?
I think I have a way to easily reproduce this even on very good connections - just try to load URL with 204 response - it will have response headers, but for UI behavior it will be very similar (I see no difference).
Such address can be https://www.google.com/gen_204
Comment 142•5 years ago
|
||
And now I have easy way to make address disappear from address bar:
select "Reload Tab" from tab context menu (from tab bar).
Comment 143•5 years ago
|
||
(In reply to gwarser from comment #141)
Such address can be https://www.google.com/gen_204
(In reply to gwarser from comment #142)
select "Reload Tab" from tab context menu (from tab bar).
Doing these 2 steps I can reproduce the URI disappearing. Marco, can you take a look at why this happens?
Comment 144•5 years ago
|
||
Are you starting from the new tab page or about:blank?
UrlbarSetURI() is invoked to restore the url to the previous state in certain cases, in particular when the request was stopped before a location change:
https://searchfox.org/mozilla-central/rev/073b138dcba41cd3f858522e5f0a9ee73e39afa0/browser/base/content/tabbrowser.js#5790
That happened as a security fix in bug 724599.
If the previous state was an initial page (about:home, about:newtab, about:blank) then the urlbar becomes empty, that was the previous state.
Feedbro always opens in a new tab for me, that means the load starts from an empty urlbar, and reverts to an empty urlbar.
I'm not sure what we want to do there, the difference between pageproxystate valid/invalid is imo still too subtle to not confuse the user regarding "what is in the urlbar is not what is loaded in content", so I don't think we can lift that fix.
Comment 145•5 years ago
|
||
Feedbro case was only first one. I then tried few times from new tab/new tab from bookmark.
Should not new tab content be also restored? To "Top Sites" etc.? It does not - I see blank page. When 204 is executed from tab with page loaded (here), page is still loaded after request ends.
Maybe this security fix should be lifted for addresses loaded in new tabs? Tabs without any history?
204 case or tabs with history can be handled differently. My 204 example was only here to show how bad this looks (because it looks the same right now). You can imagine what I feel after opening dozens of tabs from RSS reader and then half are empty.
Comment 146•5 years ago
|
||
(In reply to gwarser from comment #145)
Should not new tab content be also restored? To "Top Sites" etc.? It does not - I see blank page. When 204 is executed from tab with page loaded (here), page is still loaded after request ends.
That's a different question, for which I don't have an answer, the address bar just restores its value, doesn't really navigate again. If we could detect the specific case precisely then surely things could be improved.
Maybe this security fix should be lifted for addresses loaded in new tabs? Tabs without any history?
Maybe, but it's an edge case still, so it may not get a lot of traction.
But after all, if I'm reading it correctly, what you are asking is pretty much what this bug is about: "Show pending URL in location bar (and store for session restore) for tabs with no history, non-web-controlled about:blank loaded and a pending new URL". Just replace about:blank with "empty initial page".
Comment 147•3 years ago
|
||
"Firefox does not load pages. Have to open 3 tabs to get firefox to load a page"
https://www.reddit.com/r/firefox/comments/qvgehr/firefox_does_not_load_pages_have_to_open_3_tabs/
"It very often fails to load a link so I have to click on the URL and hit enter for it to retry (regular refresh does not work)."
https://www.reddit.com/r/firefox/comments/qxcdh4/firefox_is_getting_really_slow_slately/
Comment hidden (advocacy) |
Comment hidden (advocacy) |
Comment 150•2 years ago
|
||
This may still be quite annoying in countries with slow or intermittent Internet connections, the fix should probably happen on the UI side, in URLBar code, but it requires particular attention to avoid security problems (spoofing of the url).
Gijs in comment 115 pointed out some of the cases where it may be safe, we may still want to reach to platform and security to verify the appropriate way to identify those cases.
Updated•2 years ago
|
Comment 151•2 years ago
|
||
The severity field for this bug is relatively low, S3. However, the bug has 14 duplicates, 52 votes and 59 CCs.
:adw, could you consider increasing the bug severity?
For more information, please visit auto_nag documentation.
Comment 152•2 years ago
|
||
(In reply to Release mgmt bot [:suhaib / :marco/ :calixte] from comment #151)
The severity field for this bug is relatively low, S3. However, the bug has 14 duplicates, 52 votes and 59 CCs.
:adw, could you consider increasing the bug severity?
This bug was originally opened (by me) 18 years ago (https://bugzilla.mozilla.org/show_bug.cgi?id=254714). It was fixed after a few years, and then it started happening again.
Updated•2 years ago
|
Assignee | ||
Comment 154•2 years ago
|
||
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Comment 156•2 years ago
|
||
Comment 157•2 years ago
|
||
Backed out for causing multiple failures in browser/base/content/test/tabs/browser_link_in_tab_title_and_url_prefilled.js / remote/cdp/test/browser/browser_cdp.js
Backout link: https://hg.mozilla.org/integration/autoland/rev/4d22ac50eacf9c86daec344420957bd4ac895405
Comment 158•2 years ago
|
||
Assignee | ||
Updated•2 years ago
|
Comment 159•2 years ago
|
||
I'm adding a note related to the fix.
What we're landing is an improvement to the overall situation with _blank targeted links, but it may not be a full coverage of any edge case, there's complex implications (included security) in many of them.
Bug 1824040 has already been filed to improve the situation re: Session Restore.
Since this bug has a really long history, and it's somewhat confusing, I'm encouraging you to file new bugs if you hit a case that was not fully fixed, rather than posting further comments here.
That will allow us to more efficiently track the single issues and solutions.
Comment 160•2 years ago
|
||
(In reply to Marco Bonardo [:mak] from comment #159)
Since this bug has a really long history, and it's somewhat confusing, I'm encouraging you to file new bugs if you hit a case that was not fully fixed, rather than posting further comments here.
That will allow us to more efficiently track the single issues and solutions.
Re the history of this bug, I feel obligated to mention that it's first incarnation was reported by yours truly, 19 years ago.
https://bugzilla.mozilla.org/show_bug.cgi?id=254714
Comment 161•2 years ago
|
||
bugherder |
Updated•2 years ago
|
Description
•