Name Description Size Coverage
BrowserUsageTelemetry.sys.mjs -*- js-indent-level: 2; indent-tabs-mode: nil -*- 1173 -
ChildCrashHandler.sys.mjs 3635 -
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"); 5480 -
GeckoViewActorChild.sys.mjs 562 -
GeckoViewActorManager.sys.mjs 799 -
GeckoViewActorParent.sys.mjs 1474 -
GeckoViewAutocomplete.sys.mjs 21321 -
GeckoViewAutofill.sys.mjs 3070 -
GeckoViewChildModule.sys.mjs 2090 -
GeckoViewClipboardPermission.sys.mjs 2907 -
GeckoViewConsole.sys.mjs 5011 -
GeckoViewContent.sys.mjs capture 18997 -
GeckoViewContentBlocking.sys.mjs 3215 -
GeckoViewIdentityCredential.sys.mjs 2464 -
GeckoViewMediaControl.sys.mjs 6241 -
GeckoViewModule.sys.mjs 4141 -
GeckoViewNavigation.sys.mjs 22764 -
GeckoViewPageExtractor.sys.mjs GeckoViewModule to get the content of a page 1288 -
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. 18139 -
GeckoViewPushController.sys.mjs 1876 -
GeckoViewRemoteDebugger.sys.mjs 4070 -
GeckoViewSelectionAction.sys.mjs 929 -
GeckoViewSessionStore.sys.mjs 7575 -
GeckoViewSettings.sys.mjs 5934 -
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 6624 -
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. 1994 -
GeckoViewTranslations.sys.mjs reportAsAutoTranslate 19904 -
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. 17267 -
GeckoViewWebExtension.sys.mjs Finds and returns a DownloadItem with a certain numeric ID @param {number} id @returns {DownloadItem} download item 43407 -
LoadURIDelegate.sys.mjs 2313 -
MediaUtils.sys.mjs 2051 -
Messaging.sys.mjs Register a listener to be notified of event(s). @param aListener Target listener implementing nsIGeckoViewEventListener. @param aEvents String or array of strings of events to listen to. 8225 -
metrics.yaml 4564 -
moz.build 1662 -
test -