Commit Graph

160 Commits

Author SHA1 Message Date
Timothy Zhu
083f52a8fe Bug 662173 - DataTransfer.getData should lowercase its argument; r=enndeakin 2011-11-08 11:42:53 +00:00
Ed Morley
7bc582f20f 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
8a56fd9db2 Bug 616542 - Shorten file path length of mochitest; r=ted 2011-11-04 21:13:42 +00:00
Olli Pettay
fdb741699d 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
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