gecko-dev/dom/events/test
Kevin Wern b2052e9ddc Bug 1304044 - implement auxclick r=smaug
After click events with button 2 or 3 are fired, fire auxclick, a new
event intended to represent a non-primary mouse click. Because this
event, based on the design examples and blink's implementation, is
intended to be used with content listeners, always dispatch on content
listeners--not just those that force all events to be dispatched (i.e.
document/window). This diverges from the behavior of our click events
from non-primary buttons.

Eventually, we hope this will replace click events for non-primary
buttons. For now, leave those events for compatibility reasons.

Additionally, add handling of this new event, where necessary.

MozReview-Commit-ID: 8osozM4h6Ya

--HG--
extra : rebase_source : 558261dd0d0b9241efa84ca168c50455850af03a
2016-11-30 19:48:02 -05:00
..
marionette Bug 1272414 - rip out qemu/browser/b2g flags from marionette manifests, r=AutomatedTester 2016-05-19 17:23:26 +01:00
pointerevents Bug 1302297 - Part 5: Update related testcases. f=stone, r=smaug 2016-12-09 03:40:00 +01: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
bug415498-doc2.html
bug418986-3.js Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00
bug426082.html Bug 1321218 - Remove legacy generator from dom/. r=smaug 2016-12-01 18:11:32 +09:00
bug591249_iframe.xul
bug602962.xul
bug656379-1.html Bug 1321218 - Remove legacy generator from dom/. r=smaug 2016-12-01 18:11:32 +09:00
bug989198_embedded.html Bug 989198, Patch 5: Mochitest for BeforeAfterKeyboardEvent, r=smaug. 2014-11-03 15:05:48 +08:00
bug989198_helper.js Bug 989198, Patch 5: Mochitest for BeforeAfterKeyboardEvent, r=smaug. 2014-11-03 15:05:48 +08:00
bug1017086_inner.html Bug 1017086 - Test for pointer events interface. r=smaug 2014-07-10 04:06:00 -04:00
bug1096146_embedded.html Bug 1096146, Patch 2: Mochitest, r=smaug. 2014-11-21 17:48:04 +08:00
chrome.ini Bug 1310297 - Remove test annotations using b2g, mulet or gonk: dom/events. r=RyanVM 2016-11-05 11:29:16 +01:00
empty.js
error_event_worker.js Bug 972312 part 2. Get rid of InternalScriptErrorEvent and just use mozilla::dom::ErrorEvent for the cases that used to use it. r=smaug,khuey 2014-02-23 00:01:12 -05:00
file_bug679494.html
mochitest.ini Bug 1304044 - implement auxclick r=smaug 2016-11-30 19:48:02 -05:00
test_DataTransferItemList.html Bug 1297186 - Correctly propagate principals when getting the files list in DataTransfer, r=enndeakin 2016-09-01 11:22:15 -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 1313788 - Remove DOM/wifi and related code. r=jst 2016-11-08 15:02:45 -08:00
test_bug226361.xhtml Bug 1194370 - Use SpecialPowers harder. r=wchen 2015-08-20 10:30:10 -07:00
test_bug238987.html Bug 1252135 - Convert some tests in dom/events to use pushPrefEnv, r=Andrew McCreight 2016-03-01 09:27:15 -05:00
test_bug288392.html
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 649012 - Fail mochitest-plains which use flaky timeouts (setTimeout(x) for x > 0); r=ted 2014-12-11 13:34:40 -05:00
test_bug328885.html Bug 1240963 - Make test_bug328885.html more reliable, r=khuey 2016-01-20 15:14:03 +02:00
test_bug336682.js
test_bug336682_1.html
test_bug336682_2.xul Bug 1217093 - Remove for-each from dom/. r=smaug 2015-10-19 02:00:50 +09:00
test_bug367781.html
test_bug368835.html Bug 980134 - Hide DataContainerEvent from content. r=smaug 2014-03-31 06:28:00 +09: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 1252135 - Convert some tests in dom/events to use pushPrefEnv, r=Andrew McCreight 2016-03-01 09:27:15 -05: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 418986 - Resist fingerprinting by preventing exposure of screen and system info. r=mrbkap, r=heycam 2015-06-07 09:02:00 -04:00
test_bug418986-3.xul Bug 418986 - Resist fingerprinting by preventing exposure of screen and system info. r=mrbkap, r=heycam 2015-06-07 09:02:00 -04: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
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 1292063 - Part 2: Add composed argument to getEventTargetChainFor and refine test cases. r=smaug 2016-09-13 17:29:08 +08: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 1252135 - Convert some tests in dom/events to use pushPrefEnv, r=Andrew McCreight 2016-03-01 09:27:15 -05:00
test_bug489671.html
test_bug493251.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_bug502818.html
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 684208 - make dispatchEvent()'s return value to follow the spec, r=masayuki 2016-04-07 15:49:12 +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
test_bug545268.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_bug547996-1.html
test_bug547996-2.xhtml
test_bug556493.html
test_bug563329.html Bug 1056851 - Change existing callers of SpecialPowers.setBoolPref/setIntPref/setCharPref to SpecialPowers.pushPrefEnv. r=jmaher,mwargers 2015-02-19 11:53:01 -05:00
test_bug574663.html Bug 1209942 - Flush APZ repaints before waiting for paints. r=dvander 2015-10-05 16:18:24 -04:00
test_bug586961.xul Bug 475981, remove titles from a bunch of tests, fixing box wrapped in a block warnings,r=neil 2014-04-04 13:11:12 -04:00
test_bug591249.xul Bug 1299453 - Stop using createEvent("DragEvents"/"KeyEvents") internally; r=smaug 2016-08-31 20:38:50 +03:00
test_bug591815.html
test_bug593959.html
test_bug602962.xul Bug 881832 - Fix test_bug602962.xul to not assume that resizes have finished flushing when the resize event fires. r=tnikkel 2016-05-12 12:09:50 +12:00
test_bug603008.html Bug 1219898 - Remove unneccessary gPreventMouseEvents flag. r=smaug 2015-10-30 22:22:32 -04:00
test_bug605242.html
test_bug607464.html Bug 1208072 - Wait for the layer tree to get to the compositor before synthesizing wheel events or they don't have the desired effect. r=dvander 2015-09-24 22:11:31 -04:00
test_bug613634.html
test_bug615597.html
test_bug617528.xul
test_bug624127.html
test_bug635465.html
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
test_bug656379-1.html
test_bug656379-2.html Bug 1321218 - Remove legacy generator from dom/. r=smaug 2016-12-01 18:11:32 +09:00
test_bug656954.html
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
test_bug667919-1.html
test_bug679494.xul Bug 679494 - Follow-up: Fix bug number and path in test. r=me 2015-01-14 07:30:42 +02: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 1190541 - Update some tests to deal with fluffing that correctly accounts for presShell resolution. r=domivinc 2016-01-05 23:08:07 -05:00
test_bug742376.html Bug 1300606 - DeviceType event handlers/listeners aren't removed properly, r=mccr8 2016-09-13 17:00:43 -07:00
test_bug812744.html
test_bug822898.html Bug 1251659, part 2 - Remove redundant setting of pointer events pref in test_bug822898. r=mrbkap 2016-02-29 05:42:56 -08:00
test_bug855741.html
test_bug864040.html Bug 1197786 - Use -moz-appearance:none on textarea in test_bug864040.html to work around unreliable Gtk3-themed rendering. r=dholbert 2016-01-13 19:43:22 +00:00
test_bug924087.html Bug 1168055 - Fix the :active pseudo-class on text controls; r=smaug 2015-05-27 08:27:13 -04:00
test_bug930374-chrome.html Bug 1271115 - Merge ChromeUtils.js into EventUtils.js; r=jmaher 2016-08-25 16:57:09 +03:00
test_bug930374-content.html
test_bug944011.html
test_bug944847.html
test_bug946632.html Make test_bug946632 compatible with asynchronous scrolling. (bug 1140293, r=mstange) 2015-04-15 16:28:43 -04:00
test_bug967796.html Bug 1251659 - test_bug967796.html should use SpecialPowers.pushPrefEnv. r=smaug 2016-10-19 09:24:12 +08:00
test_bug985988.html Bug 985988, event handlers should update preventDefault flag similar way to event.preventDefault(), r=masayuki 2014-03-21 19:46:15 +02: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 1162214 - Disable smooth-scrolling on a wheel scroll test as it causes intermittent failures. r=dvander 2015-05-16 12:37:21 -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 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_bug1096146.html Bug 1315905 - Cleanup Necko http security check - part 2 - tests, r=valentin 2016-11-17 14:53:30 +01:00
test_bug1128787-1.html Bug 1128787 part.2 nsHTMLDocument should clear focus before making itself editable when designMode is enabled and it makes the focused content non-focusable r=smaug+enndeakin 2015-04-21 15:27:10 +09:00
test_bug1128787-2.html Bug 1128787 part.2 nsHTMLDocument should clear focus before making itself editable when designMode is enabled and it makes the focused content non-focusable r=smaug+enndeakin 2015-04-21 15:27:10 +09:00
test_bug1128787-3.html Bug 1128787 part.2 nsHTMLDocument should clear focus before making itself editable when designMode is enabled and it makes the focused content non-focusable r=smaug+enndeakin 2015-04-21 15:27:10 +09: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 1305458 Part10: Add test case. r=smaug 2016-10-26 13:07:18 +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 Bug 1251905, part 5 - Make the synthesize wheel async. r=masayuki 2016-04-02 10:30:31 -07:00
test_dblclick_explicit_original_target.html
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_before_after_keyboard_event.html Bug 1315905 - Cleanup Necko http security check - part 2 - tests, r=valentin 2016-11-17 14:53:30 +01:00
test_dom_before_after_keyboard_event_remote.html Bug 1315905 - Cleanup Necko http security check - part 2 - tests, r=valentin 2016-11-17 14:53:30 +01:00
test_dom_keyboard_event.html Bug 1299453 - Stop using createEvent("DragEvents"/"KeyEvents") internally; r=smaug 2016-08-31 20:38:50 +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 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 1298243 part 7. Change DataTransfer.types from being a DOMStringList to being a frozen array. r=mystor,gijs 2016-10-10 21:07:47 -04:00
test_error_events.html Bug 1173787. The column number of an exception populated via PopulateReportBlame should be 1-based. r=fitzgen 2015-06-12 22:21:44 -04:00
test_eventTimeStamp.html Bug 1313420 - Implement Performance.timeOrigin - part 2 - tests, r=bz 2016-11-17 10:00:26 +01:00
test_eventctors.html Bug 1164981 - Add MouseEvent.movementX/Y. r=masayuki, r=ehsan 2015-05-19 16:26:02 -04: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_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 1266650 - Revert the test_legacy_event.html tests to previous version. r=birtles 2016-04-22 15:56:17 +09: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 1007790. When compiling the <body>'s onerror handler, do give it all five args. r=smaug 2014-05-08 22:20:54 -04:00
test_passive_listeners.html Bug 1266066 - Implement DOM support for the 'passive' event listener flag. r=smaug 2016-05-12 14:50:22 -04: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
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 1255634 - APZ should scroll by more than a page with large values of mousewheel.default.delta_multiplier_{x,y}. r=masayuki,kats 2016-04-12 00:06:49 -04:00