The Google Search page performed by the AI assistant is missing from history when navigating back
Categories
(Core :: Machine Learning: Frontend, defect)
Tracking
()
People
(Reporter: rdoghi, Assigned: chloezhou)
References
(Blocks 1 open bug, Regressed 1 open bug)
Details
(Whiteboard: [aife][chat])
Attachments
(3 files)
Found in
- Nightly 152.0a1 (2026-04-23)
Affected versions
- Nightly 152.0a1 (2026-04-23)
Beta 151.0b1
Release 150
Affected platforms
- All
Steps to reproduce
- Reach a pair of shoes on amazon.com
- Ask the Assistant for a different pair of shoes it would need to search for on google.
- Ask the assistant for a Link to the first suggestion.
- Click the link from the latest response.
- Hit The Back navigation button.
Expected result
- The Google search page done by the AI model should be displayed.
Actual result
- The Original page from before the google search page is displayed.
Regression range
N/A
Updated•4 months ago
|
Comment 1•3 months ago
|
||
The severity field is not set for this bug.
:Mardak, could you have a look please?
For more information, please visit BugBot documentation.
| Assignee | ||
Comment 2•3 months ago
|
||
When the assistant runs the search tool, it navigates the user's tab to the SERP programmatically. Because the navigation isn't a user gesture and the user typically doesn't scroll or click on the SERP before asking a follow-up, the resulting nsISHEntry never gets its hasUserInteraction flag set. With browser.navigation.requireUserInteraction on (the default), the Back button then skips that entry on the way back from any subsequent page, making it look like the SERP was never in history at all.
Set hasUserInteraction = true on the new SHEntry right after the navigation completes in RunSearch.#performSearchAndWait, since the search was explicitly requested by the user via the assistant.
Updated•3 months ago
|
Comment 4•3 months ago
|
||
| bugherder | ||
| Reporter | ||
Comment 5•3 months ago
|
||
Verified as fixed in our latest Nightly 153.0a1 (2026-06-03)
Updated•3 months ago
|
Updated•2 months ago
|
Comment 6•2 months ago
|
||
Is this something we need to nominate for Beta uplift?
Comment 7•2 months ago
|
||
firefox-beta Uplift Approval Request
- User impact if declined/Reason for urgency: When a user asks the assistant to search and then clicks a result, pressing Back jumps past the SERP back to whatever was on the tab before the assistant ran — making it look like the search history vanished. This is confusing and a notable usability regression specifically for assistant initiated workflows.
- Code covered by automated testing?: yes
- Fix verified in Nightly?: yes
- Needs manual QE testing?: no
- Steps to reproduce for manual QE testing:
- Risk associated with taking this patch: low
- Explanation of risk level: The change is a single-line behavior tweak scoped to RunSearch.#performSearchAndWait — it sets hasUserInteraction = true only on the SHEntry produced by the assistant's own programmatic navigation, after that navigation completes. It can't affect non-assistant navigations or sites the user reaches by other means.
- String changes made/needed?: None
- Is Android affected?: no
| Assignee | ||
Comment 8•2 months ago
|
||
When the assistant runs the search tool, it navigates the user's tab to the SERP programmatically. Because the navigation isn't a user gesture and the user typically doesn't scroll or click on the SERP before asking a follow-up, the resulting nsISHEntry never gets its hasUserInteraction flag set. With browser.navigation.requireUserInteraction on (the default), the Back button then skips that entry on the way back from any subsequent page, making it look like the SERP was never in history at all.
Set hasUserInteraction = true on the new SHEntry right after the navigation completes in RunSearch.#performSearchAndWait, since the search was explicitly requested by the user via the assistant.
Original Revision: https://phabricator.services.mozilla.com/D302900
Updated•2 months ago
|
Updated•2 months ago
|
Updated•2 months ago
|
| Reporter | ||
Comment 10•2 months ago
|
||
Verified as fixed in our latest Beta 152.0b10
| Reporter | ||
Updated•2 months ago
|
Updated•2 months ago
|
Description
•