tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

PServiceWorker.ipdl (598B)


      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/. */
      4 
      5 include protocol PBackground;
      6 
      7 include ClientIPCTypes;
      8 include DOMTypes;
      9 
     10 namespace mozilla {
     11 namespace dom {
     12 
     13 [ChildImpl=virtual, ParentImpl=virtual]
     14 protocol PServiceWorker
     15 {
     16   manager PBackground;
     17 
     18 parent:
     19   async Teardown();
     20 
     21   async PostMessage(ClonedOrErrorMessageData aClonedData, PostMessageSource aSource);
     22 
     23 child:
     24   async __delete__();
     25 };
     26 
     27 } // namespace dom
     28 } // namespace mozilla