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