/* 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/>. */
import { WorkerDispatcher } from "devtools/client/shared/worker-utils";
/** * Reports if the location's source can be parsed by this worker. * * @param {Object} location * A debugger frontend location object. See createLocation(). * @return {Boolean} * True, if the worker may be able to parse this source.
*/
isLocationSupported(location) { // There might be more sources that the worker doesn't support, // like original sources which aren't JavaScript. // But we can only know with the source's content type, // which isn't available right away. // These source will be ignored from within the worker. return !location.source.isWasm;
}
}
Messung V0.5
¤ Dauer der Verarbeitung: 0.19 Sekunden
(vorverarbeitet)
¤
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.