gecko-dev/dom/events/test
Aryeh Gregor 2df3e475b4 Bug 1387828 - Reinstate support for initKeyboardEvent; r=smaug
https://github.com/w3c/uievents/issues/112

This is supported by all other UAs.  In the past we had compatibility
problems when trying to add support, but it seems these might be fixed
if we make all arguments optional beyond the first.

The interface chosen for the method is from the spec, which has been
updated to match Chrome.  This is also very similar to WebKit, but the
final four arguments are different from IE.

MozReview-Commit-ID: 36AeX1JwJTt

--HG--
extra : rebase_source : 28b298d370f0f9a5ab4090a71a2aae91f1d90025
2017-08-06 16:52:39 +03:00
..
marionette Bug 1368456 - remove Promise.jsm imports in tests, r=mconley. 2017-06-23 11:25:52 +02:00
pointerevents Bug 1388356 - add pref apz.test.fails_with_native_injection for windows to allow touch based events to work in windows 10 tests. r=kats 2017-08-08 15:08:04 -04:00
bug226361_iframe.xhtml
bug299673.js Bug 553417 - Rewrite tests to use pushPrefEnv. r=mats 2016-03-04 12:23:23 -05: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
chrome.ini Bug 1251198 - Remove various obsolete events from document.createEvent r=smaug 2017-04-20 15:45:37 +03:00
empty.js
error_event_worker.js
file_bug679494.html
mochitest.ini Bug 1374872 - Disable tests involving web components for stylo. r=wchen 2017-06-21 14:51:37 +10:00
test_accel_virtual_modifier.html
test_addEventListenerExtraArg.html
test_all_synthetic_events.html Bug 1251198 - Remove various obsolete events from document.createEvent r=smaug 2017-04-20 15:45:37 +03:00
test_bug226361.xhtml Bug 1194370 - Use SpecialPowers harder. r=wchen 2015-08-20 10:30:10 -07:00
test_bug238987.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_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 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_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_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_bug336682.js
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
test_bug405632.html
test_bug409604.html Bug 1334831 - script-generated patch to use .remove() instead of .parentNode.removeChild, r=jaws. 2017-01-30 08:10:22 +01:00
test_bug412567.html
test_bug415498.xul Bug 1321218 - Remove legacy generator from dom/. r=smaug 2016-12-01 18:11:32 +09: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
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
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
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 1299453 - Stop using createEvent("DragEvents"/"KeyEvents") internally; r=smaug 2016-08-31 20:38:50 +03: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 1180798 - Pass event names in nsIEventListenerChangeListener r=smaug 2015-07-17 11:07:37 -04: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 1374944 - rewrite mochitest-3 tests for using data: URI. r=smaug 2017-06-30 10:21:52 -07: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 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_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 1374944 - rewrite mochitest-3 tests for using data: URI. r=smaug 2017-06-30 10:21:52 -07:00
test_bug586961.xul Bug 1342144 - Remove version parameter from the type attribute of script elements. r=jmaher 2017-02-23 06:10:07 +09:00
test_bug591249.xul Bug 1342144 - Remove version parameter from the type attribute of script elements. r=jmaher 2017-02-23 06:10:07 +09: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 1342144 - Remove version parameter from the type attribute of script elements. r=jmaher 2017-02-23 06:10:07 +09: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
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
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
test_bug741666.html Bug 1342144 - Remove version parameter from the type attribute of script elements. r=jmaher 2017-02-23 06:10:07 +09:00
test_bug742376.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_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 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_bug985988.html Bug 1345996 followup. Update some tests for the new event behavior. 2017-03-11 02:33:58 -05:00
test_bug998809.html
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
test_bug1017086_enable.html
test_bug1037990.html
test_bug1079236.html Bug 1079236, Event.composedTarget to reveal the original non-native-anonymous event target, r=wchen, r=smaug 2015-01-23 13:55:46 +02: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 1145910 - Cross ShadowRoot boundary when updating ancestor state in event state manager. r=smaug 2015-03-24 03:55:52 -07:00
test_bug1150308.html Bug 1150308 - Use flattened tree parent when settings event state on ancestors. r=smaug 2015-04-08 18:13:48 -07: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 1264380 - Get Composed Document of Shadow DOM Element Properly. r=wchen 2016-04-20 18:28:28 +08: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 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_bug1327798.html Bug 1327798 - Part 2. Add test. r=enndeakin 2017-02-01 14:05:17 +09: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_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_DataTransferItemList.html Bug 1374282 - script generated patch to remove Task.jsm calls, r=Mossop. 2017-06-22 12:51:42 +02:00
test_dblclick_explicit_original_target.html
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 1387828 - Reinstate support for initKeyboardEvent; r=smaug 2017-08-06 16:52:39 +03: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
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_eventctors.html Bug 1352949 Remove dom.keyboardevent.code.enabled r=smaug 2017-04-03 18:04:27 +09:00
test_eventctors.xul
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_eventTimeStamp.html Bug 1313420 - Implement Performance.timeOrigin - part 2 - tests, r=bz 2016-11-17 10:00:26 +01:00
test_focus_disabled.html
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_init.html Bug 1310967 - Update MessageEvent to the latest spec, r=smaug 2016-10-25 07:48:05 +02:00
test_messageEvent.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_wheel_default_action.html Bug 1351148 Part7: Revise window_wheel_default_action.html to wait event 'FullZoomChange' and then check the result. r=smaug. 2017-07-07 11:48:42 +08:00