Closed Bug 1554302 Opened 5 years ago Closed 4 years ago

Cannot go back after navigating to main process pages (e.g. about: pages)

Categories

(GeckoView :: General, defect, P1)

Unspecified
Android

Tracking

(firefox67 wontfix, firefox67.0.1 wontfix, firefox68 wontfix, firefox69 wontfix, firefox70 wontfix, firefox71 wontfix, firefox72 wontfix, firefox75 fixed)

RESOLVED FIXED
mozilla75
Tracking Status
firefox67 --- wontfix
firefox67.0.1 --- wontfix
firefox68 --- wontfix
firefox69 --- wontfix
firefox70 --- wontfix
firefox71 --- wontfix
firefox72 --- wontfix
firefox75 --- fixed

People

(Reporter: agi, Assigned: agi)

References

Details

(Whiteboard: [geckoview:m74][geckoview:m75])

Attachments

(1 file, 1 obsolete file)

After navigating to main process pages like about:config, the back button doesn't work in GVE and Fenix. onCanGoBack returns false.

This is important because WebExtension pages run in the main process and are affected by this.

This is the mozregression for about:config, looks like it has never worked:

7:09.00 INFO: Last good revision: 0dd3fef17f153feec51df058785579dcdeb91d83
7:09.00 INFO: First bad revision: 7131a22bb5e73218aa244df81feb14704ac0481d
7:09.00 INFO: Pushlog:

https://hg.mozilla.org/integration/mozilla-inbound/pushloghtml?fromchange=0dd3fef17f153feec51df058785579dcdeb91d83&tochange=7131a22bb5e73218aa244df81feb14704ac0481d

Probably e10s related per Randall and Agi. (Randall confirmed FxR works, e10s off)

Just adding that we're running into this after calling browser.tabs.update. The tab is correctly updated, but it's no longer possible to navigate in history. Worth noting that subsequent browser.tabs.update calls also do not work, which seems related. If it it's not, please let me know and I'll file a separate issue.

Priority: -- → P1
Whiteboard: [geckoview:fenix:m6]

Emily is investigating. This bug is a problem for Fenix's about:reader pages.

Assignee: nobody → etoop
Assignee: etoop → nobody

Emily says Agi will pick this bug up next week.

Assignee: nobody → agi
Summary: Cannot go back after navigating to main process pages → Cannot go back after navigating to main process pages (e.g. about: pages)

Looks like Desktop solves this problem by restoring history after every process switch. So I'm just going to do that on mobile too.

Fenix MVP is going to release with or without this fix, so it's not technically a Fenix MVP blocker. I'll move this bug to the next Fenix milestone (M7).

OS: All → Android
Whiteboard: [geckoview:fenix:m6] → [geckoview:fenix:m7]

This bug blocks a Fenix issue related to zooming and converting A-C's Reader View extension to an extension page: https://github.com/mozilla-mobile/fenix/issues/2633

Deferring this bug to Q4. Agi understands the problem, but the solution is tricky and would take a couple months. Agi recommends we wait for the Fission team to implement async history (which we can use without enabling Fission).

@ Agi, do you know the bug # for Fission's async history work? Is it meta bug 1467221: "Fission Session History Work"?

Assignee: agi → nobody
Flags: needinfo?(agi)
Priority: P1 → P2
Whiteboard: [geckoview:fenix:m7] → [geckoview:fenix:m9]

I believe that is the correct bug to watch for.

Flags: needinfo?(agi)
Rank: 31
Whiteboard: [geckoview:fenix:m9]

Tentatively adding to GV's December sprint.

Rank: 31 → 8
Whiteboard: [geckoview:m1912?]
Whiteboard: [geckoview:m1912?] → [geckoview:m1912]
Whiteboard: [geckoview:m1912]
Whiteboard: [geckoview:m74]
Priority: P2 → P1
Assignee: nobody → agi
Whiteboard: [geckoview:m74] → [geckoview:m74][geckoview:m75]
Attachment #9125647 - Attachment is obsolete: true

I'm not sure it's related but in the current beta 74.0b3 (64-bit), when you open any addon page, then manually change URL to any http page, you won't be able to navigate back to the addon page. This often happens if you use some addon to override your new tab page.

Pushed by asferro@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/a8bcd715e7b1
Restore history when switching process during navigation. r=snorp
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla75
Regressions: 1622926
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: