Closed
Bug 1711740
Opened 4 years ago
Closed 2 years ago
Consider interrupting JS to unload displaylists / layers
Categories
(Core :: DOM: Content Processes, enhancement, P3)
Core
DOM: Content Processes
Tracking
()
RESOLVED
FIXED
111 Branch
Tracking | Status | |
---|---|---|
firefox111 | --- | fixed |
People
(Reporter: mconley, Assigned: aiunusov)
References
Details
Attachments
(1 file)
We don't, however, do any kind of JS interruption if the parent process has asked the BrowserChild to not render, and to unload layers.
In bug 1711381, Gijs ran into this issue when writing a test that intentionally runs a while(true) {}
loop in a content process. We determined that when switching away from a tab in the hung content process, the AsyncTabSwitcher never fired the TabSwitchDone
event, because the tab never reached the unloaded state. This is because the compositor was never told to unload its displaylist/layers for the tab, because the associated tab was hung.
We might want to consider interrupting JS to do unloads as well.
Updated•3 years ago
|
Severity: -- → S3
Priority: -- → P3
Assignee | ||
Updated•2 years ago
|
Assignee: nobody → aiunusov
Assignee | ||
Comment 1•2 years ago
|
||
Assignee | ||
Comment 2•2 years ago
|
||
Updated•2 years ago
|
Attachment #9312603 -
Attachment description: WIP: Bug 1711740 - Consider interrupting JS to unload displaylists / layers, r=smaug → WIP: Bug 1711740, Bug 1813507 - Consider interrupting JS to unload
Updated•2 years ago
|
Attachment #9312603 -
Attachment description: WIP: Bug 1711740, Bug 1813507 - Consider interrupting JS to unload → Bug 1711740, Bug 1813507 - Consider interrupting JS to unload
Updated•2 years ago
|
Attachment #9312603 -
Attachment description: Bug 1711740, Bug 1813507 - Consider interrupting JS to unload → WIP: Bug 1711740 - Consider interrupting JS to unload layers, r=smaug
Updated•2 years ago
|
Attachment #9312603 -
Attachment description: WIP: Bug 1711740 - Consider interrupting JS to unload layers, r=smaug → Bug 1711740 - Consider interrupting JS to unload layers, r=smaug
Updated•2 years ago
|
Attachment #9312603 -
Attachment description: Bug 1711740 - Consider interrupting JS to unload layers, r=smaug → WIP: Bug 1711740 - Consider interrupting JS to unload layers, r=smaug
Assignee | ||
Comment 3•2 years ago
|
||
It seems that unload now works correctly:
https://share.firefox.dev/3Rmwy6O
Updated•2 years ago
|
Attachment #9312603 -
Attachment description: WIP: Bug 1711740 - Consider interrupting JS to unload layers, r=smaug → Bug 1711740 - Consider interrupting JS to unload layers, r=smaug
Updated•2 years ago
|
Attachment #9312603 -
Attachment description: Bug 1711740 - Consider interrupting JS to unload layers, r=smaug → WIP: Bug 1711740 - Consider interrupting JS to unload layers, r=smaug
Updated•2 years ago
|
Attachment #9312603 -
Attachment description: WIP: Bug 1711740 - Consider interrupting JS to unload layers, r=smaug → Bug 1711740 - Consider interrupting JS to unload layers, r=smaug
Pushed by opettay@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/23f20a705af7
Consider interrupting JS to unload layers, r=smaug
Comment 5•2 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 2 years ago
status-firefox111:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 111 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•