forked from mozilla/mozilla-central
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bug 1558123 call AudioWorkletProcessor.process() r=padenot,bzbarsky
https://heycam.github.io/webidl/#call-a-user-objects-operation may be a simpler option here, but there are some small optimizations possible with using JS::Call() directly: JS::ExposeObjectToActiveJS() is not necessary because parameters are PersistentRooted and so won't be gray. MaybeWrapObjectValue() is not necessary because parameters are already in the appropriate compartment. See also WebAudio/web-audio-api#1967 and WebAudio/web-audio-api#1933 Microtask support is tracked in https://bugzilla.mozilla.org/show_bug.cgi?id=1566312 Differential Revision: https://phabricator.services.mozilla.com/D34838
- Loading branch information
Showing
2 changed files
with
45 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters