Closed Bug 1502950 Opened 6 years ago Closed 6 years ago

Error pages broken in custom tabs

Categories

(Firefox for Android Graveyard :: Custom Tabs, defect)

53 Branch
All
Android
defect
Not set
normal

Tracking

(firefox63 wontfix, firefox64 wontfix, firefox65 fixed)

RESOLVED FIXED
Firefox 65
Tracking Status
firefox63 --- wontfix
firefox64 --- wontfix
firefox65 --- fixed

People

(Reporter: droeh, Assigned: droeh)

References

Details

(Keywords: regression)

Attachments

(1 file, 1 obsolete file)

Error pages are currently broken in custom tabs, some quick testing makes it look like bug 1480095 or bug 1451476 is the culprit.
Attached patch Fix custom tabs error pages (obsolete) — Splinter Review
This fixes some regressions from bug 1480095 to get custom tabs error pages working properly again.
Assignee: nobody → droeh
Attachment #9020909 - Flags: review?(snorp)
Comment on attachment 9020909 [details] [diff] [review]
Fix custom tabs error pages

Review of attachment 9020909 [details] [diff] [review]:
-----------------------------------------------------------------

::: mobile/android/chrome/geckoview/GeckoViewNavigationContent.js
@@ +14,5 @@
>  // Implements nsILoadURIDelegate.
>  class GeckoViewNavigationContent extends GeckoViewContentModule {
>    onInit() {
>      docShell.loadURIDelegate = this;
> +    addEventListener("DOMContentLoaded", this);

It would be nice if we only did this for Fennec, since it's not useful otherwise.
Attachment #9020909 - Flags: review?(snorp) → review+
Depends on: 1503658
Updated per snorp's comment to only listen to DOMContentLoaded in Fennec, now depends on bug 1503658. Carrying over snorp's r+.
Attachment #9020909 - Attachment is obsolete: true
Attachment #9021610 - Flags: review+
Pushed by droeh@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/be98a5ed931b
Fix error pages in custom tabs. r=snorp
https://hg.mozilla.org/mozilla-central/rev/be98a5ed931b
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 65
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: