Bug 1218817 - Implement ServiceWorkerRegistrationActor;r=janx

This commit is contained in:
Eddy Bruel 2015-11-27 13:43:40 +01:00
parent 1e94c40339
commit ef0ba18ad3

View File

@ -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
};
}
};