Name Description Size
ClientEnvironment.jsm eslint-disable prettier/prettier 8136
FilterExpressions.jsm Return an array of the given object's own keys (specifically, its enumerable properties), or undefined if the argument isn't an object. @param {Object} obj @return {Array[String]|undefined} 3424
JsonSchemaValidator.jsm This file implements a not-quite standard JSON schema validator. It differs from the spec in a few ways: - the spec doesn't allow custom types to be defined, but this validator defines "URL", "URLorEmpty", "origin" etc. - Strings are automatically converted to `URL` objects for the appropriate types. - It doesn't support "pattern" when matching strings. - The boolean type accepts (and casts) 0 and 1 as valid values. 18409
PreferenceFilters.jsm 895
Sampling.jsm Map from the range [0, 1] to [0, 2^48]. @param {number} frac A float from 0.0 to 1.0. @return {string} A 48 bit number represented in hex, padded to 12 characters. 6562
SimpleServices.jsm Dumping ground for simple services for which the isolation of a full global is overkill. Be careful about namespace pollution, and be mindful about importing lots of JSMs in global scope, since this file will almost certainly be loaded from enough callsites that any such imports will always end up getting eagerly loaded at startup. 5036
WindowsVersionInfo.jsm Gets the service pack and build number on Windows platforms. @param opts {Object} keyword arguments @param opts.throwOnError {boolean} Optional, defaults to true. If set to false will return an object with keys set to null instead of throwing an error. If set to true, errors will be thrown instead. @throws If `throwOnError` is true and version information cannot be determined. @return {object} An object containing keys `servicePackMajor`, `servicePackMinor`, and `buildNumber`. If `throwOnError` is false, these values may be null. 3552
components.conf 931
moz.build 791
mozjexl.js eslint-disable 13638
test 2