Improve test coverage for ChannelWrapper + GC
Categories
(WebExtensions :: Request Handling, task, P2)
Tracking
(firefox-esr128 fixed, firefox130 fixed)
People
(Reporter: robwu, Assigned: robwu)
References
Details
(Whiteboard: [addons-jira])
Attachments
(2 files)
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
phab-bot
:
approval-mozilla-esr128+
|
Details | Review |
There have been crashes caused by the use of ChannelWrapper when the underlying channel has been closed / garbage-collected.
In the past, bug 1470746, more recently bug 1910114.
While these bugs have been fixed, they did not include automated test coverage.
I'm going to attach a patch with improved test coverage, as well as fixups to issues discovered from the added test coverage.
Updated•1 year ago
|
| Assignee | ||
Comment 1•1 year ago
|
||
Comment 2•1 year ago
•
|
||
I'm actually running into a case that the fixups in this patch would seem to handle. I quite consistently crash on pages like https://imdb.com. Attaching the crash stack I'm experiencing.
Updated•1 year ago
|
Comment 3•1 year ago
|
||
(In reply to Erich Gubler [:ErichDonGubler] from comment #2)
I'm actually running into a case that the fixups in this patch would seem to handle. I quite consistently crash on pages like https://imdb.com. Attaching the crash stack I'm experiencing.
Those were the crashes tracked in bug 1910114 and duplicates.
Updated•1 year ago
|
Comment 5•1 year ago
|
||
| bugherder | ||
| Assignee | ||
Comment 6•1 year ago
|
||
Original Revision: https://phabricator.services.mozilla.com/D217899
Updated•1 year ago
|
Comment 7•1 year ago
|
||
esr128 Uplift Approval Request
- User impact if declined: Potentially susceptible to crashes due to lack of test coverage
- Code covered by automated testing: yes
- Fix verified in Nightly: yes
- Needs manual QE test: no
- Steps to reproduce for manual QE testing: No
- Risk associated with taking this patch: None
- Explanation of risk level: Test-only + fixups to fix issues uncovered by tests
- String changes made/needed: None
- Is Android affected?: no
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Description
•