Set tab's GeckoSession priority based on existing form data
Categories
(Firefox for Android :: Browser Engine, enhancement, P1)
Tracking
()
People
(Reporter: cpeterson, Assigned: calu)
References
(Blocks 1 open bug)
Details
(Whiteboard: [geckoview:m109][geckoview:m110][geckoview:m111])
Attachments
(1 obsolete file)
When a user switches tabs, Fenix should use GeckoView's containsFormData API (bug 1777506) to check if the current GeckoSession has existing form data and set the tab's GeckoSession appropriately with setPriorityHint API: either PRIORITY_HIGH if there is form data or default if there isn't. This will tell Android's OOM killer to not kill processes and tabs that have form data the user is filling out. Fenix should also have a timeout of a few minutes in case the user does not intend to return to the tab with form data.
Do we need to fix Focus, too?
| Assignee | ||
Comment 1•4 years ago
|
||
I think we can observe Fenix first to see if the fix is a significant improvement.
Comment 2•3 years ago
|
||
| Assignee | ||
Updated•3 years ago
|
| Assignee | ||
Updated•3 years ago
|
| Assignee | ||
Updated•3 years ago
|
| Reporter | ||
Updated•3 years ago
|
| Reporter | ||
Comment 3•3 years ago
|
||
Comment 4•3 years ago
|
||
Comment on attachment 9306959 [details] [review]
[mozilla-mobile/firefox-android] Bug 1800146 - Set tab's GeckoSession priority based on form data (#264)
GitHub pull request attachment was moved to bug 1811859. Setting attachment 9306959 [details] [review] to obsolete.
| Reporter | ||
Updated•3 years ago
|
| Comment hidden (collapsed) |
Description
•