Name Description Size
BrowserUsageTelemetry.sys.mjs -*- js-indent-level: 2; indent-tabs-mode: nil -*- 1173
ChildCrashHandler.sys.mjs 3336
DelayedInit.sys.mjs Use DelayedInit to schedule initializers to run some time after startup. Initializers are added to a list of pending inits. Whenever the main thread message loop is idle, DelayedInit will start running initializers from the pending list. To prevent monopolizing the message loop, every idling period has a maximum duration. When that's reached, we give up the message loop and wait for the next idle. DelayedInit is compatible with lazy getters like those from XPCOMUtils. When the lazy getter is first accessed, its corresponding initializer is run automatically if it hasn't been run already. Each initializer also has a maximum wait parameter that specifies a mandatory timeout; when the timeout is reached, the initializer is forced to run. DelayedInit.schedule(() => Foo.init(), null, null, 5000); In the example above, Foo.init will run automatically when the message loop becomes idle, or when 5000ms has elapsed, whichever comes first. DelayedInit.schedule(() => Foo.init(), this, "Foo", 5000); In the example above, Foo.init will run automatically when the message loop becomes idle, when |this.Foo| is accessed, or when 5000ms has elapsed, whichever comes first. It may be simpler to have a wrapper for DelayedInit.schedule. For example, function InitLater(fn, obj, name) { return DelayedInit.schedule(fn, obj, name, 5000); // constant max wait } InitLater(() => Foo.init()); InitLater(() => Bar.init(), this, "Bar"); 5454
GeckoViewActorChild.sys.mjs 721
GeckoViewActorManager.sys.mjs 799
GeckoViewActorParent.sys.mjs 1709
GeckoViewAutocomplete.sys.mjs 20220
GeckoViewAutofill.sys.mjs 2353
GeckoViewChildModule.sys.mjs 2090
GeckoViewClipboardPermission.sys.mjs 2907
GeckoViewConsole.sys.mjs 5011
GeckoViewContent.sys.mjs capture 25257
GeckoViewContentBlocking.sys.mjs 3215
GeckoViewIdentityCredential.sys.mjs 2464
GeckoViewMediaControl.sys.mjs 6130
GeckoViewModule.sys.mjs 4141
GeckoViewNavigation.sys.mjs 20776
GeckoViewProcessHangMonitor.sys.mjs Collection of hang reports that haven't expired or been dismissed by the user. These are nsIHangReports. 5359
GeckoViewProgress.sys.mjs Determines the identity mode corresponding to the icon we show in the urlbar. 17184
GeckoViewPushController.sys.mjs 1875
GeckoViewRemoteDebugger.sys.mjs 3862
GeckoViewSelectionAction.sys.mjs 929
GeckoViewSessionStore.sys.mjs 7565
GeckoViewSettings.sys.mjs 5775
GeckoViewStorageController.sys.mjs 11009
GeckoViewTab.sys.mjs Converts windowId to tabId as in GeckoView every browser window has exactly one tab. @param {number} windowId outerWindowId @returns {number} tabId 6629
GeckoViewTelemetry.sys.mjs 1055
GeckoViewTestUtils.sys.mjs Creates a new tab through service worker delegate. Needs to be ran in a parent process. @param {string} url @returns {Tab} @throws {Error} Throws an error if the tab cannot be created. 1956
GeckoViewTranslations.sys.mjs reportAsAutoTranslate 20022
GeckoViewUtils.sys.mjs Define a lazy getter that loads an object from external code, and optionally handles observer and/or message manager notifications for the object, so the object only loads when a notification is received. @param scope Scope for holding the loaded object. @param name Name of the object to load. @param service If specified, load the object from a JS component; the component must include the line "this.wrappedJSObject = this;" in its constructor. @param module If specified, load the object from a JS module. @param init Optional post-load initialization function. @param observers If specified, listen to specified observer notifications. @param ppmm If specified, listen to specified process messages. @param mm If specified, listen to specified frame messages. @param ged If specified, listen to specified global EventDispatcher events. @param once if true, only listen to the specified events/messages/notifications once. 17262
GeckoViewWebExtension.sys.mjs Finds and returns a DownloadItem with a certain numeric ID @param {number} id @returns {DownloadItem} download item 41790
LoadURIDelegate.sys.mjs 2926
MediaUtils.sys.mjs 2051
Messaging.sys.mjs Sends a request to Java. @param aMsg Message to send; must be an object with a "type" property 9227
metrics.yaml 5500
moz.build 1624
test