Name Description Size
AndroidLog.jsm Native Android logging for JavaScript. Lets you specify a priority and tag in addition to the message being logged. Resembles the android.util.Log API <http://developer.android.com/reference/android/util/Log.html>. // Import it as a JSM: let Log = Cu.import("resource://gre/modules/AndroidLog.jsm", {}).AndroidLog; // Or require it in a chrome worker: importScripts("resource://gre/modules/workers/require.js"); let Log = require("resource://gre/modules/AndroidLog.jsm"); // Use Log.i, Log.v, Log.d, Log.w, and Log.e to log verbose, debug, info, // warning, and error messages, respectively. Log.v("MyModule", "This is a verbose message."); Log.d("MyModule", "This is a debug message."); Log.i("MyModule", "This is an info message."); Log.w("MyModule", "This is a warning message."); Log.e("MyModule", "This is an error message."); // Bind a function with a tag to replace a bespoke dump/log/debug function: let debug = Log.d.bind(null, "MyModule"); debug("This is a debug message."); // Outputs "D/GeckoMyModule(#####): This is a debug message." // Or "bind" the module object to a tag to automatically tag messages: Log = Log.bind("MyModule"); Log.d("This is a debug message."); // Outputs "D/GeckoMyModule(#####): This is a debug message." Note: the module automatically prepends "Gecko" to the tag you specify, since all tags used by Fennec code should start with that string; and it truncates tags longer than MAX_TAG_LENGTH characters (not including "Gecko"). 3775
BrowserUsageTelemetry.jsm -*- js-indent-level: 2; indent-tabs-mode: nil -*- 1247
ContentCrashHandler.jsm 2185
DelayedInit.jsm globals MessageLoop 5730
GeckoViewActorChild.jsm 785
GeckoViewAutocomplete.jsm Delegates login entry fetching for the given domain to the attached LoginStorage GeckoView delegate. @param aDomain The domain string to fetch login entries for. @return {Promise} Resolves with an array of login objects or null. Rejected if no delegate is attached. Login object string properties: { guid, origin, formActionOrigin, httpRealm, username, password } 8870
GeckoViewAutofill.jsm Process an auto-fillable form and send the relevant details of the form to Java. Multiple calls within a short time period for the same form are coalesced, so that, e.g., if multiple inputs are added to a form in succession, we will only perform one processing pass. Note that for inputs without forms, FormLikeFactory treats the document as the "form", but there is no difference in how we process them. @param aFormLike A FormLike object produced by FormLikeFactory. 10760
GeckoViewChildModule.jsm 2660
GeckoViewConsole.jsm 5328
GeckoViewContent.jsm capture 10723
GeckoViewContentBlocking.jsm 3331
GeckoViewContentBlockingController.jsm 3398
GeckoViewLoginStorage.jsm Delegates login entry fetching for the given domain to the attached LoginStorage GeckoView delegate. @param aDomain The domain string to fetch login entries for. @return {Promise} Resolves with an array of login objects or null. Rejected if no delegate is attached. Login object string properties: { guid, origin, formActionOrigin, httpRealm, username, password } 4113
GeckoViewMedia.jsm 3850
GeckoViewModule.jsm 3938
GeckoViewNavigation.jsm 16519
GeckoViewProcessHangMonitor.jsm Collection of hang reports that haven't expired or been dismissed by the user. These are nsIHangReports. 6107
GeckoViewProgress.jsm Determines the identity mode corresponding to the icon we show in the urlbar. 10404
GeckoViewPushController.jsm 2212
GeckoViewRemoteDebugger.jsm 4604
GeckoViewSettings.jsm 3698
GeckoViewStorageController.jsm isUserRequest 3614
GeckoViewTab.jsm Converts windowId to tabId as in GeckoView every browser window has exactly one tab. @param {number} windowId outerWindowId @returns {number} tabId 5157
GeckoViewTelemetry.jsm 878
GeckoViewUtils.jsm A formatter that does not prepend time/name/level information to messages, because those fields are logged separately when using the Android logger. 15900
GeckoViewWebExtension.jsm Provides common logic between page and browser actions 30892
LoadURIDelegate.jsm 3131
Messaging.jsm Register a listener to be notified of event(s). @param aListener Target listener implementing nsIAndroidEventListener. @param aEvents String or array of strings of events to listen to. 7944
moz.build 1135
.eslintrc.js 296