Commit Graph

150 Commits

Author SHA1 Message Date
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
David Zbarsky
ca29061d7e Bug 583514 - implement click and accesskey for all HTML elements r=smaug 2011-04-01 18:50:58 -04:00
Olli Pettay
5c66a2d34e Bug 642140 - nsEventDispatcher should dispatch chrome only events to TabChildGlobal, r=jst 2011-03-25 15:39:58 +02:00
Olli Pettay
1b2a7b1e35 Bug 641499 - Don't throw when event.type is called before initEvent, r=sicking 2011-03-24 13:34:48 +02:00
Olli Pettay
26c20e1988 Bug 641477 - Throw UNSPECIFIED_EVENT_TYPE_ERR if event isn't initialized before dispatching, r=sicking 2011-03-24 13:34:03 +02:00
Ehsan Akhgari
71758c45bd Bug 626168 - Intermittent failure in content/events/test/test_bug426082.html (make sure to wait long enough for a paint to happen); r=smaug a=test-only 2011-02-24 18:56:50 -08:00
Markus Stange
20d43637e6 Bug 607464 - Don't use smooth scrolling for pixel scrolling. r=roc, a=roc 2011-02-04 09:00:06 +01:00
Neil Deakin
fd67e69ef1 Bug 624127, clear mousedown selection state in frame where mouse was pressed down,r=smaug,a=jst 2011-02-03 12:08:30 -05:00
Masayuki Nakano
41a73f3369 Bug 565245 log more details r=smaug, a=test 2011-01-17 20:52:25 +09:00
Markus Stange
7d12b3911c Bug 613147 - Set the right pref before testing scroll zooming. a=test-only 2010-11-27 00:30:32 +01:00
Vivien Nicolas
67d5a26d77 Bug 602962 - Undo close tab thumbnail disappears when rotating screen orientation [r=smaug r=roc a=blocking-fennecb3] 2010-11-17 08:46:00 -05:00
Markus Stange
253a0ae7e1 Bug 574663 - Mark momentum scroll events with a kIsMomentum flag and don't allow them to cause zooming. r=smaug, a=final 2010-11-05 17:04:28 +01:00
Olli Pettay
5fd6fa43e4 Bug 605242 - No :active state for <button>, r=enndeaking, a=blocking, try: -b o -p all -m none -t none -u mochitests
--HG--
extra : rebase_source : e075f9024515c801996f10b3fff706551c833843
2010-10-20 16:49:53 +03:00
Timothy Nikkel
4ad6405061 Bug 591815. Don't bail early if we don't have a target frame for mouse down events because we still need to process them. r=smaug a=blocking-betaN+ 2010-10-09 14:09:22 -05:00
Olli Pettay
d62dadbd6f Bug 593959 - :active tracking gets out of sync when releasing the mouse over a different document, r=roc, a=blocking
--HG--
extra : rebase_source : a8b1c968b13eda6671df21da1bb8c48273811e5c
2010-09-16 16:10:18 +03:00
Robert Sayre
59773ae503 Merge mozilla-central to tracemonkey. 2010-09-10 11:47:11 -04:00
David Anderson
69b95ea914 ICs for scripted calls (bug 587698, r=dmandelin). 2010-09-02 20:04:33 -07:00
Masayuki Nakano
ce5c3032a2 Bug 590819 Click event isn't fired when mouse button down on border of <input> and mouse button up on padding box of it r=smaug, a2.0=jst 2010-09-02 11:38:54 +09:00
Timothy Nikkel
4e58616c08 Bug 591435. Fix tests that were relying on there being no paint suppression in subdocuments. r=roc 2010-09-01 15:44:48 -05:00
Masayuki Nakano
d5dccbf24b Bug 593620 fix middle click and right click event handling r=smaug, a=betaN 2010-09-08 22:25:21 +09:00