WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
217405
Add implementation for AudioWorkletGlobalScope.registerProcessor()
https://bugs.webkit.org/show_bug.cgi?id=217405
Summary
Add implementation for AudioWorkletGlobalScope.registerProcessor()
Chris Dumez
Reported
2020-10-06 14:03:18 PDT
Add implementation for AudioWorkletGlobalScope.registerProcessor(): -
https://www.w3.org/TR/webaudio/#dom-audioworkletglobalscope-registerprocessor
Attachments
Patch
(51.90 KB, patch)
2020-10-06 14:25 PDT
,
Chris Dumez
no flags
Details
Formatted Diff
Diff
Patch
(52.54 KB, patch)
2020-10-06 15:51 PDT
,
Chris Dumez
no flags
Details
Formatted Diff
Diff
Patch
(52.50 KB, patch)
2020-10-06 15:53 PDT
,
Chris Dumez
no flags
Details
Formatted Diff
Diff
Patch
(59.12 KB, patch)
2020-10-06 16:12 PDT
,
Chris Dumez
no flags
Details
Formatted Diff
Diff
Patch
(59.12 KB, patch)
2020-10-06 16:54 PDT
,
Chris Dumez
no flags
Details
Formatted Diff
Diff
Show Obsolete
(4)
View All
Add attachment
proposed patch, testcase, etc.
Chris Dumez
Comment 1
2020-10-06 14:25:15 PDT
Created
attachment 410693
[details]
Patch
Geoffrey Garen
Comment 2
2020-10-06 15:21:54 PDT
Comment on
attachment 410693
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=410693&action=review
r=me
> Source/WebCore/Modules/webaudio/AudioWorkletGlobalScope.cpp:70 > + JSC::JSObject* jsConstructor = processorContructor->callbackData()->callback(); > + auto* globalObject = jsConstructor->globalObject(); > + auto& vm = globalObject->vm(); > + auto scope = DECLARE_THROW_SCOPE(vm);
Does an audio worklet always execute on the same non-main thread?
Chris Dumez
Comment 3
2020-10-06 15:22:42 PDT
(In reply to Geoffrey Garen from
comment #2
)
> Comment on
attachment 410693
[details]
> Patch > > View in context: >
https://bugs.webkit.org/attachment.cgi?id=410693&action=review
> > r=me > > > Source/WebCore/Modules/webaudio/AudioWorkletGlobalScope.cpp:70 > > + JSC::JSObject* jsConstructor = processorContructor->callbackData()->callback(); > > + auto* globalObject = jsConstructor->globalObject(); > > + auto& vm = globalObject->vm(); > > + auto scope = DECLARE_THROW_SCOPE(vm); > > Does an audio worklet always execute on the same non-main thread?
Yes it does.
Chris Dumez
Comment 4
2020-10-06 15:25:46 PDT
(In reply to Chris Dumez from
comment #3
)
> (In reply to Geoffrey Garen from
comment #2
) > > Comment on
attachment 410693
[details]
> > Patch > > > > View in context: > >
https://bugs.webkit.org/attachment.cgi?id=410693&action=review
> > > > r=me > > > > > Source/WebCore/Modules/webaudio/AudioWorkletGlobalScope.cpp:70 > > > + JSC::JSObject* jsConstructor = processorContructor->callbackData()->callback(); > > > + auto* globalObject = jsConstructor->globalObject(); > > > + auto& vm = globalObject->vm(); > > > + auto scope = DECLARE_THROW_SCOPE(vm); > > > > Does an audio worklet always execute on the same non-main thread? > > Yes it does.
Why the question? Would you like me to tighten the assertion to make sure we're always running on the Worklet thread instead of simply checking we're not on the main thread?
Chris Dumez
Comment 5
2020-10-06 15:51:48 PDT
Created
attachment 410707
[details]
Patch
Chris Dumez
Comment 6
2020-10-06 15:53:16 PDT
Created
attachment 410708
[details]
Patch
Chris Dumez
Comment 7
2020-10-06 16:12:04 PDT
Created
attachment 410710
[details]
Patch
EWS
Comment 8
2020-10-06 16:47:35 PDT
ChangeLog entry in LayoutTests/imported/w3c/ChangeLog contains OOPS!.
Chris Dumez
Comment 9
2020-10-06 16:54:04 PDT
Created
attachment 410713
[details]
Patch
EWS
Comment 10
2020-10-06 17:36:26 PDT
Committed
r268103
: <
https://trac.webkit.org/changeset/268103
> All reviewed patches have been landed. Closing bug and clearing flags on
attachment 410713
[details]
.
Radar WebKit Bug Importer
Comment 11
2020-10-06 17:37:25 PDT
<
rdar://problem/70025532
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug