Closed Bug 2029229 Opened 1 month ago Closed 1 month ago

Enable back/forward navigation across Smart Window states

Categories

(Core :: Machine Learning: Frontend, enhancement)

enhancement

Tracking

()

VERIFIED FIXED
152 Branch
Tracking Status
firefox-esr140 --- disabled
firefox150 + verified
firefox151 --- verified
firefox152 --- verified

People

(Reporter: jlevinsohn, Assigned: echa)

References

(Blocks 1 open bug)

Details

(Whiteboard: [aife])

Attachments

(3 files)

When navigating between Smart Window states (e.g. new tab, standalone chat, web pages), back/forward navigation is not consistently available. Users should be able to navigate backward and forward across these states.

  • Back/forward navigation is available when user has navigated between Smart Window states

  • Navigating forward past a new tab or standalone chat, then going back, allows returning to the previous state

  • Navigation history includes:

    • new tab (Smart Window empty state)
    • standalone chat
    • web pages visited within Smart Window
  • Back and forward controls update correctly based on navigation state

  • Navigating back restores the correct UI state (content, scroll position if applicable)

  • Behavior is consistent across full-width and sidebar modes

Figma link

Assignee: nobody → echa
Status: NEW → ASSIGNED
Pushed by echa@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/776304ba7e14 https://hg.mozilla.org/integration/autoland/rev/2d06dd8391ee Enable back/forward navigation across Smart Window states r=ai-frontend-reviewers,desktop-theme-reviewers,gcardieri,tgiles
Pushed by asilaghi@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/f865d0a420d4 https://hg.mozilla.org/integration/autoland/rev/239777a2e444 Revert "Bug 2029229 - Enable back/forward navigation across Smart Window states r=ai-frontend-reviewers,desktop-theme-reviewers,gcardieri,tgiles" for causing bc and TV failures at /aiwindow/ui/test/browser/browser

Backed out for causing bc and TV failures at aiwindow/ui/test/browser
Backout Link
Push with failures
Failure Log
Failure line TEST-UNEXPECTED-FAIL | leakcheck large nsGlobalWindowInner | browser/components/aiwindow/ui/test/browser/browser.toml

Flags: needinfo?(echa)
Pushed by echa@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/1817b65d0b17 https://hg.mozilla.org/integration/autoland/rev/86acc06cb45b Enable back/forward navigation across Smart Window states r=ai-frontend-reviewers,desktop-theme-reviewers,gcardieri,tgiles

firefox-beta Uplift Approval Request

  • User impact if declined/Reason for urgency: Currently in Smart Window user is not able to navigate back to full page chat mode or forwards out of full page chat mode
  • Code covered by automated testing?: yes
  • Fix verified in Nightly?: yes
  • Needs manual QE testing?: yes
  • Steps to reproduce for manual QE testing: - Open Smart Window and start full page chat
  • Once messages are sent in full page mode, navigate to another URL
  • Navigate "back"
  • Expected result: "Back" and "forward" nav buttons should be available
  • Risk associated with taking this patch: low
  • Explanation of risk level: Low: adding boolean check to see if user can navigate based on history
  • String changes made/needed?: No
  • Is Android affected?: unknown
Attachment #9573562 - Flags: approval-mozilla-beta?
Flags: qe-verify+

firefox-release Uplift Approval Request

  • User impact if declined/Reason for urgency: Currently in Smart Window user is not able to navigate back to full page chat mode or forwards out of full page chat mode
  • Code covered by automated testing?: yes
  • Fix verified in Nightly?: yes
  • Needs manual QE testing?: yes
  • Steps to reproduce for manual QE testing: - Open Smart Window and start full page chat
  • Once messages are sent in full page mode, navigate to another URL
  • Navigate "back"
  • Expected result: "Back" and "forward" nav buttons should be available
  • Risk associated with taking this patch: low
  • Explanation of risk level: Low: adding boolean check to see if user can navigate based on history
  • String changes made/needed?: No
  • Is Android affected?: unknown
Attachment #9573563 - Flags: approval-mozilla-release?
Status: ASSIGNED → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 152 Branch
Attachment #9573562 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
Attachment #9573563 - Flags: approval-mozilla-release? → approval-mozilla-release+
QA Whiteboard: [uplift][qa-ver-needed-c152/b151]

Verified as fixed in our latest Release 150.0.1, our Latest Beta 151.0b4 and our latest Nightly build 152.0a1 (2026-04-27)

Status: RESOLVED → VERIFIED
QA Whiteboard: [uplift][qa-ver-needed-c152/b151] → [uplift][qa-ver-done-c152/b151]
Flags: qe-verify+
QA Contact: rdoghi
Blocks: 2033844
Flags: needinfo?(echa)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: