Add a testcase to ensure WebCodecs decoder handle the right promise in flush's callback
Categories
(Core :: Audio/Video: Web Codecs, task, P5)
Tracking
()
Tracking | Status | |
---|---|---|
firefox127 | --- | fixed |
People
(Reporter: chunmin, Assigned: chunmin)
References
Details
Attachments
(4 files)
Follow-up from: https://phabricator.services.mozilla.com/D206934?id=846659#inline-1149546
In bug 1839993, the flush-promise handling in DecoderTemplate will be updated. We should have a testcase to ensure the task delivering the flush X's result always handle/resolve/reject the promise associated with the flush X
Assignee | ||
Comment 1•6 months ago
|
||
Updated•5 months ago
|
Updated•5 months ago
|
Assignee | ||
Updated•5 months ago
|
Updated•5 months ago
|
Assignee | ||
Comment 2•5 months ago
|
||
Previously, the WebCodecs encoder modified how it handles promises
associated with flush requests in Bug 1892785 [1]. This patch introduces
tests to ensure that the encoder's handler for a flush request can
correctly resolve or reject the associated promise without affecting
other pending promises.
[1] https://hg.mozilla.org/mozilla-central/rev/eeac4e97050a4b1e61d8331f5d61b5b3316d4f72
Depends on D207655
Assignee | ||
Comment 3•5 months ago
|
||
Depends on D208689
Assignee | ||
Comment 4•5 months ago
|
||
Depends on D208690
Comment 7•5 months ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/ecc4a91a0a74
https://hg.mozilla.org/mozilla-central/rev/ae143f29809b
https://hg.mozilla.org/mozilla-central/rev/653eb24b823d
https://hg.mozilla.org/mozilla-central/rev/af9ab0b39f69
Description
•