Error page not working properly
Categories
(Firefox for Android :: Browser Engine, defect)
Tracking
()
People
(Reporter: csadilek, Unassigned)
Details
From github: https://github.com/mozilla-mobile/android-components/issues/6529.
Sample: SystemEngineView
Case 1:
If used as is, it does not work
val errorPageUri = ErrorPages.createUrlEncodedErrorPage( context = context, errorType = improvedErrorType, uri = uri, htmlResource = riskLevel.htmlRes ) return RequestInterceptor.ErrorResponse.Uri(errorPageUri)
Case 2:
Replace resource://android/assets to file:///android_asset
return RequestInterceptor.ErrorResponse.Uri(errorPageUri.replace("resource://android/assets", "file:///android_asset"))
The error page reloads and the site does not loadCase 3:
Use default content error page
return RequestInterceptor.ErrorResponse.Content(ErrorPages.createErrorPage(context, improvedErrorType, uri))
The error page just disappeared.
GeckoView might be the same.┆Issue is synchronized with this Jira Task
Change performed by the Move to Bugzilla add-on.
Comment 1•3 years ago
|
||
The severity field is not set for this bug.
:cpeterson, could you have a look please?
For more information, please visit auto_nag documentation.
Updated•3 years ago
|
Updated•2 years ago
|
Description
•