Open Bug 1814374 Opened 2 years ago Updated 10 months ago

Fenix does not set the content processes' priorities correctly

Categories

(Fenix :: General, defect, P2)

All
Android
defect

Tracking

(Not tracked)

People

(Reporter: kaya, Assigned: kaya)

Details

Steps to reproduce

  1. Open Fenix and load any url. At this point the ProcessPriority of the tab/content process is Foreground.
  2. Take the app to the background (by the home button, or locking screen etc.). The ProcessPriority of the tab/content process stays as Foreground.

Expected behavior

When the app is in the background, the content process priority needs to be background as well.

Actual behavior

The content process priority stays as foreground.

Device information

  • Firefox version: Nightly 111.0a1
  • Android device model: samsung SM-A525F
  • Android OS version: 12

Any additional information?

As seen in this profile: https://share.firefox.dev/3WVFhOv
The app loads a url and taken to background but the process priority stays as foreground.
To inspect this, in the Marker Chart tab, filter with "processpriority" to see that the priority of the web content is foreground. Then, clear the filter and filter with "Msg_Appplication" keyword to see the IPCIn messages that shows app is sent to background and then taken back to foreground.

Note: Geckoview example app sets the content processes' priorities correctly when the app's background/foreground state changes.

Assignee: nobody → kkaya
Severity: -- → S2
Priority: -- → P2
Summary: Fenix does not set the process priorities correctly → Fenix does not set the content processes' priorities correctly
You need to log in before you can comment on or make changes to this bug.