Bug 1776444 [wpt PR 34582] - Revert "Add TimedHTMLParserBudget to fieldtrial_testing_...
[gecko.git] / dom / broadcastchannel / PBroadcastChannel.ipdl
blob6ff27b45d8240356bd3b4d046fa3526858dafdc3
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
3  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
5 include protocol PBackground;
7 include DOMTypes;
9 using struct nsID from "nsID.h";
11 namespace mozilla {
12 namespace dom {
14 // This protocol is used for the BroadcastChannel API
15 [ManualDealloc, ChildImpl=virtual, ParentImpl=virtual]
16 protocol PBroadcastChannel
18   manager PBackground;
20 parent:
21   async PostMessage(MessageData message);
22   async Close();
24 child:
25   // A message must be delivered.
26   async Notify(MessageData message);
28   // A message has been delivered to other channels. It can be removed after
29   // all the actorsOnSamePid have retrieved it.
30   async RefMessageDelivered(nsID messageID, uint32_t actorsOnSamePid);
32   async __delete__();
35 } // namespace dom
36 } // namespace mozilla