Line data Source code
1 : #include "AudioWorkletGlobalScopeBinding.h"
2 : #include "ConsoleBinding.h"
3 : #include "PaintWorkletGlobalScopeBinding.h"
4 : #include "WorkletGlobalScopeBinding.h"
5 :
6 : namespace mozilla {
7 : namespace dom {
8 : bool
9 0 : RegisterWorkletBindings(JSContext* aCx, JS::Handle<JSObject*> aObj)
10 : {
11 0 : if (!AudioWorkletGlobalScopeBinding::GetConstructorObject(aCx)) {
12 0 : return false;
13 : }
14 :
15 0 : if (!PaintWorkletGlobalScopeBinding::GetConstructorObject(aCx)) {
16 0 : return false;
17 : }
18 :
19 0 : if (!WorkletGlobalScopeBinding::GetConstructorObject(aCx)) {
20 0 : return false;
21 : }
22 :
23 0 : if (!consoleBinding::GetConstructorObject(aCx)) {
24 0 : return false;
25 : }
26 :
27 0 : return true;
28 : }
29 :
30 : } // namespace dom
31 : } // namespace mozilla
32 :
|