Commit Graph

242 Commits

Author SHA1 Message Date
Olli Pettay
585c02c8bd Bug 561664 - document.activeElement should never return native anonymous content, r=enndeakin 2012-05-04 17:41:49 +03:00
Doug Turner
9eaa2d7486 Bug 738465 - implement device light sensor. r=smaug 2012-05-02 09:43:45 -07:00
Doug Turner
f158836867 Bug 738131 - implement device proximity. r=smaug
* * *
Bug 738131 - implement device proximity. gonk implementation. r=mwu
2012-05-02 09:43:45 -07:00
Ed Morley
2d35fc9b56 Merge mozilla-central to mozilla-inbound 2012-05-03 20:13:41 +01:00
Olli Pettay
f6017848af Bug 751286 - eventPhase NONE constant, r=sicking 2012-05-03 13:59:51 +03:00
Jared Wein
0152ba6f95 Bug 702463 - Increasing the timeout of the tests due to the presence of multiple refresh drivers. r=ehsan 2012-04-30 13:44:55 -04:00
Masatoshi Kimura
f17f15dabb Bug 745498 - Add testcases for DOM4 exception types. r=sicking 2012-04-26 09:42:26 -07:00
Masayuki Nakano
0a7ff20ae3 Bug 166240 part.8 Add tests for KeyboardEvent.location (synthesized events) r=smaug, sr=jst 2012-05-03 17:35:02 +09:00
Masayuki Nakano
eab74edd47 Bug 630811 part.7 Add getModifierState() to DOM KeyboardEvent and DOM MouseEvent r=smaug, sr=jst 2012-04-25 12:00:02 +09:00
Masayuki Nakano
faa22dcf29 Bug 731878 part.2 Implement D3E MouseEvent.buttons attribute r=smaug, sr=jst 2012-04-25 12:00:01 +09:00
Wes Johnston
e0627db572 Bug 741666 - Fix copying touchEvents if someone holds a reference. r=smaug 2012-04-04 10:08:53 -07:00
Henri Sivonen
4e93a91b3a Bug 672453 - Whine to console about various character encoding declaration-related authoring errors. r=smaug.
--HG--
rename : extensions/universalchardet/tests/bug631751be_text.html => parser/htmlparser/tests/mochitest/file_bug672453_bomless_utf16.html
2012-03-24 13:34:42 +02:00
Olli Pettay
6f73428d2d Bug 736058, support createEvent('StorageEvent'), r=sicking
--HG--
extra : rebase_source : f46854524cc27273799d26f662fe5335f32aaeff
2012-03-18 20:55:46 +02:00
Masayuki Nakano
5f93695680 Bug 728103 part.2 Fix new test failures r=smaug 2012-03-16 15:29:15 +09:00
Masatoshi Kimura
705e1864af Bug 735268 - Restore StorageEvent test which is accidentally removed. r=sicking
--HG--
extra : rebase_source : 07a34decab41334160ff6314beb76a0c38cf520d
2012-03-13 23:31:55 +01:00
Masatoshi Kimura
9105b69daf Bug 721569 - Support default values for Web IDL dictionaries. r=khuey CLOBBER BUILD 2012-03-12 21:44:48 -07:00
Olli Pettay
d0605c95d6 Bug 730891, event ctor for StorageEvent, r=sicking,kyle 2012-03-08 23:27:05 +02:00
Geoff Lankow
8b126f6ccb Bug 718255 - Merge nsIPrefBranch2 with nsIPrefBranch - mop up uses that slipped through; r=mak 2012-02-26 11:34:25 +13:00
Masatoshi Kimura
d99288b6cc Bug 720208 - Implement DOM4 DOMException types and codes. r=smaug,ms2ger 2012-02-23 01:34:14 +01:00
Geoff Lankow
c4d2ef72bf Bug 718255 - Merge nsIPrefBranch2 with nsIPrefBranch - Part G, remove remaining uses of nsIPrefBranch2; r=bsmedberg 2012-01-18 23:23:28 +13:00
Wes Johnston
72f42280fd Bug 603008 - Platform support for multitouch events. r=smaug
* * *
Bug 603008 - Platform support for multitouch events.
* * *
ifdefandroid
2011-12-16 16:24:11 -08:00
Jared Wein
843a61d98d Bug 198964 - Enable smooth scrolling by default. r=gavin 2012-01-13 16:26:34 -08:00
Benjamin Smedberg
d9a5cfe2ec Bug 675221 part H - fix test_bug489671 which is throwing exceptions from a console listener, which is supposed to fail to prevent infinite recursion or infinite repetition behavior. r=bz 2012-01-11 11:28:21 -05:00
Ehsan Akhgari
0dab54c028 Bug 716877 - test_eventctors.xul calls SimleTest.finish needlessly; r=smaug 2012-01-10 12:43:15 -05:00
Ehsan Akhgari
b4a92bb002 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
8d15babed6 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
04c23412b9 Bug 709569, a tool for webidl dictionary-like interfaces, r=khuey,mrbkap 2011-12-24 00:13:46 +02:00
Boris Zbarsky
f3ec268dd0 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
50e93e9d3d Bug 709127 - Implement MouseEvent and UIEvent ctors, r=jst, a=sheriff 2011-12-14 22:36:46 +02:00
Olli Pettay
ddddb0b2e3 Bug 708701 - Implement HTML event ctors, r=jst
--HG--
extra : rebase_source : 4abb0185ea790c29ff7f2df0f032045777c898e0
2011-12-14 21:55:32 +02:00
Olli Pettay
0ab08dac00 Bug 675884 - Implement Event constructors, part1, r=jst
--HG--
extra : rebase_source : 109d9cb22b810fbff71c637b6e15965eafdd61fe
2011-12-14 21:53:48 +02:00
Jan Bambach
1984c5a018 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
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
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
Felipe Gomes
b2ea0524a5 Bug 586961. Direct accesskey clicks on label to correct controlled element. r=neil a=betaN 2010-08-27 18:26:24 -03:00
Joel Maher
ce269022ab Bug 574189 - Fix chrome tests to work from an extension for android and e10s support a=NPOTB r=ctalbert 2010-08-24 10:29:34 -07:00
Jonas Sicking
cbc0676504 Backout bugs 586754, 574189, 584611 due to orange. a=backout 2010-08-20 11:08:43 -07:00
Joel Maher
978a4a1ad2 Bug 574189 - Fix chrome tests so they can run from a .jar bundle (e10s, android) r=ctalbert a=NPOTB 2010-08-20 09:28:13 -07:00
Joel Maher
2aa0bf8512 Bug 585630 - "disable mochitests that utilize ondragstart attributes at least until tiles die" [r=mark.finkle] a=mobile_test_only 2010-08-09 11:00:00 -07:00
Markus Stange
f7614ab36f Merge backout of bug 574663. 2010-08-02 17:52:20 +02:00
Markus Stange
65909a7edf Backed out changeset cd5c28912351, bug 574663 (momentum scroll zooming) because the new test fails on Windows. 2010-08-02 17:51:57 +02:00
Markus Stange
d08bf257da Bug 574663 - Mark scroll events that are sent by touchpad momentum scrolling after the finger has left the touchpad with a kIsMomentum flag and prevent these events from changing the zoom factor. r=josh, r=smaug 2010-08-02 15:30:52 +02:00