mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 22:01:30 +00:00
Bug 1218817 - Implement ServiceWorkerRegistrationActor;r=janx
This commit is contained in:
parent
1e94c40339
commit
ef0ba18ad3
@ -228,3 +228,18 @@ WorkerActorList.prototype = {
|
||||
};
|
||||
|
||||
exports.WorkerActorList = WorkerActorList;
|
||||
|
||||
function ServiceWorkerRegistrationActor(registration) {
|
||||
this._registration = registration;
|
||||
};
|
||||
|
||||
ServiceWorkerRegistrationActor.prototype = {
|
||||
actorPrefix: "serviceWorkerRegistration",
|
||||
|
||||
form: function () {
|
||||
return {
|
||||
actor: this.actorID,
|
||||
scope: this._registration.scope
|
||||
};
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user