Closed Bug 1671538 Opened 4 years ago Closed 4 years ago

return rejected decodeAudioData() promise when not fully active

Categories

(Core :: Web Audio, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
84 Branch
Tracking Status
firefox84 --- fixed

People

(Reporter: karlt, Assigned: karlt)

References

Details

Attachments

(4 files)

Depends on: 1671570

Previously audit would wait for the async function to complete,
but the function did not await the promise.

Pushed by ktomlinson@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/4cbed1201a5d make audit task wait for decodeAudioData() promise to settle r=padenot https://hg.mozilla.org/integration/autoland/rev/3d61224818fe expect InvalidStateError for decodeAudioData() in inactive document r=padenot https://hg.mozilla.org/integration/autoland/rev/8e79ee468e48 return rejected promise from promise-returning methods when not fully active r=padenot https://hg.mozilla.org/integration/autoland/rev/c69f68084e04 test for rejected promises from methods on an AudioContext in a discarded browsing context r=padenot
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/26243 for changes under testing/web-platform/tests
Upstream PR merged by moz-wptsync-bot
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: