Bug 1814374 Comment 0 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

### 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.
### 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.

Back to Bug 1814374 Comment 0