Name Description Size
AccessibilityUtils.js Accessible states used to check node's state from the accessiblity API perspective. Note: if gecko is built with --disable-accessibility, the interfaces are not defined. This is why we use getters instead to be able to use these statically. 17378
ChromeTask.js -*- indent-tabs-mode: nil; js-indent-level: 2 -*- 5004
EventUtils.js EventUtils provides some utility methods for creating and sending DOM events. Current methods: sendMouseEvent sendDragEvent sendChar sendString sendKey sendWheelAndPaint sendWheelAndPaintNoFlush synthesizeMouse synthesizeMouseAtCenter synthesizeNativeMouseEvent synthesizeWheel synthesizeWheelAtPoint synthesizeKey synthesizeNativeKey synthesizeMouseExpectEvent synthesizeKeyExpectEvent synthesizeDragOver synthesizeDropAfterDragOver synthesizeDrop synthesizePlainDragAndDrop synthesizePlainDragAndCancel When adding methods to this file, please add a performance test for it. 110728
ExtensionTestUtils.js global registerCleanupFunction 4657
iframe-between-tests.html iframe for between tests 529
LogController.js set minimum logging level 2737
MemoryStats.js -*- js-indent-level: 4; indent-tabs-mode: nil -*- 3916
MockObjects.js Allows registering a mock XPCOM component, that temporarily replaces the original one when an object implementing a given ContractID is requested using createInstance. @param aContractID The ContractID of the component to replace, for example ";1". @param aReplacementCtor The constructor function for the JavaScript object that will be created every time createInstance is called. This object must implement QueryInterface and provide the XPCOM interfaces required by the specified ContractID (for example Components.interfaces.nsIFilePicker). 3121 824
MozillaLogger.js MozillaLogger, a base class logger that just logs to stdout. 2304
NativeKeyCodes.js This file defines all virtual keycodes for synthesizeNativeKey() of EventUtils.js and nsIDOMWindowUtils.sendNativeKeyEvent(). These values are defined in each platform's SDK or documents. 12340
paint_listener.js 3228
setup.js -*- js-indent-level: 2; indent-tabs-mode: nil -*- 8497
SimpleTest.js SimpleTest, a partial Test.Simple/Test.More API compatible test library. Why? Test.Simple doesn't work on IE < 6. TODO: * Support the Test.Simple API used by MochiKit, to be able to test MochiKit itself against IE 5.5 NOTE: Pay attention to cross-browser compatibility in this file. For instance, do not use const or JS > 1.5 features which are not yet implemented everywhere. 64059
test.css 502
TestRunner.js -*- js-indent-level: 4; indent-tabs-mode: nil -*- 31379
WindowSnapshot.js 3446
WorkerHandler.js Any copyright is dedicated to the Public Domain. 1307
WorkerSimpleTest.js Any copyright is dedicated to the Public Domain. 962