/* This Source Code Form is subject to the terms of the Mozilla Public *License,v.2.0.IfacopyoftheMPLwasnotdistributedwiththis
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
function run_test() { var libs = Services.profiler.sharedLibraries;
// Check libxul and make sure that it has valid breakpadId and codeId strings. // The name of libxull will be different on each platform: // - Linux: libxul.so // - macOS: XUL // - Windows: xul.dll const libxul = libs.find(lib => lib.name.toLowerCase().includes("xul")); Assert.equal(typeof libxul, "object"); Assert.ok(typeof libxul.breakpadId === "string" && libxul.breakpadId !== ""); Assert.ok(typeof libxul.codeId === "string" && libxul.codeId !== "");
}
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.