Eliminate initial navigation to about:blank
Categories
(GeckoView :: General, task, P3)
Tracking
(geckoview64 wontfix, geckoview65 wontfix, geckoview66 wontfix, firefox-esr60 wontfix, firefox64 wontfix, firefox65 wontfix, firefox66 wontfix, firefox67 wontfix, firefox68 fix-optional)
People
(Reporter: snorp, Unassigned)
References
Details
Comment 2•7 years ago
|
||
Comment 3•7 years ago
|
||
Comment 4•7 years ago
|
||
Comment 5•7 years ago
|
||
Updated•6 years ago
|
Comment 8•6 years ago
|
||
Comment 9•6 years ago
|
||
Comment 10•6 years ago
|
||
P2 because this bug is not urgent for Focus, but [geckoview:fenix:p1] because Fenix cares about it. If this is a big hassle for GV, the Fenix UI can probably work around the issue by not displaying the about:blank URL in the address bar.
Note that this workaround already exists in our component, we ignore the initial load of about:blank.
| Reporter | ||
Comment 11•6 years ago
•
|
||
(In reply to Sebastian Kaspari (:sebastian) from comment #10)
P2 because this bug is not urgent for Focus, but [geckoview:fenix:p1] because Fenix cares about it. If this is a big hassle for GV, the Fenix UI can probably work around the issue by not displaying the about:blank URL in the address bar.
Note that this workaround already exists in our component, we ignore the initial load of about:blank.
Ah, ok. Focus does not. Maybe this isn't a big deal, then, if a-c already works around it?
Comment 12•6 years ago
|
||
Deferring until after Fenix MVP because A-C already has a workaround.
Comment 14•6 years ago
|
||
(In reply to James Willcox (:snorp) (jwillcox@mozilla.com) (he/him) from comment #11)
Ah, ok. Focus does not. Maybe this isn't a big deal, then, if a-c already works around it?
As per bug 814110, there could still be problems with aborting and then resuming an initial pageload.
Reloading generally reloads the current page, which in the general case is fine - if after clicking a link you manage to abort the page load quickly enough (before onlocationchange I think?), you remain on the previous page and I suppose it's absolutely expected that hitting reload would continue to reload the previous page.
For the initial page load in a new tab (especially where the page load happens together with opening the tab, like opening a link in a new tab, an external Intent being opened in a new tab, session restoring, etc.) on the other hand, the previous page will be about:blank, and a reload reloading about:blank if you quickly aborted the initial page load will be less helpful.
Comment 15•6 years ago
|
||
I'm not at all convinced bug 814110 is really a duplicate of this bug.
In particular, per spec, an initial about:blank is created whether there is a navigation or not. A reload after that via web-exposed APIs should reload that about:blank, unless some other navigation has matured (which in the setup of bug 814110 it has not).
Now the reload button in our UI could have different semantics from location.reload(), of course. But that's unrelated to about:blank navigations or anything like that. In particular, in the setup of bug 814110 the initial about:blank navigation has been canceled already by starting the "real" navigation, so it's really not relevant to the behavior. Am I just missing something?
Comment 16•6 years ago
|
||
(In reply to Boris Zbarsky [:bzbarsky, bz on IRC] from comment #15)
Now the reload button in our UI could have different semantics from location.reload(), of course. But that's unrelated to about:blank navigations or anything like that. In particular, in the setup of bug 814110 the initial about:blank navigation has been canceled already by starting the "real" navigation, so it's really not relevant to the behavior. Am I just missing something?
I see what you mean. I agree that bug 814110 is not a duplicate of this bug. I'll reopen bug 814110.
Updated•6 years ago
|
Updated•6 years ago
|
Updated•4 years ago
|
Updated•2 years ago
|
Comment 19•2 years ago
|
||
Status update: Bug 543435 is in a pretty good shape when it comes to Web-observable behavior aligning with Chrome. More work is still needed in 2023 to deal with stuff that's not Web-visible but is visible to chrome JS.
Description
•