Closed Bug 1864534 Opened 6 months ago Closed 4 months ago

Remove old Firefox view code, tests and update the redirector

Categories

(Firefox :: Firefox View, task, P2)

task

Tracking

()

RESOLVED FIXED
123 Branch
Tracking Status
firefox123 --- fixed

People

(Reporter: sfoster, Assigned: nsharpley)

References

(Blocks 1 open bug)

Details

(Whiteboard: [fidefe-firefox-view])

Attachments

(1 file)

about:firefoxview currently points at the original Firefox View UX, as implemented in browser/components/firefoxview/firefoxview.html, and about:firefoxview-next results in firefoxview-next.html loading.

Although the primary way to access Firefox View is the toolbar button, we informally support directly loading it view the about:firefoxview URL, and this should be updated to point at the currently-shipping experience. We can do that by only updating the redirector itself, or by renaming files so that firefoxview-next.html becomes firefoxview.html. And maybe what was firefoxview.html becomes firefoxview-legacy.html?

This will involve updating tests, and if we want to keep the old experience working alongside the new, we'll probably want a about:firefoxview-legacy redirector so we can make the change incrementally.

The decision to do this (vs. waiting until we can just remove the old experience and move everything firefoxview-next over to firefoxview should be made in the context of a broader discussion about how we want to manage major changes going forward.

I'll confirm with product but I can't think of a reason to keep the old firefox view code around, and I think you're right that this should be in a patch with all work to remove old firefox view rather than supporting legacy firefox view.

Regarding potential future work, if we again find ourselves in a position of needing to work in a temporary about page, it shouldn't be difficult to re-add firefoxview-next, but I don't think we need to block on that decision.

Lets just remove the old code and tests - being sure to port over any that is needed first such as for synced tabs - and update the redirector in the same patch.

Priority: -- → P2
Summary: Update the redirector so about:firefox view points at the new experience → Remove old Firefox view code, tests and update the redirector
Blocks: 1864517
Assignee: nobody → nsharpley

We'll actually remove the tests as a first step in bug 1869605.

  • removes about:firefoxview-next route
  • about:firefoxview now points to firefoxview-next.html (until we rename)
  • remove pref for browser.tabs.firefox-view-next
  • preserve pref for browser.tabs.firefox-view-newIcon as part of firefoxViewNext feature manifest (until experiment is over)

Depends on D196080

Depends on: 1869605
Blocks: 1869833

Comment on attachment 9368285 [details]
Bug 1864534 - remove firefox-view-next pref and update about AboutRedirector r=sfoster

Revision D196093 was moved to bug 1850501. Setting attachment 9368285 [details] to obsolete.

Attachment #9368285 - Attachment is obsolete: true
Attachment #9368285 - Attachment description: Bug 1864534 - remove firefox-view-next pref and update about AboutRedirector r=sfoster → Bug 1864534 - remove firefox-view-next pref and update about AboutRedirector
Attachment #9368285 - Attachment is obsolete: false

Comment on attachment 9368285 [details]
Bug 1864534 - remove firefox-view-next pref and update about AboutRedirector r=sfoster

Revision D196093 was moved to bug 1850501. Setting attachment 9368285 [details] to obsolete.

Attachment #9368285 - Attachment is obsolete: true
Attachment #9368285 - Attachment is obsolete: false
Attachment #9368285 - Attachment description: Bug 1864534 - remove firefox-view-next pref and update about AboutRedirector → Bug 1864534 - remove firefox-view-next pref and update about AboutRedirector r=sfoster
Pushed by nsharpley@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/576e61e3970b
remove firefox-view-next pref and update about AboutRedirector r=fxview-reviewers,Gijs

Backed out for causing several browser chrome failures.

Push with failures: https://treeherder.mozilla.org/jobs?repo=autoland&resultStatus=testfailed%2Cbusted%2Cexception&revision=576e61e3970b803be63455fa2dc84a5eb0642be4&searchStr=bc&selectedTaskRun=RXMyvIzgScGsUN8t6PtelA.0

Failure logs:

Backout link: https://hg.mozilla.org/integration/autoland/rev/f01c568edb2688a905c351e7d49676130ca5e354

Pushed by nsharpley@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/6aab4af4cab8
remove firefox-view-next pref and update about AboutRedirector r=fxview-reviewers,Gijs
Pushed by nsharpley@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/0a133d5fd155
remove firefox-view-next pref and update about AboutRedirector r=fxview-reviewers,Gijs
Pushed by csabou@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/c2654b23e1c4
remove firefox-view-next pref and update about AboutRedirector r=fxview-reviewers,Gijs

Failures were actually from changes in Bug 1845150.

Flags: needinfo?(nsharpley)
Status: NEW → RESOLVED
Closed: 4 months ago
Resolution: --- → FIXED
Target Milestone: --- → 123 Branch
Regressions: 1874114
No longer regressions: 1874114
Blocks: 1874253
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: