PRemoteWorkerDebugger.ipdl (881B)
1 /* This Source Code Form is subject to the terms of the Mozilla Public 2 * License, v. 2.0. If a copy of the MPL was not distributed with this file, 3 * You can obtain one at http://mozilla.org/MPL/2.0/. */ 4 5 include RemoteWorkerTypes; 6 7 namespace mozilla { 8 namespace dom{ 9 10 [ChildProc=anydom] 11 protocol PRemoteWorkerDebugger 12 { 13 parent: 14 async Unregister(); 15 16 async PostMessageToDebugger(nsString aMessage); 17 async ReportErrorToDebugger(RemoteWorkerDebuggerErrorInfo aErrorInfo); 18 19 async SetAsInitialized(); 20 async SetAsClosed(); 21 22 // IPC for updating SharedWorker's WindowIDs 23 async AddWindowID(uint64_t aWindowID); 24 async RemoveWindowID(uint64_t aWindowID); 25 26 child: 27 async RegisterDone(); 28 async UnregisterDone(); 29 30 async Initialize(nsString aURL); 31 async PostMessage(nsString aMessage); 32 async SetDebuggerReady(bool aReady); 33 }; 34 35 } // namespace dom 36 } // namespace mozilla