Commit Graph

276 Commits

Author SHA1 Message Date
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
Felipe Gomes
8d9b3f1877 Bug 508906. Add experimental MozTouch events. r=smaug,jimm 2010-08-02 15:34:54 +02:00
Robert O'Callahan
968444e08b Bug 573933. Part 3: Fix button-state test to render a margin around the button so we don't get into any weird sampling issues. Also, use a canvas that's just as big as necessary. r=dbaron 2010-07-16 09:07:43 +12:00
Robert Kaiser
1127ddd8f5 Bug 557120 - [SeaMonkey 2.1] mochitest-plain-1: it seems test_bug457672.html "leaks the world". r=smaug
--HG--
extra : rebase_source : 002c31bd38438e88444e7578faaa065133f4b5ae
2010-06-12 15:17:00 -04:00
Neil Deakin
847d6ce201 Bug 564277, fix up various focus ring issues for html elements, r=smaug 2010-06-21 08:37:34 -04:00
Marco Bonardo
cd3778006d whoops, remove backslash 2010-06-16 12:31:25 +02:00
Marco Bonardo
f971593d97 Disable test for bug 563329 since it's timing out often 2010-06-16 12:20:28 +02:00
Vivien Nicolas
27fdccc31f Bug 563329 - Add a preference to enable/disable click hold context menus [r=smaug] 2010-06-16 09:36:11 +02:00
Olli Pettay
82feff3515 Bug 556493 - No click fired when mousedown on the text of an element and mouseup on empty area, r=jst
--HG--
extra : rebase_source : bf2257df87153638358404878d03c09193014125
2010-06-15 16:29:23 +03:00
Markus Stange
5b01220cdf Bug 426082 - Fix the test to deal with focus rings correctly. 2010-05-31 21:10:55 +02:00
Markus Stange
82e6086d92 Bug 426082, part 4: Test. r=smaug 2010-05-31 19:50:55 +02:00
Michael Kohler
9397418412 Bug 506041 Part 2: Correct misspellings in source code
r=timeless
2010-05-13 14:19:50 +02:00
Neil Deakin
16e62a0020 Bug 545714, consolidate dropped link handlers into one single component and use it for security checking, r=mano,neil,sr=sicking 2010-04-18 14:27:18 -04:00
felipc@gmail.com
33b5d6a951 Bug 547996 - Be able to tell when a click was generated by a tap on the screen, r=smaug,jimm, sr=jst 2010-04-06 15:59:24 +03:00
Mats Palmgren
1b3dbe3473 Disable broken test for bug 299673. Fixing bug 553344, bug 524361 and bug 521355. Filed bug 553417 to write a new test. 2010-03-18 23:25:31 +01:00
Robert O'Callahan
f3e9a6b5c7 Bug 545268. Decide whether to suppress a mouse event by looking at the suppression state of the document where the event is going to be delivered. r=smaug 2010-03-05 13:10:32 +13:00
Olli Pettay
72d240fc9b Bug 534833 - click event is occasionally lost in text form controls when focus event changes the value of the control, r=roc
--HG--
extra : rebase_source : 9c90b0ed41ab12c38d264edc839227cdd0d8817f
2010-01-25 11:21:33 +02:00
Ginn Chen
a71f9dd073 Bug 526174 ERROR TEST-UNEXPECTED-FAIL | /tests/content/events/test/test_bug299673-1.html on Solaris r=enndeakin 2009-11-10 18:24:56 +08:00
Olli Pettay
e719a185ca Bug 526286 - Detaching a tab by dragging it down into its content area stopped working, r=enndeakin, sr=jonas
--HG--
extra : rebase_source : bf3177dfb5a0947b66eb0c929c24ad46818f8d08
2009-11-05 16:39:18 +02:00
Nochum Sossonko
bed500c3ec Bug 516372 - random failure in test_bug322588.html | unexpected events - got " unload", expected " unload load", r=matspal 2009-11-01 14:12:48 -08:00
Gijs Kruitbosch
f812694584 Followup fix for bug 524995, r=gavin 2009-10-30 10:57:36 +01:00
Gijs Kruitbosch
41ba1acfa5 Back out bug 487059, fix tests and EM to cope, r=gavin,beltzner, bug 524995
--HG--
extra : rebase_source : d8414b8de165cf2fa534719c36416d82d21872c6
2009-10-29 14:44:10 +01:00
Olli Pettay
c806e56c0e Bug 508479 - HTML5 Drag and Drop: Drop event on elements that are not drop targets, r=enn, sr=sicking 2009-10-29 13:11:02 +02:00
Olli Pettay
1c736700d4 Bug 517851 - nsJSEventListener's string/atom handling can be optimized a bit, r=jst 2009-10-24 18:39:28 +03:00
Olli Pettay
79701a2085 Bug 506961 - Add a method to get jsdIValue from JS implemented event listeners, r=bz
--HG--
extra : rebase_source : 93d446c1c94512be8cc0dc208c0bf8f1cd3cc936
2009-10-17 17:40:44 +03:00
Olli Pettay
7e40ce018a Bug 448602 - Have a way to enumerate event listeners, r=bz
--HG--
extra : rebase_source : 77ed96b23db73ae78ed7f34ed231daf84fae1f54
2009-10-16 11:57:32 +03:00
Masayuki Nakano
dc3936158f Bug 513817 Switch scrolling to 6 lines in the default case for 3.6 on windows r=roc, ui=faaborg 2009-09-24 19:58:04 +09:00
Mats Palmgren
4da22c487b Make the test for bug 299673 use waitForFocus, and disable it on Linux. b=506175 r=enndeakin 2009-09-15 18:00:41 +02:00
Masayuki Nakano
46e7090dcf Bug 512235 bug 462809 should be implemented in content/events, not widget/src/* r=roc+vlad 2009-09-03 16:07:18 +09:00
Olli Pettay
39e59a0771 Bug 502818 - Property access on DOMMouseScroll events does not propagate to Event.prototype, r+sr=jst
--HG--
extra : rebase_source : a6c0082a9ba2f0689ec359ae5f6a2fa9322a2d0d
2009-08-20 13:13:06 +03:00
Mats Palmgren
5c5961a33e A mochitest-plain for bug 226361. 2009-07-25 21:47:16 +02:00
Mats Palmgren
d108510b8e Test for bug 322588. 2009-06-13 15:51:25 +02:00
Mats Palmgren
e0c38624c4 Test for bug 299673. 2009-06-13 01:11:55 +02:00
Neil Deakin
79321ef1f8 Bug 178324, refactor focus by moving all focus handling into one place and simplifying it, add many tests, fixes many other bugs too numerous to mention in this small checkin comment, r=josh,smichaud,ere,dbaron,marco,neil,gavin,smaug,sr=smaug (CLOSED TREE) 2009-06-10 14:00:39 -04:00
Boris Zbarsky
0460675e76 Bug 489671. Make sure the error reporter doesn't suppress our error reports. r=mrbkap, sr=jst 2009-05-19 22:11:01 -04:00
Olli Pettay
f9fa7407e7 Bug 493251 - Header/navigation links on PG.com take two clicks to load, r+sr=jst 2009-05-18 12:17:45 +03:00
L. David Baron
8c38aba811 Switch HTML mochitests from using MochiKit.js to packed.js. (Bug 490955) r=sayrer 2009-05-06 13:46:04 -07:00
Dão Gottwald
2b158c4a2f Bug 487059 - clearUserPref shouldn't throw if a pref doesn't have a default or user value. r+sr=bsedberg 2009-04-10 10:24:24 +02:00
Markus Stange
54376f443d Bug 479618 - Make the test for bug 350471 more stable, r=smaug 2009-03-05 16:05:47 +01:00
Neil Deakin
7ae9acbaf5 Bug 471848, flag for whether a drag was cancelled by the user, r+sr=roc 2009-02-17 10:51:12 -05:00
Olli Pettay
7c4810ebbf Bug 419059 - contentAccess accesskeys for elements hidden with CSS don't work, r=neil, sr=roc, a=jst 2008-12-30 16:09:14 +02:00
Neil Deakin
f661817f49 Bug 458613, set relatedTarget for dragenter and dragleave events, r=smaug,sr=roc 2008-12-19 09:58:47 -05:00
Olli Pettay
c7eb44efac Bug 469720 - tabindex of -1 set in javascript ignored on file input, r+sr=bz 2008-12-17 09:33:33 +02:00
Martijn Wargers
90151ed8c8 Bug 450876 - [r=Smaug sr=roc] 2008-12-14 22:26:37 -08:00
Oleg Romashin
d13954cc90 Bug 428988 - Expose mouse event pressure. r=Olli.Pettay, sr=roc. 2008-12-11 18:55:15 -05:00
Robert Sayre
dc78653a53 backout bug 428988, checked in on persistent orange. 2008-12-11 02:43:04 -08:00
Oleg Romashin
06b0d6f7f4 Bug 428988 - Expose mouse event pressure. r=Olli.Pettay, sr=roc. 2008-12-11 03:04:46 -05:00
Olli Pettay
49aa5fec58 Bug 468261, Modify the testcase for bug 457672, so that it works also with SM. 2008-12-07 02:13:04 +02:00
Olli Pettay
f6fcfe8f4b Bug 457672 - window blur event is not fired when opening a new tab, r+sr=jst 2008-12-03 13:18:23 +02:00
Markus Stange
e480835f2f Bug 457864 - Fix tests to not rely on mouse wheel scrolling being synchronous, r=smaug 2008-10-27 20:24:33 +01:00
Mats Palmgren
426e3534c3 Ignore the keypress event if DOMEventToNativeKeyEvent() fails. b=456273 r=Olli.Pettay sr=jonas 2008-10-15 12:50:42 +02:00
Robert Sayre
bef8140a39 Bug 458959. this.JSON is enumerable. r+sr=mrbkap 2008-10-08 19:33:26 -04:00
Markus Stange
c921fbf0ac Fix bug 350471 test 2008-09-17 15:53:19 +02:00
Markus Stange
d1428fa84e Bug 350471 - Reenable pixel scrolling (two-finger touchpad), r=smaug r=smichaud sr=roc 2008-09-17 13:27:19 +02:00
Neil Deakin
7d8894fa85 Bug 453520, links inside fieldsets should be draggable,r+sr=roc 2008-09-08 12:09:35 -04:00
Neil Deakin
39ab9e9583 Bug 452787, change to ignore selection when inside a draggable html element, r=smaug,sr=roc 2008-09-08 12:09:35 -04:00
Neil Deakin
673fc99e73 Bug 453238 - drag and drop has wrong target in places menupopups (event.layerY support missing), r=roc, sr=roc 2008-09-03 17:51:24 +02:00
Neil Deakin
be65b4c8f2 Bug 356295, fix up tests caused by EventUtils.js switch to ClientRects instead of box objects 2008-08-27 08:08:41 -04:00
Neil Deakin
7ad96d6b3e Bug 356295. Implement HTML5 drag-drop. r=smaug,neil,sr=roc 2008-08-27 08:07:27 -04:00
Boris Zbarsky
fc1785cbc1 Backed out changeset 6958399a2eb1 o try to fix failed mochitests on Windows and Linux 2008-08-25 11:08:28 -04:00
Neil Deakin
7c92721496 Bug 356295. Implement HTML5 drag-drop API. r=smaug,sr=roc 2008-08-25 21:56:29 +12:00
Dave Camp
66ad0d3422 Backed out changeset 30d900751ca9 to fix unit test orange (Bug 356295) 2008-08-19 17:55:30 -07:00
Neil Deakin
f58dac1bbf Bug 356295. Implement HTML5 drag-drop. r=smaug,sr=roc 2008-08-20 10:31:45 +12:00
Olli Pettay
6c3f7e1fe3 Bug 447736, Event target not necessarily cleared when re-dispatching, r+sr=bz 2008-07-25 13:32:16 +03:00
Olli Pettay
2f075b8869 Bug 443985, PageX/Y properties are incorrectly calculated when a event is manually dispatched (initmouseevent), r+sr=roc 2008-07-13 22:48:37 +03:00
Ehsan Akhgari
5c289d5889 backout changeset 066b5a78cc46 because of test failures 2008-07-12 01:45:17 +02:00
Ehsan Akhgari
0d43db701f Bug 433089 – <area> test for bug 409604 is unreliable. r+sr=roc 2008-07-11 22:57:31 +02:00
Olli Pettay
23876151a0 Bug 412567, Once dispatched, events cannot be redispatched, r+sr=jst 2008-06-04 23:11:36 +03:00
Olli Pettay
2208759f20 Bug 412567, Once dispatched, events cannot be redispatched, r+sr=jst 2008-06-04 23:09:48 +03:00
gavin@gavinsharp.com
5544a23ed2 Add reference to bug # for disabled test (bug 433089) 2008-05-09 14:37:25 -07:00
gavin@gavinsharp.com
9f3247029e Third bustage fix attempt for bug 409604 2008-05-08 17:04:34 -07:00
gavin@gavinsharp.com
f3b70816a2 Second bustage fix attempt for bug 409604 2008-05-08 16:51:23 -07:00
gavin@gavinsharp.com
01c1a94487 Attempt to fix windows bustage from test for bug 409604 2008-05-08 15:38:58 -07:00
gavin@gavinsharp.com
2c2be0d4bc Bug 409604: Accesskeys on HTML label, area and legend elements don't work, patch by Ehsan Akhgari <ehsan.akhgari@gmail.com>, r+sr=roc, a=schrep 2008-05-08 13:00:24 -07:00
gavin@gavinsharp.com
f7724abef2 Back out bug 409604 due to mochitest failures 2008-04-22 11:32:00 -07:00
gavin@gavinsharp.com
efc492e216 Bug 409604: accesskey on HTML label, area and legend elements don't work, patch by Ehsan Akhgari <ehsan.akhgari@gmail.com>, r+sr=roc, a=beltzner 2008-04-22 09:52:16 -07:00
jonas@sicking.cc
c052f989a1 Bug 423355: Never fire mutation events on native-anon content. Also includes fix for nsIContent::IsInNativeAnonymousSubtree. Patch by Smaug. r/sr=sicking a=beltzner 2008-04-11 15:44:48 -07:00
bent.mozilla@gmail.com
a30152e2c5 Bug 415498 - "Some errors not displayed in Error Console when using addEventListener". Fix to randomly failing test, hopefully. r+sr=sicking. 2008-04-11 11:26:10 -07:00
bent.mozilla@gmail.com
869e288c42 Bug 415498 - "Some errors not displayed in Error Console when using addEventListener". Tests by Sylvain Pasche <sylvain.pasche@gmail.com>. r+sr=jst, a=beltzner. 2008-04-10 10:35:56 -07:00
surkov.alexander@gmail.com
45253210b5 Bug 368835 No focus events from xul tree table when a row is deleted, r=evan.yan, Olli.Pettay, sr=jonas, a=beltzner 2007-12-11 00:18:04 -08:00
Olli.Pettay@helsinki.fi
5d293626d2 Bug 405632, can't pan maps by dragging on maps.live.com , r+sr=jst, a=sicking 2007-11-28 01:16:01 -08:00
Olli.Pettay@helsinki.fi
b49001c86e trying to fix mochitest on qm-xserve01 2007-11-12 06:11:41 -08:00
Olli.Pettay@helsinki.fi
aeba4210a7 Bug 402089, nsDOMUIEvent should cache coordinates when DuplicatePrivateData is called, r+sr=jst, a=mtschrep 2007-11-12 04:53:06 -08:00
Olli.Pettay@helsinki.fi
fb735cb14f Bug 391568, Mutation events not fired if listeners are only in anonymous content. r+sr=bz, a=sicking 2007-08-21 23:48:47 -07:00
Olli.Pettay@helsinki.fi
7258de185d Mochitest for bug 288392, DOMSubtreeModified event does not fire at all 2007-08-17 16:53:23 -07:00
ginn.chen@sun.com
9a8c1632f4 Bug 389793 Firefox build failed on OpenSolaris without --disable-mochitest r=benjamin a=dsicore 2007-08-05 20:22:32 -07:00
Olli.Pettay@helsinki.fi
4936825549 Add tests also for blur event (bug 238987) 2007-07-03 09:27:28 -07:00
Olli.Pettay@helsinki.fi
c4f362e8c7 Bug 238987, Focus and blur events bubble from some form input controls, r+sr=bz 2007-07-03 06:37:32 -07:00
Olli.Pettay@helsinki.fi
da6f6b0061 back out bug 238987 2007-07-03 05:37:00 -07:00
Olli.Pettay@helsinki.fi
5c3a599079 Bug 238987, Focus and blur events bubble from some form input controls, r+sr=bz 2007-07-03 04:49:40 -07:00
asqueella@gmail.com
1ad08b1c7a tests for bugs 336359/336682 - WHATWG online/offline events
r+sr=jst
2007-06-21 12:10:03 -07:00
bzbarsky@mit.edu
0677644242 Don't throw from attribute sets if we can't find a script global to compile anevent handler attribute on. This happens; just don't compile it. Bug 379120,r+sr=peterv 2007-05-01 12:08:08 -07:00
hg@mozilla.com
465265d0d4 Free the (distributed) Lizard! Automatic merge from CVS: Module mozilla: tag HG_REPO_INITIAL_IMPORT at 22 Mar 2007 10:30 PDT, 2007-03-22 10:30:00 -07:00