Google Advanced Search terms not remembered when navigating back after visiting a search result
Categories
(Core :: DOM: Navigation, defect, P2)
Tracking
()
People
(Reporter: ke5trel, Assigned: peterv)
References
(Regression, )
Details
(Keywords: regression)
Attachments
(2 files)
STR:
- Visit https://www.google.com/advanced_search.
- Enter search terms into each of the boxes.
- Click the "Advanced Search" button at the bottom.
- Visit one of the search results.
- Press back twice to return to the Advanced Search page.
Expected:
Search terms still remain.
Actual:
Search terms are missing and need to be re-entered.
Does not happen with docshell.shistory.bfcache.ship_allow_beforeunload_listeners = false.
Regression window:
https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=e5ebdee1eac6efa37b7e83861bc179b155f98ae4&tochange=967ae1edad41790a5a1fde2f1591731784117c7a
Regressed by Bug 1741671.
Updated•2 years ago
|
Comment 1•2 years ago
|
||
It looks like the form submission ends with a GET request. Unlike we explicitly store postData for POST request, It looks like we do nothing about GET form submission for SHIP. Is this right Peter?
| Assignee | ||
Updated•2 years ago
|
Updated•2 years ago
|
Comment 2•2 years ago
|
||
Setting S2 as it's an obvious behavior regression on a top site. Please feel free to let me know if you don't agree.
Updated•2 years ago
|
Updated•2 years ago
|
Comment 3•2 years ago
|
||
(In reply to Hsin-Yi Tsai (she/her) [:hsinyi] from comment #2)
Setting S2 as it's an obvious behavior regression on a top site. Please feel free to let me know if you don't agree.
:hsinyi Fx119 goes to beta next week. Do we expect this to be worked on shortly?
Asking since it's an S2, if we can expect something in time for Fx119 release
Comment 4•2 years ago
|
||
(In reply to Donal Meehan [:dmeehan|PTO Sept 22-Oct 3] from comment #3)
(In reply to Hsin-Yi Tsai (she/her) [:hsinyi] from comment #2)
Setting S2 as it's an obvious behavior regression on a top site. Please feel free to let me know if you don't agree.
:hsinyi Fx119 goes to beta next week. Do we expect this to be worked on shortly?
Asking since it's an S2, if we can expect something in time for Fx119 release
Yeah, Peter already looked into it a bit, but hasn't figured out yet where the form controls are cleared.
| Assignee | ||
Comment 5•2 years ago
|
||
It looks like we're destroying the frame loader while it's in the BFCache. Need to discuss with smaug if that's expected.
If that's expected then we probably need to save the form state at that point.
Updated•2 years ago
|
| Assignee | ||
Comment 6•2 years ago
|
||
Comment 8•2 years ago
|
||
| bugherder | ||
Updated•2 years ago
|
Comment 9•2 years ago
|
||
:peterv is this risky to take in a Fx119 dot release or should this ride the train with Fx120?
Updated•2 years ago
|
Reproducible on a 2023-10-15 Nightly build on macOS 12.
Verified as fixed on Firefox 120.0b3 and Nightly 121.0a1 on macOS 12, Windows 10, Ubuntu 22.
Search terms are remembered after navigating back to the Google Advanced Search page.
Description
•