gecko-dev/dom/events/test
Tom Ritter 8f461abbfb Bug 1442515 Refactor test_eventTimeStamp.html to pass r=baku
Previously, we waited for the load event and used that event timestamp.
But as far as I can tell the intent of this test is not to test the load
event specifically, but just event timestamps.

In opt builds, the reduceTimerPrecision pref was not being populated fast
enough to take effect during the load process, and was causing (a lot of)
intermittent failures.

We refactor the test to use PushPrefEnv and test a different event.

MozReview-Commit-ID: ILJYHRhUHnM

--HG--
extra : rebase_source : 659ebbe2442647d1166725637bcd716ad94b9980
2018-03-06 10:18:12 -06:00
..
marionette Bug 1368456 - remove Promise.jsm imports in tests, r=mconley. 2017-06-23 11:25:52 +02:00
pointerevents Bug 1440164 - Call SimpleTest.finish() in runSubtestsSeriallyInFreshWindows() even if running subtests failed. r=kats 2018-02-23 21:53:31 -05:00
browser.ini Bug 1435530 - part 1: Add automated tests to check Alt + D works as Ctrl + L when Alt is content access key's modifier r=enndeakin+6102 2018-02-05 18:01:25 +09:00
browser_shortcutkey_modifier_conflicts_with_content_accesskey_modifier.js Bug 1436926 - part 2: Remove unnecessary KeyboardEvent.code specification of callers of EventUtils.synthesizeKey() r=smaug 2018-02-09 19:17:26 +09:00
bug226361_iframe.xhtml
bug299673.js Bug 1438157 - part 2: Remove unnecessary second argument of EventUtils.synthesizeKey() r=smaug 2018-02-15 04:15:39 +09:00
bug322588-popup.html
bug415498-doc1.html Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws. 2017-01-17 11:50:25 +01:00
bug415498-doc2.html
bug418986-3.js Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws. 2017-01-17 11:50:25 +01:00
bug426082.html Bug 1342144 - Remove version parameter from the type attribute of script elements. r=jmaher 2017-02-23 06:10:07 +09:00
bug545268.html Bug 1374944 - rewrite mochitest-3 tests for using data: URI. r=smaug 2017-06-30 10:21:52 -07:00
bug574663.html Bug 1374944 - rewrite mochitest-3 tests for using data: URI. r=smaug 2017-06-30 10:21:52 -07:00
bug591249_iframe.xul
bug602962.xul
bug607464.html Bug 1374944 - rewrite mochitest-3 tests for using data: URI. r=smaug 2017-06-30 10:21:52 -07:00
bug656379-1.html Bug 1365614 part 3 - Backout bug 1333482 part 1-9. Removes support for [-webkit-]appearance for now b/c web compat issues. r=bz 2017-05-21 17:15:00 +08:00
bug1017086_inner.html Bug 1017086 - Test for pointer events interface. r=smaug 2014-07-10 04:06:00 -04:00
chrome.ini Bug 1421150 - Fix the syntax for disabling dom/events/test/test_DataTransferItemList.html on a CLOSED TREE 2018-02-26 15:57:02 +02:00
empty.js
error_event_worker.js
file_bug679494.html
mochitest.ini Bug 1425759: Update test expectations. r=smaug,xidorn 2018-02-27 12:39:58 +01:00
test_DataTransferItemList.html Bug 1199729 - Part 5: Update tests for new DataTransfer behaviour, r=baku 2017-09-08 11:05:08 -04:00
test_accel_virtual_modifier.html Bug 1009388 part.1 Support getModifierState("Accel") r=smaug 2014-05-22 13:06:05 +09:00
test_addEventListenerExtraArg.html
test_all_synthetic_events.html Bug 1037335 - Fix test failures. r=ckerschb,smaug 2017-11-29 16:54:00 +02:00
test_bug226361.xhtml Bug 1436926 - part 2: Remove unnecessary KeyboardEvent.code specification of callers of EventUtils.synthesizeKey() r=smaug 2018-02-09 19:17:26 +09:00
test_bug238987.html Bug 1436926 - part 2: Remove unnecessary KeyboardEvent.code specification of callers of EventUtils.synthesizeKey() r=smaug 2018-02-09 19:17:26 +09:00
test_bug288392.html Bug 1345301 - elt.firstChild.remove() doesn't trigger a DOMSubtreeModified event, r=ms2ger 2017-03-08 20:05:34 +02:00
test_bug299673-1.html Bug 553417 - Rewrite tests to use pushPrefEnv. r=mats 2016-03-04 12:23:23 -05:00
test_bug299673-2.html Bug 553417 - Rewrite tests to use pushPrefEnv. r=mats 2016-03-04 12:23:23 -05:00
test_bug322588.html Bug 1376895 - Disable preloaded browser in two mochitests. r=me 2017-08-16 13:00:04 +02:00
test_bug328885.html Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws. 2017-01-17 11:50:25 +01:00
test_bug336682.js Bug 1339461 - script-generated patch to convert foo.indexOf(...) == -1 to foo.includes(), r=Mossop. 2018-02-01 20:45:22 +01:00
test_bug336682_1.html Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws. 2017-01-17 11:50:25 +01:00
test_bug336682_2.xul Bug 1217093 - Remove for-each from dom/. r=smaug 2015-10-19 02:00:50 +09:00
test_bug367781.html Bug 1361641 - Part 1: convert mochitest plain tests in dom to use srcdoc. r=smaug 2017-05-09 10:25:23 +08:00
test_bug379120.html
test_bug391568.xhtml
test_bug402089.html Bug 649012 - Fail mochitest-plains which use flaky timeouts (setTimeout(x) for x > 0); r=ted 2014-12-11 13:34:40 -05:00
test_bug405632.html
test_bug409604.html Bug 1436926 - part 2: Remove unnecessary KeyboardEvent.code specification of callers of EventUtils.synthesizeKey() r=smaug 2018-02-09 19:17:26 +09:00
test_bug412567.html
test_bug415498.xul Bug 1432992, part 1 - Remove definitions of Ci, Cr, Cc, and Cu. r=florian 2018-02-06 09:36:57 -08:00
test_bug418986-3.html Bug 1342144 - Remove version parameter from the type attribute of script elements. r=jmaher 2017-02-23 06:10:07 +09:00
test_bug418986-3.xul Bug 1342144 - Remove version parameter from the type attribute of script elements. r=jmaher 2017-02-23 06:10:07 +09:00
test_bug422132.html Make test_bug422132.html compatible with APZ. (bug 1149128, r=kats) 2015-04-15 16:41:26 -04:00
test_bug426082.html Bug 1342144 - Remove version parameter from the type attribute of script elements. r=jmaher 2017-02-23 06:10:07 +09:00
test_bug427537.html Bug 1003432: Expose CustomEvent in Worker. r=smaug 2016-03-22 00:09:57 +08:00
test_bug428988.html
test_bug432698.html Bug 1058072 - Result logged after SimpleTest.finish() with test_bug432698.html. r=smaug 2014-08-25 17:48:18 +02:00
test_bug443985.html
test_bug447736.html
test_bug448602.html Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws. 2017-01-17 11:50:25 +01:00
test_bug450876.html Bug 1438157 - part 2: Remove unnecessary second argument of EventUtils.synthesizeKey() r=smaug 2018-02-15 04:15:39 +09:00
test_bug456273.html Bug 1299453 - Stop using createEvent("DragEvents"/"KeyEvents") internally; r=smaug 2016-08-31 20:38:50 +03:00
test_bug457672.html Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws. 2017-01-17 11:50:25 +01:00
test_bug489671.html
test_bug493251.html Bug 1436926 - part 2: Remove unnecessary KeyboardEvent.code specification of callers of EventUtils.synthesizeKey() r=smaug 2018-02-09 19:17:26 +09:00
test_bug502818.html Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws. 2017-01-17 11:50:25 +01:00
test_bug508479.html Bug 1398883 - Disable the DataTransfer::Protected state for Firefox 57, r=baku 2017-09-13 11:45:48 -04:00
test_bug517851.html Bug 1388119 - Drop support for createEvent("ErrorEvent"/"PopStateEvent"); r=smaug 2017-08-07 21:19:59 +03:00
test_bug524674.xul Bug 1433175 - scripted patch to replace Components.classes[, Components.interfaces.nsI, Components.utils. and Components.results. with Cc, Ci, Cu and Cr, r=Mossop. 2018-02-28 18:51:33 +01:00
test_bug534833.html Bug 1331599 - script-generated patch to replace removeEventListener calls with the once option when possible, r=jaws. 2017-01-25 07:01:52 +01:00
test_bug545268.html Bug 1436926 - part 2: Remove unnecessary KeyboardEvent.code specification of callers of EventUtils.synthesizeKey() r=smaug 2018-02-09 19:17:26 +09:00
test_bug547996-1.html Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws. 2017-01-17 11:50:25 +01:00
test_bug547996-2.xhtml Bug 1339461 - script-generated patch to convert foo.indexOf(...) == -1 to foo.includes(), r=Mossop. 2018-02-01 20:45:22 +01:00
test_bug556493.html
test_bug563329.html Bug 1342144 - Remove version parameter from the type attribute of script elements. r=jmaher 2017-02-23 06:10:07 +09:00
test_bug574663.html Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian 2018-01-29 15:20:18 -08:00
test_bug586961.xul Bug 1339461 - script-generated patch to convert foo.indexOf(...) == -1 to foo.includes(), r=Mossop. 2018-02-01 20:45:22 +01:00
test_bug591249.xul Bug 1433175 - scripted patch to replace Components.classes[, Components.interfaces.nsI, Components.utils. and Components.results. with Cc, Ci, Cu and Cr, r=Mossop. 2018-02-28 18:51:33 +01:00
test_bug591815.html Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws. 2017-01-17 11:50:25 +01:00
test_bug593959.html
test_bug602962.xul Bug 1342144 - Remove version parameter from the type attribute of script elements. r=jmaher 2017-02-23 06:10:07 +09:00
test_bug603008.html Bug 1339461 - script-generated patch to convert foo.indexOf(...) == -1 to foo.includes(), r=Mossop. 2018-02-01 20:45:22 +01:00
test_bug605242.html
test_bug607464.html Bug 1374944 - rewrite mochitest-3 tests for using data: URI. r=smaug 2017-06-30 10:21:52 -07:00
test_bug613634.html Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws. 2017-01-17 11:50:25 +01:00
test_bug615597.html
test_bug617528.xul Bug 1433175 - scripted patch to replace Components.classes[, Components.interfaces.nsI, Components.utils. and Components.results. with Cc, Ci, Cu and Cr, r=Mossop. 2018-02-28 18:51:33 +01:00
test_bug624127.html Bug 1374944 - rewrite mochitest-3 tests for using data: URI. r=smaug 2017-06-30 10:21:52 -07:00
test_bug635465.html Bug 1342144 - Remove version parameter from the type attribute of script elements. r=jmaher 2017-02-23 06:10:07 +09:00
test_bug641477.html
test_bug648573.html Bug 1221459 - Remove TouchCaret and SelectionCarets prefs in test files. r=mtseng, r=roc 2015-12-22 14:14:12 +08:00
test_bug650493.html Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws. 2017-01-17 11:50:25 +01:00
test_bug656379-1.html Bug 1342144 - Remove version parameter from the type attribute of script elements. r=jmaher 2017-02-23 06:10:07 +09:00
test_bug656379-2.html Bug 1342144 - Remove version parameter from the type attribute of script elements. r=jmaher 2017-02-23 06:10:07 +09:00
test_bug656954.html Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws. 2017-01-17 11:50:25 +01:00
test_bug659071.html Bug 649012 - Fail mochitest-plains which use flaky timeouts (setTimeout(x) for x > 0); r=ted 2014-12-11 13:34:40 -05:00
test_bug659350.html
test_bug662678.html
test_bug667612.html Bug 1107904 - Remove packed.js and references to it as it is unused. r=standard8 2017-04-12 11:10:00 +01:00
test_bug667919-1.html
test_bug679494.xul Bug 1342144 - Remove version parameter from the type attribute of script elements. r=jmaher 2017-02-23 06:10:07 +09:00
test_bug684208.html Bug 684208 - make dispatchEvent()'s return value to follow the spec, r=masayuki 2016-04-07 15:49:12 +03:00
test_bug687787.html Bug 687787: support focusin/focusout based on webkit/blink r=smaug 2016-10-06 21:39:53 -04:00
test_bug689564.html Bug 949614 - Use === for SimpleTest.is; r=Waldo 2015-04-14 15:28:13 +02:00
test_bug698929.html
test_bug704423.html Bug 704423 mousemove event should be cancelable r=smaug 2014-04-24 23:19:54 +09:00
test_bug741666.html Bug 1339461 - script-generated patch to convert foo.indexOf(...) == -1 to foo.includes(), r=Mossop. 2018-02-01 20:45:22 +01:00
test_bug812744.html
test_bug822898.html Bug 1342144 - Remove version parameter from the type attribute of script elements. r=jmaher 2017-02-23 06:10:07 +09:00
test_bug855741.html
test_bug864040.html Bug 1365614 part 3 - Backout bug 1333482 part 1-9. Removes support for [-webkit-]appearance for now b/c web compat issues. r=bz 2017-05-21 17:15:00 +08:00
test_bug924087.html Bug 1342144 - Remove version parameter from the type attribute of script elements. r=jmaher 2017-02-23 06:10:07 +09:00
test_bug930374-chrome.html Bug 1331599 - script-generated patch to replace removeEventListener calls with the once option when possible, r=jaws. 2017-01-25 07:01:52 +01:00
test_bug930374-content.html Bug 1331599 - script-generated patch to replace removeEventListener calls with the once option when possible, r=jaws. 2017-01-25 07:01:52 +01:00
test_bug944011.html Bug 1374944 - rewrite mochitest-3 tests for using data: URI. r=smaug 2017-06-30 10:21:52 -07:00
test_bug944847.html
test_bug946632.html Bug 1360568 - Update wheel event coordinates to account for different styling on Ubuntu 16.04. r=jmaher 2017-05-11 15:26:44 -04:00
test_bug967796.html Backed out 2 changesets (bug 1421482) for failing modified mochitest layout/base/tests/test_bug1078327.html. r=backout a=backout 2017-12-12 19:03:49 +02:00
test_bug985988.html Bug 1345996 followup. Update some tests for the new event behavior. 2017-03-11 02:33:58 -05:00
test_bug998809.html Bug 998809 - WidgetEvent::typeString is not always set correctly , r=masayuki 2014-06-17 01:59:54 +03:00
test_bug1003432.html Bug 1003432: Expose CustomEvent in Worker. r=smaug 2016-03-22 00:09:57 +08:00
test_bug1003432.js Bug 1003432: Expose CustomEvent in Worker. r=smaug 2016-03-22 00:09:57 +08:00
test_bug1013412.html Bug 1380680 - Fix test_bug1013412 so it passes with webrender enabled. r=dvander 2017-07-13 11:15:59 -04:00
test_bug1017086_disable.html Bug 1017086 - Test for pointer events interface. r=smaug 2014-07-10 04:06:00 -04:00
test_bug1017086_enable.html Bug 1017086 - Test for pointer events interface. r=smaug 2014-07-10 04:06:00 -04:00
test_bug1037990.html Bug 1037990 - AccessLabelKey is now accessible event if the element is detached. r=bzbarsky 2014-10-15 07:42:00 +02:00
test_bug1079236.html Bug 1428685 - Use dom.webcomponents.shadowdom.enabled pref for Shadow DOM. r=smaug 2018-01-16 17:16:30 +01:00
test_bug1128787-1.html Bug 1331599 - script-generated patch to replace removeEventListener calls with the once option when possible, r=jaws. 2017-01-25 07:01:52 +01:00
test_bug1128787-2.html Bug 1331599 - script-generated patch to replace removeEventListener calls with the once option when possible, r=jaws. 2017-01-25 07:01:52 +01:00
test_bug1128787-3.html Bug 1331599 - script-generated patch to replace removeEventListener calls with the once option when possible, r=jaws. 2017-01-25 07:01:52 +01:00
test_bug1145910.html Bug 1428685 - Use dom.webcomponents.shadowdom.enabled pref for Shadow DOM. r=smaug 2018-01-16 17:16:30 +01:00
test_bug1150308.html Bug 1428685 - Use dom.webcomponents.shadowdom.enabled pref for Shadow DOM. r=smaug 2018-01-16 17:16:30 +01:00
test_bug1248459.html Bug 1248459 - Add a test for querying out-of-bounds selection; r=masayuki 2016-03-03 13:10:07 -05:00
test_bug1264380.html Bug 1428685 - Use dom.webcomponents.shadowdom.enabled pref for Shadow DOM. r=smaug 2018-01-16 17:16:30 +01:00
test_bug1298970.html Bug 1298970 - Move UIEvent.cancelBubble to Event. r=smaug 2016-11-29 10:28:21 +08:00
test_bug1304044.html Bug 1304044 - implement auxclick r=smaug 2016-11-30 19:48:02 -05:00
test_bug1305458.html Bug 1438157 - part 2: Remove unnecessary second argument of EventUtils.synthesizeKey() r=smaug 2018-02-15 04:15:39 +09:00
test_bug1327798.html Bug 1199729 - Part 5: Update tests for new DataTransfer behaviour, r=baku 2017-09-08 11:05:08 -04:00
test_bug1332699.html Bug 1332699 - Don't check handler of legacy version if the event is not trusted. r=smaug 2017-01-23 16:08:41 +11:00
test_bug1339758.html Bug 1339758, click() and similar can return 0 from various coordinate properties, r=masayuki 2017-03-23 12:57:44 +02:00
test_bug1369072.html Bug 1369072 - part0: Add automated test for testing key event handlers to scroll parent document when an iframe element has or had focus r=smaug 2017-09-05 15:18:02 +09:00
test_bug1412775.xul Bug 1432992, part 1 - Remove definitions of Ci, Cr, Cc, and Cu. r=florian 2018-02-06 09:36:57 -08:00
test_clickevent_on_input.html Bug 1221459 - Remove TouchCaret and SelectionCarets prefs in test files. r=mtseng, r=roc 2015-12-22 14:14:12 +08:00
test_continuous_wheel_events.html Backed out changeset e4ecf720b3a1 (bug 713680) for crashing in dom/tests/mochitest/chrome/test_xray_event_constructor.xul on Windows 7 debug. r=backout 2017-03-29 21:51:05 +02:00
test_dblclick_explicit_original_target.html
test_deviceSensor.html Bug 1359076: Disable all Device Sensor APIs except orientation by default r=bkelly 2017-07-24 10:07:00 +02:00
test_disabled_events.html Bug 1359076: Disable all Device Sensor APIs except orientation by default r=bkelly 2017-07-24 10:07:00 +02:00
test_dnd_with_modifiers.html Bug 606885 - Fire drag events with keyboard modifiers. r=enn 2017-02-17 11:29:42 +08:00
test_dom_activate_event.html Bug 930843 part.1 Add test for checking isTrust attribute value of DOMActivate event r=smaug 2015-08-22 13:02:39 +09:00
test_dom_keyboard_event.html Bug 1438157 - part 2: Remove unnecessary second argument of EventUtils.synthesizeKey() r=smaug 2018-02-15 04:15:39 +09:00
test_dom_mouse_event.html Bug 991899 part 2 - Unprefix PointerLock tests. r=smaug 2016-07-28 17:15:21 +10:00
test_dom_storage_event.html Bug 1016053 - document.createElement('StorageEvent') must be supported, r=smaug 2014-05-29 14:33:00 +01:00
test_dom_wheel_event.html Bug 1252256, part 12 - Don't call continueTest if we're not expecting any more async handler calls. r=masayuki 2016-03-18 08:35:22 -07:00
test_draggableprop.html
test_dragstart.html Bug 1352281 - Include KIND_OTHER types in DataTransfer.types, r=baku 2017-04-17 14:57:25 -04:00
test_error_events.html Bug 1331599 - tests fixed by hand after making addEventListener use the once option when possible, r=jaws. 2017-01-25 07:03:42 +01:00
test_eventTimeStamp.html Bug 1442515 Refactor test_eventTimeStamp.html to pass r=baku 2018-03-06 10:18:12 -06:00
test_eventctors.html Bug 1359076: Disable all Device Sensor APIs except orientation by default r=bkelly 2017-07-24 10:07:00 +02:00
test_eventctors.xul
test_eventctors_sensors.html Bug 1359076: Disable all Device Sensor APIs except orientation by default r=bkelly 2017-07-24 10:07:00 +02:00
test_eventhandler_scoping.html Bug 1144802 part 4. Stop returning true from ByteCodeEmitter::needsImplicitThis based on the compileAndGo flag. r=luke 2015-03-20 00:34:08 -04:00
test_focus_abspos.html Bug 1424633: Decide which frame to focus using the flattened tree. r=smaug 2017-12-16 00:39:13 +01:00
test_focus_disabled.html Bug 1016184 - Part 3c: Fix test_focus_disabled.html. r=ehsan 2014-07-27 00:16:00 +02:00
test_legacy_event.html Bug 1334831 - script-generated patch to use .remove() instead of .parentNode.removeChild, r=jaws. 2017-01-30 08:10:22 +01:00
test_messageEvent.html Bug 1310967 - Update MessageEvent to the latest spec, r=smaug 2016-10-25 07:48:05 +02:00
test_messageEvent_init.html Bug 1310967 - Update MessageEvent to the latest spec, r=smaug 2016-10-25 07:48:05 +02:00
test_moz_mouse_pixel_scroll_event.html Bug 1252135 - Convert some tests in dom/events to use pushPrefEnv, r=Andrew McCreight 2016-03-01 09:27:15 -05:00
test_offsetxy.html Bug 1203404. offsetX/Y on mouse events should remain target-relative, instead of becoming page-relative, after event dispatch is done. r=roc 2015-09-18 13:36:13 -04:00
test_onerror_handler_args.html Bug 1374944 - rewrite mochitest-3 tests for using data: URI. r=smaug 2017-06-30 10:21:52 -07:00
test_passive_listeners.html Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws. 2017-01-17 11:50:25 +01:00
test_paste_image.html Bug 906420 - Part 2: Add support for images to DataTransfer, r=baku 2016-07-04 15:45:45 -04:00
test_wheel_default_action.html Bug 1217715 - Don't limit the system scroll override to the root content. r=botond,masayuki 2016-08-19 06:52:25 -04:00
window_bug493251.html
window_bug617528.xul Bug 1322414 - part 2,3,4: use a separate 'primary' attribute for primary child browsers, r=bz,mconley 2016-12-09 09:23:24 -10:00
window_bug659071.html Bug 1252135 - Convert some tests in dom/events to use pushPrefEnv, r=Andrew McCreight 2016-03-01 09:27:15 -05:00
window_bug1369072.html Bug 1438157 - part 2: Remove unnecessary second argument of EventUtils.synthesizeKey() r=smaug 2018-02-15 04:15:39 +09:00
window_bug1412775.xul Bug 1412775 - Implement Event.composedPath, tests for chrome handling, r=stone 2017-12-18 18:08:03 +02:00
window_wheel_default_action.html Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian 2018-01-29 15:20:18 -08:00