Name Description Size
child 13
components.conf 686
ConduitsChild.jsm This @file implements the child side of Conduits, an abstraction over Fission IPC for extension API subject. See {@link ConduitsParent.jsm} for more details about the overall design. @typedef {object} MessageData @prop {ConduitID} [target] @prop {ConduitID} [sender] @prop {boolean} query @prop {object} arg 6066
ConduitsParent.jsm This @file implements the parent side of Conduits, an abstraction over Fission IPC for extension Contexts, API managers, Ports/Messengers, and other types of "subjects" participating in implementation of extension APIs. Additionally, knowledge about conduits from all child processes is gathered here, and used together with the full CanonicalBrowsingContext tree to route IPC messages and queries directly to the right subjects. Each Conduit is tied to one subject, attached to a ConduitAddress descriptor, and exposes an API for sending/receiving via an actor, or multiple actors in case of the parent process. @typedef {number|string} ConduitID @typedef {object} ConduitAddress @prop {ConduitID} id Globally unique across all processes. @prop {string[]} [recv] @prop {string[]} [send] @prop {string[]} [query] @prop {string[]} [cast] Lists of recvX, sendX, queryX and castX methods this subject will use. @typedef {"messenger"|"port"|"tab"} BroadcastKind Kinds of broadcast targeting filters. @example: init(actor) { this.conduit = actor.openConduit(this, { id: this.id, recv: ["recvAddNumber"], send: ["sendNumberUpdate"], }); } recvAddNumber({ num }, { actor, sender }) { num += 1; this.conduit.sendNumberUpdate(sender.id, { num }); } 14406
docs 17
DocumentObserver.h 1956
dummy.xhtml 266
ext-browser-content.js eslint-env mozilla/frame-script 8637
ext-toolkit.json 7211
Extension.jsm -*- Mode: indent-tabs-mode: nil; js-indent-level: 2 -*- 108773
ExtensionActions.jsm Common base class for Page and Browser actions. 19386
ExtensionActivityLog.jsm Notify all listeners of an extension activity. @param {string} id The ID of the extension that caused the activity. @param {string} viewType The view type the activity is in. @param {string} type The type of the activity. @param {string} name The API name or path. @param {object} data Activity specific data. @param {string} timeStamp The timestamp for the activity. 3621
ExtensionChild.jsm -*- Mode: indent-tabs-mode: nil; js-indent-level: 2 -*- 31070
ExtensionChildDevToolsUtils.jsm -*- Mode: indent-tabs-mode: nil; js-indent-level: 2 -*- 3416
ExtensionCommon.jsm -*- Mode: indent-tabs-mode: nil; js-indent-level: 2 -*- 80972
ExtensionContent.jsm -*- Mode: indent-tabs-mode: nil; js-indent-level: 2 -*- 37600
ExtensionPageChild.jsm -*- Mode: indent-tabs-mode: nil; js-indent-level: 2 -*- 14279
ExtensionParent.jsm -*- Mode: indent-tabs-mode: nil; js-indent-level: 2 -*- 66868
ExtensionPermissions.jsm -*- Mode: indent-tabs-mode: nil; js-indent-level: 2 -*- 11044
ExtensionPolicyService.cpp ExtensionPolicyService *************************************************************************** 21365
ExtensionPolicyService.h 3833
ExtensionPreferencesManager.jsm -*- Mode: indent-tabs-mode: nil; js-indent-level: 2 -*- 23101
ExtensionProcessScript.jsm This script contains the minimum, skeleton content process code that we need in order to lazily load other extension modules when they are first necessary. Anything which is not likely to be needed immediately, or shortly after startup, in *every* browser process live outside of this file. 14530
extensionProcessScriptLoader.js 293
extensions-toolkit.manifest 835
ExtensionsChild.cpp static 1732
ExtensionsChild.h 962
ExtensionSettingsStore.jsm -*- Mode: indent-tabs-mode: nil; js-indent-level: 2 -*- 22152
ExtensionShortcuts.jsm exported ExtensionShortcuts 15798
ExtensionsParent.cpp 4181
ExtensionsParent.h 2006
ExtensionStorage.jsm -*- Mode: indent-tabs-mode: nil; js-indent-level: 2 -*- 13484
ExtensionStorageIDB.jsm Get the DOMException error name for a given error object. @param {Error | undefined} error The Error object to convert into a string, or undefined if there was no error. @returns {string | undefined} The DOMException error name (sliced to a maximum of 80 chars), "OtherError" if the error object is not a DOMException instance, or `undefined` if there wasn't an error. 28726
ExtensionStorageSync.jsm -*- Mode: indent-tabs-mode: nil; js-indent-level: 2 -*- 5966
ExtensionStorageSyncKinto.jsm -*- Mode: indent-tabs-mode: nil; js-indent-level: 2 -*- 45625
ExtensionTelemetry.jsm -*- Mode: indent-tabs-mode: nil; js-indent-level: 2 -*- 7641
ExtensionTestCommon.jsm -*- Mode: indent-tabs-mode: nil; js-indent-level: 2 -*- 20555
ExtensionUtils.jsm -*- Mode: indent-tabs-mode: nil; js-indent-level: 2 -*- 10013
ExtensionWorkerChild.jsm -*- Mode: indent-tabs-mode: nil; js-indent-level: 2 -*- 26070
ExtensionXPCShellUtils.jsm -*- Mode: indent-tabs-mode: nil; js-indent-level: 2 -*- 19687
extIWebNavigation.idl 1225
FindContent.jsm -*- Mode: indent-tabs-mode: nil; js-indent-level: 2 -*- 7538
jar.mn 3878
MatchGlob.h 3207
MatchPattern.cpp AtomSet *************************************************************************** 21423
MatchPattern.h 9294
MatchURLFilters.jsm exported MatchURLFilters 5406
MessageChannel.jsm -*- Mode: indent-tabs-mode: nil; js-indent-level: 2 -*- 37200
MessageManagerProxy.jsm -*- Mode: indent-tabs-mode: nil; js-indent-level: 2 -*- 6435
metrics.yaml 987
moz.build 3588
mozIExtensionAPIRequestHandling.idl 7618
mozIExtensionProcessScript.idl 733
NativeManifests.jsm -*- Mode: indent-tabs-mode: nil; js-indent-level: 2 -*- 5614
NativeMessaging.jsm -*- Mode: indent-tabs-mode: nil; js-indent-level: 2 -*- 11785
parent 35
PerformanceCounters.jsm -*- Mode: indent-tabs-mode: nil; js-indent-level: 2 -*- 4407
PExtensions.ipdl A generic protocol used by the extension framework for process-level IPC. A child instance is created at startup in the parent process and each content child process, which can be accessed via `mozilla::extensions::ExtensionsChild::Get()`. 1950
ProxyChannelFilter.jsm -*- Mode: indent-tabs-mode: nil; js-indent-level: 2 -*- 12455
schemas 44
Schemas.jsm -*- Mode: indent-tabs-mode: nil; js-indent-level: 2 -*- 106366
storage 6
test 4
WebExtensionContentScript.h 7032
WebExtensionPolicy.cpp 30500
WebExtensionPolicy.h 8318
webidl-api 35
WebNavigation.jsm Support nsIObserver interface to observe the urlbar autocomplete events used to keep track of the urlbar user interaction. 12351
WebNavigationFrames.jsm exported WebNavigationFrames 2665
webrequest 21
.eslintrc.js Silencing the error because ... 7346