Source code

Revision control

Other Tools

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 IPCServiceWorkerRegistrationDescriptor;
8
9
namespace mozilla {
10
namespace dom {
11
12
protocol PServiceWorkerRegistration
13
{
14
manager PBackground;
15
16
parent:
17
async Teardown();
18
19
async Unregister() returns (bool aSuccess, CopyableErrorResult aRv);
20
async Update() returns (IPCServiceWorkerRegistrationDescriptorOrCopyableErrorResult aResult);
21
22
child:
23
async __delete__();
24
25
async UpdateState(IPCServiceWorkerRegistrationDescriptor aDescriptor);
26
async FireUpdateFound();
27
};
28
29
} // namespace dom
30
} // namespace mozilla