Closed
Bug 2076655
Opened 2 months ago
Closed 1 month ago
Remove `userTypedClear` from the lazy tab state
Categories
(Firefox :: Session Restore, task)
Firefox
Session Restore
Tracking
()
RESOLVED
FIXED
160 Branch
| Tracking | Status | |
|---|---|---|
| firefox160 | --- | fixed |
People
(Reporter: dao, Assigned: dao)
References
(Blocks 1 open bug)
Details
Attachments
(1 external file)
Session store keeps a userTypedClear in its lazy tab state, next to url, title and userTypedValue, and tabbrowser's lazy-browser getters expose it as browser.userTypedClear. Nothing reads it. resetBrowserToLazyState reads it off the browser, but that function returns early for lazy browsers. Only lazy browsers have the property (connected ones lost it in bug 1241085), so the read has always yielded 0.
Remove it from the lazy state in SessionStore.sys.mjs (resetBrowserToLazyState and the restore path), from the lazy-browser property list and getter in Tabbrowser.sys.mjs, and from lazy-browsers.md.
The saved tab state's userTypedClear stays; restore reads it to decide whether to load a typed URL or only show it in the address bar.
| Assignee | ||
Updated•2 months ago
|
See Also: → sessionstore-ts
| Assignee | ||
Updated•2 months ago
|
Blocks: sessionstore-ts
See Also: sessionstore-ts →
| Assignee | ||
Comment 1•1 month ago
|
||
Updated•1 month ago
|
Assignee: nobody → dao+bmo
Status: NEW → ASSIGNED
Pushed by dgottwald@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/68a6e7acd818
https://hg.mozilla.org/integration/autoland/rev/2a4757d038d7
Remove `userTypedClear` from the lazy tab state. r=sessionstore-reviewers,sfoster
Comment 3•1 month ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 1 month ago
status-firefox160:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 160 Branch
Updated•1 month ago
|
QA Whiteboard: [qa-triage-done-c161/b160]
You need to log in
before you can comment on or make changes to this bug.
Description
•