Open Bug 1897663 Opened 1 year ago Updated 13 days ago

HTTP status codes: Browser sometimes displays a completely white or black page instead of an error message

Categories

(Firefox for Android :: Browser Engine, defect)

Firefox 127
All
Android
defect

Tracking

()

Tracking Status
firefox126 --- ?
firefox127 --- affected
firefox128 --- affected

People

(Reporter: Webworkr, Unassigned, NeedInfo)

References

()

Details

(Whiteboard: [fxdroid][group1])

User Agent: Mozilla/5.0 (Android 14; Mobile; rv:127.0) Gecko/127.0 Firefox/127.0

Steps to reproduce:

Open a URL that leads to a 404 error.

Actual results:

In some cases, Fenix delivers a completely white or black side.

Expected results:

Generally deliver the standard or, if available, user-defined error page.

Firefox beta
127.0b3 (Build #2016021375), hg-197cdbb72e16+
GV: 127.0-20240517091915
AS: 127.0

I also noticed this error under Nightly:

128.0a1 (Build #2016020879), hg-b2c1906d3f6e+
GV: 128.0a1-20240514215634
AS: 128.20240514050332

See Also: → 1890484

The bug has a release status flag that shows some version of Firefox is affected, thus it will be considered confirmed.

Status: UNCONFIRMED → NEW
Ever confirmed: true

The severity field is not set for this bug.
:boek, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(jboek)
Severity: -- → S2
Component: General → Browser Engine
Flags: needinfo?(jboek)
See Also: → 1897807

The underlying handling was fixed in bug 1325876 and then enabled (for Desktop only) in bug 1944358. With those changes I get a our own "410" error page for the heise link in comment 2. www.intro.de seems to be gone or down so I couldn't test that.

If you change the pref to false in Fenix Nightly (about:config) you do get a browser error page instead of blank, but it's extremely generic and doesn't report the server error. A bit misleading, in fact: "Cannot Complete Request" implies we're having problems when it's the server telling us IT has the prohblem, and "addition information ... is currently unavailable" is basically a lie. That's probably why this hasn't been enabled yet for Fenix.

Depends on: 1325876
See Also: → 1944358
Summary: Error 404: Browser sometimes displays a completely white or black page instead of an error message → HTTP status codes: Browser sometimes displays a completely white or black page instead of an error message

HTTP status code 405 is also not displayed.

browser.http.blank_page_with_error_response.enabled is still disabled on Android because of bug 1325876 comment #32.
Sean Kim, do you have any plan to enable it on Android?

Flags: needinfo?(sean.skim21)

Redirect a needinfo that is pending on an inactive user to the triage owner.
:boek, since the bug has high severity and recent activity, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(sean.skim21) → needinfo?(jboek)
Flags: needinfo?(c52w1h6sv)
Flags: needinfo?(jboek)
Whiteboard: [fxdroid][group1]
Severity: S2 → S3
You need to log in before you can comment on or make changes to this bug.