Name Description Size Coverage
actors -
Archive.worker.mjs eslint-disable mozilla/reject-import-system-module-from-non-system 16214 -
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. 1606 -
BackupService.sys.mjs 168658 -
common -
content -
docs -
jar.mn 2815 -
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 29176 -
moz.build 1573 -
pings.yaml 1599 -
resources -
tests -