Closed
      
        Bug 1671538
      
      
        Opened 5 years ago
          Closed 5 years ago
      
        
    
  
return rejected decodeAudioData() promise when not fully active  
    Categories
(Core :: Web Audio, enhancement)
        Core
          
        
        
      
        
    
        Web Audio
          
        
        
      
        
    Tracking
()
        RESOLVED
        FIXED
        
    
  
        
            84 Branch
        
    
  
| Tracking | Status | |
|---|---|---|
| firefox84 | --- | fixed | 
People
(Reporter: karlt, Assigned: karlt)
References
Details
Attachments
(4 files)
| Assignee | ||
| Comment 1•5 years ago
           | ||
| Assignee | ||
| Comment 2•5 years ago
           | ||
| Assignee | ||
| Comment 3•5 years ago
           | ||
Previously audit would wait for the async function to complete,
but the function did not await the promise.
| Assignee | ||
| Comment 4•5 years ago
           | ||
https://github.com/WebAudio/web-audio-api/issues/2176
Depends on D94217
| Assignee | ||
| Comment 5•5 years ago
           | ||
Depends on D94218
| Assignee | ||
| Comment 6•5 years ago
           | ||
Depends on D94219
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
| Comment 9•5 years ago
           | ||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/4cbed1201a5d
https://hg.mozilla.org/mozilla-central/rev/3d61224818fe
https://hg.mozilla.org/mozilla-central/rev/8e79ee468e48
https://hg.mozilla.org/mozilla-central/rev/c69f68084e04
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
          status-firefox84:
          --- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 84 Branch
Upstream PR merged by moz-wptsync-bot
          You need to log in
          before you can comment on or make changes to this bug.
        
Description
•