Potential bug in SessionPrioritizationMiddleware.kt
Categories
(Firefox for Android :: General, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox128 | --- | fixed |
People
(Reporter: jackyzy823, Assigned: jackyzy823)
Details
Attachments
(1 file)
-
Since the introduction of telemetry in bug 1820211, the session priority would be reset to DEFAULT when the activity is paused (like switching to background) , because
checkForFormData
will causeUpdateHasFormDataAction
to be dispatched when getting result from GeckoView side. -
There is a chance that
previousHighestPriorityTabId
is equivalent toselectedTabId
, butselectedTabId
's current session priority is DEFAULT. IfpreviousHighestPriorityTabId
not changed after, then this tab will never be set to HIGH again.So after everytime
updateSessionPriority(DEFAULT)
is called , we should resetpreviousHighestPriorityTabId
to "" ifpreviousHighestPriorityTabId
==selectedTabId
Assignee | ||
Comment 1•1 year ago
|
||
Updated•1 year ago
|
Comment 2•1 year ago
|
||
The severity field is not set for this bug.
:boek, could you have a look please?
For more information, please visit BugBot documentation.
Comment 4•11 months ago
|
||
bugherder |
Updated•9 months ago
|
Description
•