Bug 218400

Summary: BaseAudioContext.decodeAudioData() should throw an InvalidStateError when document is not fully active
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: Web AudioAssignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
Severity: Normal CC: cdumez, darin, eric.carlson, ews-watchlist, ggaren, glenn, jer.noble, philipj, sam, sergio, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
URL: https://webaudio.github.io/web-audio-api/#dom-baseaudiocontext-decodeaudiodata
Attachments:
Description Flags
Patch none

Chris Dumez
Reported 2020-10-30 12:31:59 PDT
BaseAudioContext.decodeAudioData() should throw an InvalidStateError when document is not fully active: - https://webaudio.github.io/web-audio-api/#dom-baseaudiocontext-decodeaudiodata We currently throw a NotAllowedError instead.
Attachments
Patch (5.88 KB, patch)
2020-10-30 12:33 PDT, Chris Dumez
no flags
Chris Dumez
Comment 1 2020-10-30 12:33:37 PDT
EWS
Comment 2 2020-10-30 13:10:01 PDT
Committed r269203: <https://trac.webkit.org/changeset/269203> All reviewed patches have been landed. Closing bug and clearing flags on attachment 412787 [details].
Radar WebKit Bug Importer
Comment 3 2020-10-30 13:10:21 PDT
Note You need to log in before you can comment on or make changes to this bug.