/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
class ServiceWorkerActor extends Actor {
constructor(conn, worker, origin) { super(conn, serviceWorkerSpec); this._worker = worker; this._origin = origin;
}
form() { if (!this._worker) { returnnull;
}
// handlesFetchEvents is not available if the worker's main script is in the // evaluating state. const isEvaluating = this._worker.state == Ci.nsIServiceWorkerInfo.STATE_PARSED; const fetch = isEvaluating ? undefined : this._worker.handlesFetchEvents;
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.