Commit Graph

169 Commits

Author SHA1 Message Date
Ehsan Akhgari
9f90b8aab0 Bug 716877 - test_eventctors.xul calls SimleTest.finish needlessly; r=smaug 2012-01-10 12:43:15 -05:00
Ehsan Akhgari
d6351da2d9 Bug 716145 - test_eventctors.html calls SimleTest.finish needlessly; r=smaug
--HG--
extra : rebase_source : 3dbd516acbaf1e21be24d6bb443d330ba02d61f1
2012-01-09 13:09:00 -05:00
Boris Zbarsky
edd0a7b852 Bug 716549. Flush on every mousemove, because otherwise we can end up with mouse events (mousemove, mousein, mouseout) dispatched to the wrong elements. r=smaug 2011-12-23 22:52:26 -05:00
Olli Pettay
3851d96683 Bug 709569, a tool for webidl dictionary-like interfaces, r=khuey,mrbkap 2011-12-24 00:13:46 +02:00
Boris Zbarsky
9e6b32a2fa Bug 710917. Moving hover from a button to text in the label containing the button should keep the button's hover state. r=dbaron 2011-12-21 16:50:29 -05:00
Olli Pettay
998181bae9 Bug 709127 - Implement MouseEvent and UIEvent ctors, r=jst, a=sheriff 2011-12-14 22:36:46 +02:00
Olli Pettay
b3edc36350 Bug 708701 - Implement HTML event ctors, r=jst
--HG--
extra : rebase_source : 4abb0185ea790c29ff7f2df0f032045777c898e0
2011-12-14 21:55:32 +02:00
Olli Pettay
b67e8975ea Bug 675884 - Implement Event constructors, part1, r=jst
--HG--
extra : rebase_source : 109d9cb22b810fbff71c637b6e15965eafdd61fe
2011-12-14 21:53:48 +02:00
Jan Bambach
2cd6ae449b Bug 707677 - Use defaultPrevented instead of the deprecated getPreventDefault() in front-end code. r=dao 2011-12-08 10:21:32 +01:00
Timothy Zhu
4be555d6d0 Bug 662173 - DataTransfer.getData should lowercase its argument; r=enndeakin 2011-11-08 11:42:53 +00:00
Ed Morley
6a998be2c5 Backout 4997c6f8b24d (bug 616542) for causing locally run mochitest-browser-chrome test runs to fail 2011-11-05 18:35:59 +00:00
Rail Aliiev
364e83c545 Bug 616542 - Shorten file path length of mochitest; r=ted 2011-11-04 21:13:42 +00:00
Olli Pettay
e36091a737 Bug 698929 - Implement event.stopImmediatePropagation, r=jst
--HG--
extra : rebase_source : 76d19175a58a4ac8113b144a19f9d7679ad54dd0
2011-11-04 19:17:19 +02:00
Olli Pettay
039dfaaa3a Bug 689128, re-enable EventListenerService tests, add a null check, handle compartments, r=bz
--HG--
extra : rebase_source : a0254eecb59adabb94737f1ca12803b712698903
2011-10-10 13:38:14 +03:00
Ms2ger
2f93d04a35 Bug 687486 - Throw INVALID_STATE_ERR when dispatching uninitialized events; r=smaug 2011-10-09 20:23:13 +02:00
Joel Maher
be5ce7dc85 Bug 676274 - refactor specialpowers so we can use the api in mochitest-chrome without specialpowers. r=ted, a=test-only. 2011-10-06 10:51:03 -04:00
Matheus Kerschbaum
f79d315393 Bug 683482 - Remove replaceWholeText() r=sicking 2011-10-01 18:12:30 +02:00
Adam Dane [:hobophobe]
35dfe378d7 bug 591249 - event dragleave not properly dispatched if drag-and-drop aborted with ESC within iframe. r=smaug 2011-09-26 15:55:04 -05:00
Boris Zbarsky
095402dd70 Bug 689564. Only forward event attributes on body/frameset to the window if we also forward the corresponding on* property. r=smaug 2011-09-28 11:54:50 -04:00
Olli Pettay
7dfe430f16 Bug 432698 - mouseenter and mouseleave, r=masayuki
--HG--
extra : rebase_source : 2664d2655546602edc88bcadc7dd981b01d76820
2011-09-18 02:45:14 -05:00
Ms2ger
6aeeb50315 Bug 672054 - Part b: Remove nsIDOMNSMouseEvent; r=smaug 2011-08-26 09:43:56 +02:00
Boris Zbarsky
15b5af918d Bug 659350 part 6. Add various tests for the on* properties. r=smaug 2011-08-24 15:49:26 -04:00
Boris Zbarsky
8bdd1a64af Bug 659350 part 5. The guts of the change to move from storing inline event handlers on the JSObject to storing them in the event listener manager directly, so we can easily set/read them via IDL.
The changes here are as follows:
1) nsIJSEventListener now stores the handler.  This is guaranteed to be already bound properly, if needed, before being set in the nsIJSEventListener.
2) The old classinfo glue to deal with on* properties is gone.
3) IDL-based methods for on* properties have been added.
2011-08-24 15:49:25 -04:00
Bobby Holley
40ff2f16cc Bug 679494 - Tests. r=khuey 2011-08-18 13:36:00 -07:00
Jonas Sicking
923d52af7d Bug 667612: Make addEventListener not throw if passed a null listener. r=smaug 2011-08-18 02:45:00 -07:00
Malini Das
02665c9658 Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- plain 1/1. r=jmaher, a=test-only 2011-08-12 12:21:42 -04:00
Malini Das
e306b1b5aa Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- chrome. r=jmaher, a=test-only 2011-08-12 12:21:36 -04:00
Boris Zbarsky
fb85e72ddc Bug 669979. Don't do zoom or history actions for momentum scrolls, no matter what's going on with pixel scrolling. r=smaug,masayuki 2011-08-01 13:43:23 -04:00
Jonas Sicking
e66eecfd3e Bug 647603: a.replaceChild(b, b) does not remove and re-insert the affected node. r=bz 2011-06-29 23:16:09 -07:00
Doug Turner
d4487fbc34 Bug 667919 - Add support for window.ondevicemotion and window.ondeviceorientation. r=smaug 2011-06-28 15:37:31 -07:00
Doug Turner
104a8914c7 Bug 615597 - Implement devicemotion and fix up deviceorientation events. r=smaug/azakai
--HG--
rename : content/events/src/nsDOMOrientationEvent.cpp => content/events/src/nsDOMDeviceOrientationEvent.cpp
rename : content/events/src/nsDOMOrientationEvent.h => content/events/src/nsDOMDeviceOrientationEvent.h
rename : dom/system/android/nsAccelerometerSystem.cpp => dom/system/android/nsDeviceMotionSystem.cpp
rename : dom/system/android/nsAccelerometerSystem.h => dom/system/android/nsDeviceMotionSystem.h
rename : dom/system/cocoa/nsAccelerometerSystem.h => dom/system/cocoa/nsDeviceMotionSystem.h
rename : dom/system/cocoa/nsAccelerometerSystem.mm => dom/system/cocoa/nsDeviceMotionSystem.mm
rename : dom/system/nsAccelerometer.cpp => dom/system/nsDeviceMotion.cpp
rename : dom/system/nsAccelerometer.h => dom/system/nsDeviceMotion.h
rename : dom/system/unix/nsAccelerometerSystem.cpp => dom/system/unix/nsDeviceMotionSystem.cpp
rename : dom/system/unix/nsAccelerometerSystem.h => dom/system/unix/nsDeviceMotionSystem.h
rename : dom/system/windows/nsAccelerometerSystem.cpp => dom/system/windows/nsDeviceMotionSystem.cpp
rename : dom/system/windows/nsAccelerometerSystem.h => dom/system/windows/nsDeviceMotionSystem.h
rename : xpcom/system/nsIAccelerometer.idl => xpcom/system/nsIDeviceMotion.idl
2011-06-19 22:36:17 -07:00
Jan Varga
6976400f8a Bug 617528 Part 1 - Dispatch shift right click (contextmenu event) only to chrome. r=smaug 2011-06-19 11:23:12 +02:00
Joel Maher
05796a596e Bug 663204 - move content/events/*.xul tests to mochitest-chrome. r=ted, a=test-only 2011-06-10 11:11:25 -04:00
Boris Zbarsky
bffa328dca Bug 656379 part 3. Set :hover and :active state for labeled elements when their label has that state. r=dbaron
--HG--
rename : content/events/test/test_bug426082.html => content/events/test/test_bug656379-1.html
2011-05-24 20:18:40 -04:00
Phil Ringnalda
36bee1bcfe Bug 565245 - Disable test_bug493251.html on Linux because of | Wrong number events (16 through 21, one short on each), r=smaug 2010-12-20 21:06:00 -08:00
Olli Pettay
aac1b3c0a8 Fix a comment in the testcase for bug 656954
--HG--
extra : rebase_source : c25c9105205dceea2af11312059fba493b343b76
2011-05-14 14:14:06 +03:00
Olli Pettay
a5e935bc3c Bug 656954 - Add defaultPrevented to nsIDOMEvent, r=sicking
--HG--
extra : rebase_source : f491aa3d1b40980ca0f6b8cc38a5e9e60d80b9e7
2011-05-13 23:44:35 +03:00
Olli Pettay
aaa8063f93 comparing with ssh://opettay@mozilla.com@hg.mozilla.org/mozilla-central/
searching for changes
changeset:   68981:5f295573b22d
tag:         tip
user:        Olli Pettay <Olli.Pettay@helsinki.fi>
date:        Mon May 09 18:47:13 2011 +0300
summary:     Bug 427537 - Implement CustomEvent DOM3 specification, r=sicking
2011-05-11 09:33:11 +03:00
Jonas Sicking
2e8c6fa6c5 Bug 650493 tests. rs=smaug 2011-05-09 12:33:03 -07:00
Jonas Sicking
f2e68647d5 Bug 651598: Make test_bug288392.html report better errors. r=smaug 2011-05-09 12:33:03 -07:00
Olli Pettay
d5431f150a Bug 652752 - Click event isn't fired if mousedown event and mouseup event are fired on different textnode of same element, r=masayuki
--HG--
extra : rebase_source : 90c84bb703c5e314dcdcf3b435b842e680d591ad
2011-05-07 12:42:45 +03:00
Olli Pettay
5c2503795f Bug 613634, make the 3rd paramater of add/removeEventListener optional, r=sicking
--HG--
extra : rebase_source : 9c720d865ed24e5b54cda287360b0fec508df359
2011-05-04 17:13:28 +03:00
Alon Zakai
ba1bdecf39 Bug 615597 - Implement the W3C DeviceOrientation event. r=smaug,blassey 2011-04-29 16:49:20 -07:00
Olli Pettay
c9e2181c9f Bug 651984 - Add ability to detect if a page has registered touch event listeners, r=jst 2011-04-26 15:31:21 +03:00
Olli Pettay
46d7b33a70 Bug 648573 - Implement touch event interfaces, r=jst, pref'ed off by default 2011-04-26 15:30:17 +03:00
Mounir Lamouri
74a7805054 Bug 651136 - Make content/events/test/test_bug238987.html non flaky. r=ehsan 2011-04-20 11:46:32 +02:00
Mounir Lamouri
6850212a48 Bug 651089 - Make content/events/test/test_bug534833.html non flaky. r=ehsan 2011-04-20 11:46:16 +02:00
Dão Gottwald
4ac8291c1d Bug 487059 - clearUserPref shouldn't throw if a pref doesn't have a default or user value. r+sr=bsedberg 2011-04-17 21:53:25 +02:00
David Zbarsky
aa301d629c Bug 583514 - implement click and accesskey for all HTML elements r=smaug 2011-04-11 18:56:37 +02:00
Ehsan Akhgari
fc408ed65e Backout changeset 88eb5b5bb5d2 (bug 583514) because of reftest orange 2011-04-02 07:55:52 -04:00