Name Description Size
actors
Archive.worker.mjs eslint-disable mozilla/reject-import-system-module-from-non-system 16187
ArchiveEncryption.sys.mjs Both ArchiveEncryptor and ArchiveDecryptor maintain an internal nonce used as a big-endian chunk counter. That counter is Uint8Array(16) array, which makes doing simple things like adding to the counter somewhat cumbersome. NonceUtils contains helper methods to do nonce-related management and arithmetic. 19730
ArchiveEncryptionState.sys.mjs ArchiveEncryptionState encapsulates key primitives and wrapped secrets that can be safely serialized to the filesystem. An ArchiveEncryptionState is used to compute the necessary keys for encrypting a backup archive. 11019
ArchiveUtils.sys.mjs Convert an array containing only two bytes unsigned numbers to a base64 encoded string. @param {number[]} anArray The array that needs to be converted. @returns {string} The string representation of the array. 9613
BackupError.mjs Error class with specific backup-related error causes. Can be serialized and deserialized across a worker boundary using the BasePromiseWorker and PromiseWorker machinery in this codebase. @see PromiseWorker.mjs @see PromiseWorker.sys.mjs 1767
BackupResources.sys.mjs Classes exported here are registered as a resource that can be backed up and restored in the BackupService. They must extend the BackupResource base class. 1461
BackupService.sys.mjs To avoid disk access upon startup, do not set DEFAULT_PARENT_DIR_PATH as a fallback value here. Let registered widgets prompt BackupService to update the parentDirPath. @see BackupService.state @see DEFAULT_PARENT_DIR_PATH @see setParentDirPath 121351
common
content
docs
jar.mn 2723
MeasurementUtils.sys.mjs Rounds byte sizes of user files in order to provide protection against fingerprinting. @param {number} bytes Number of bytes to fuzz @param {number} nearest Nearest number of bytes to round to @returns {number} Number of bytes rounded to the `nearest` granularity @example fuzzByteSize(1500, 1000) === 2000 @example fuzzByteSize(1001, 1000) === 1000 @example fuzzByteSize(1024, 10) === 1020 @example fuzzByteSize(512, 1000) === 1000 @example fuzzByteSize(256, 1000) === 1000 1855
metrics.yaml 18355
moz.build 1472
resources
tests