Replace BodyStreamUnderlyingSourceAlgorithms::ErrorCallback with a destructor
Categories
(Core :: DOM: Networking, task, P2)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox109 | --- | fixed |
People
(Reporter: saschanaz, Assigned: saschanaz)
References
Details
(Whiteboard: [necko-triaged])
Attachments
(5 files)
Per the spec the proper way to release resources is through clearing algorithms, which corresponds to the destructor of BodyStreamUnderlyingSourceAlgorithms in our case.
ErrorCallback was a way to coexist with the old JS Streams implementation, and given that we removed the JS one, we should now be able to follow the spec.
(CC'ing people who may be interested in the Streams implementation given their recent relevant works)
| Assignee | ||
Comment 1•3 years ago
|
||
| Assignee | ||
Comment 2•3 years ago
|
||
ErrorCallback has surprisingly been broken as nothing currently set the algorithm with SetErrorAlgorithm. This patch removes the unused part, preparing another way in a child patch.
| Assignee | ||
Comment 3•3 years ago
|
||
Depends on D163691
| Assignee | ||
Comment 4•3 years ago
|
||
This is not used yet but is needed for OPFS file unlock.
Depends on D163692
Updated•3 years ago
|
| Assignee | ||
Comment 5•3 years ago
|
||
Depends on D163528
Comment 7•3 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/b6999fbeaf9b
https://hg.mozilla.org/mozilla-central/rev/8c94362f4f66
https://hg.mozilla.org/mozilla-central/rev/ae3687095860
https://hg.mozilla.org/mozilla-central/rev/c36dd00b6a39
https://hg.mozilla.org/mozilla-central/rev/6e823d91d73d
Description
•