Commit Graph

276 Commits

Author SHA1 Message Date
Ms2ger
cd9c6150fe Merge m-c to b-s. 2013-02-26 19:09:25 +01:00
Gregory Szorc
aa0fed2e03 Bug 784841 - Part 18g: Convert /content; r=glandium 2013-02-25 12:47:19 -08:00
Randy Lin
2887f23f47 Bug 834165 - Implement BlobEvent. r=smaug
--HG--
extra : rebase_source : 5d8f13baa4b2ff00a63300be54edb81ab2555bd9
2013-02-18 14:06:27 +08:00
L. David Baron
57d19fbb86 Bug 404077: Annotate known assertions in mochitests. 2013-02-25 18:39:21 -08:00
Olli Pettay
930b4e20e9 Bug 839465 - Implement SmartCardEvent using event code generator, r=mounir 2013-02-11 21:37:20 +02:00
Bobby Holley
c1612afa13 Bug 821850 - Make XBL-in-content tests Xray-safe. r=bz
We use XPCNativeWrapper.unwrap rather than .wrappedJSObject so that the tests
are agnostic to whether there's an Xray wrapper or not.

I converted test_tree_column_reorder.xul into a chrome test because it does
all sorts of crazy introspection on the binding, and it really should be
a chrome test anyway.
2013-02-08 14:24:19 +00:00
Boris Zbarsky
e4b4da3503 Bug 838518 part 1. Fix treewalker callers per the API change that was made. r=smaug 2013-02-06 14:22:33 +00:00
Boris Zbarsky
60309d1fc9 Bug 829252 part 4. Turn on the EventTarget quickstubs. r=peterv 2013-01-29 08:44:01 -05:00
William Chen
8fc8c7cc9a Bug 826606 - Set uninitialized values for DeviceProximityEvent according to spec. r=dougt,smaug,khuey 2013-01-08 09:36:05 -08:00
Masayuki Nakano
dfe3307bf9 Bug 819252 WheelEvent along x-axis with a modifier key on Mac shouldn't cause zoom action for not preventing following horizontal swip event which will cause going back/forward in the history r=smaug+smichaud 2013-01-05 21:14:27 +09:00
Masatoshi Kimura
4a07dc4302 Bug 804834 - Part 1: Fix tests depending on E4X for-each in content JS. r=waldo 2012-12-21 20:47:52 +09:00
Masatoshi Kimura
9370910259 Bug 786120 - Implement mousewheel.*.action.override_x. r=smaug 2012-12-08 13:08:19 +09:00
Boris Zbarsky
3c57975890 Bug 812744 part 2. Use the document scope object, not the script global, to find the JSObject to use as a scope when creating event handlers. r=smaug
Anoother option would be to just explicitly wrap the node and use that, for what it's worth.  That wouldn't give us an nsIScriptContext, though.
2012-11-21 11:19:03 -05:00
Ryan VanderMeulen
47710276d9 Backed out changesets 1a8b11ae0f4b, e02a02fd1208 (bug 776443), 86a3edf2960d (bug 812392), 26c59f23fd8f, and 288c74d7f87d (bug 812744) for mochitest orange.
CLOSED TREE
2012-11-21 12:47:40 -05:00
Boris Zbarsky
a03434327e Bug 812744 part 2. Use the document scope object, not the script global, to find the JSObject to use as a scope when creating event handlers. r=smaug
Anoother option would be to just explicitly wrap the node and use that, for what it's worth.  That wouldn't give us an nsIScriptContext, though.
2012-11-21 11:19:03 -05:00
Zack Weinberg
b90cc17174 Bug 663291: Improve the SpecialPowers and SimpleTest APIs to make it easier to write mochitests that look at error console output. Update all tests that were using ad-hoc console inspection or the old SimpleTest console handler API. r=ted 2012-11-16 21:53:32 -05:00
Ryan VanderMeulen
401bd9646a Backed out changesets b242651c3c1b (bug 229827), b36eaac9ecf8, and 40f38a8aa660 (bug 663291) for mochitest-3/4 failures.
CLOSED TREE
2012-11-16 16:59:38 -05:00
Zack Weinberg
c1f34c416f Bug 663291: Improve the SpecialPowers and SimpleTest APIs to make it easier to write mochitests that look at error console output. Update all tests that were using ad-hoc console inspection or the old SimpleTest console handler API. r=ted
--HG--
extra : rebase_source : 013c6031577f88a764fecee9750ee890b45d1181
2012-11-16 15:29:21 -05:00
Boris Zbarsky
bc9949138a Bug 809765. Match the HTML spec in terms of which event handler attributes are compiled on which elements. r=smaug 2012-11-14 10:05:41 -08:00
Olli Pettay
fde2f7a7f4 Bug 805749, validate the view parameter of initUIEvent, r=jst 2012-11-05 10:59:12 +02:00
Olli Pettay
05782f593d Bug 779306 - Wildcard for 'all events', nsIEventListenerService.addListenerForAllEvents(target, listener), r=jst 2012-11-01 13:42:29 +01:00
Masayuki Nakano
8c03368fdb Bug 801101 Allow to scoll over one page scroll with mouse wheel if delta mulitipliers are large enough r=smaug 2012-10-31 08:22:23 +09:00
Mats Palmgren
ab048c47bd Bug 804486 - Tweak a few scrolling tests that makes the assumption that a horizontal "line" scroll scrolls the same amount of pixels as a vertical line scroll. r=roc 2012-10-29 06:44:31 +01:00
Mook
265cffd198 bug 782549 - check if the window has device sensor listeners, instead of global listener count (r=dougt) 2012-10-20 21:40:56 -07:00
Olli Pettay
9956ca775b Bug 798565 - touch.target may point to native anonymous content, r=jst,wesj
--HG--
extra : rebase_source : 675d640553e802b7c1e35143504d88ccb77585da
2012-10-10 22:13:59 +03:00
Ed Morley
cc9e8c3305 Bug 795393 - Remove instances of "ifneq (mobile,$(MOZ_BUILD_APP))" since they're now always true; r=ted 2012-10-06 16:46:09 +01:00
Vladimir Vukicevic
c1bbc050c2 b=796980, fix content/events/test/window_wheel_default_action.html; r=ehsan,orange 2012-10-02 12:35:49 -04:00
Vladimir Vukicevic
1fe483b0ba b=796156; fix test_bug574663 to drive scrolling directly; r=ehsan 2012-10-01 17:52:32 -04:00
Jonathan Kew
e18b10e5fb bug 674373 pt 5 - provide a fullZoom API in nsIDOMWindowUtils, and use this rather than inferring zoom from CSS to device pixel ratio. r=roc 2012-09-29 12:35:19 +01:00
Matt Woodrow
58d3d65ab2 Bug 539356 - Part 10 - Test changes required for DLBI. r=roc
* * *
[mq]: test-fixes
2012-08-29 17:48:13 +12:00
Ed Morley
c863356300 Revert mozilla-inbound to e4dd1fa6d222 for crashes and test failures on a CLOSED TREE 2012-09-27 16:34:46 +01:00
Matt Woodrow
0b20201fde Bug 539356 - Part 10 - Test changes required for DLBI. r=roc
* * *
[mq]: test-fixes
2012-08-29 17:48:13 +12:00
Bobby Holley
9f03f90fb7 Bug 792036 - Automated fixups. r=mccr8
find /files/mozilla/build/d/_tests/testing/mochitest/tests/ | egrep "\.(xhtml|html|xml|js)$" | grep -v SimpleTest | grep -vi mochikit | grep -v simpleThread | grep -v test_ipc_messagemanager_blob.html | grep -v "indexedDB/test" | xargs grep -l Components |  xargs grep -L enablePrivilege | perl -pe 's#.*mochitest/tests/##' | xargs perl -p -i.bakkk -e 's/Components\.interfaces(\s|;|\.|\[)/SpecialPowers\.Ci$1/g, s/SpecialPowers\.wrap\(Components\)\.(.)(lasses|tils|nterfaces|esults)/SpecialPowers.C$1/g, s/(?<![\.a-zA-Z])Components/SpecialPowers\.Components/g, s/window\.Components/window\.SpecialPowers\.Components/g'
2012-09-24 14:46:29 +02:00
Bobby Holley
7f912ddc79 Bug 792036 - Fix up tests to avoid relying on the existence of window.Components (MANUAL). r=mccr8
These are the manual fixes that the ensuing auto-generation can't deal with. Some of them
just fix up formatting (such as Components.\nFoo, so that subsequent auto-generation can
work better).
2012-09-24 14:46:28 +02:00
Jim Mathies
f50c101c4d Bug 726615 - Implement w3c touch events for Windows. Original patch by Makoto Kato. r=wesj, smaug, mbrubeck 2012-09-22 14:28:35 -05:00
Jim Mathies
efdf204165 Bug 726615 - Completely remove MozTouch event support from mc. r=smaug 2012-09-22 14:28:08 -05:00
Bobby Holley
00bcee83e8 Bug 789494 - Rip enablePrivilege out of misbehaving mochitests. r=mccr8 2012-09-11 01:05:10 -07:00
Ryan VanderMeulen
bdca80da9c Backout bug 788914 and bug 789494 because they were backed out on inbound. 2012-09-07 19:40:57 -04:00
Bobby Holley
1743880368 Bug 789494 - Rip enablePrivilege out of misbehaving mochitests. r=mccr8 2012-09-07 11:28:56 -07:00
Boris Zbarsky
06092f65fb Bug 767931. Make drawWindow and asyncDrawXULElement ChromeOnly. r=roc 2012-09-07 01:29:47 -04:00
Masayuki Nakano
652c834ce7 Bug 786898 part.2 Add overflow delta value tests r=smaug, sr=smaug 2012-09-04 17:39:28 +09:00
Masayuki Nakano
7664e6a01a Bug 674477 Don't scroll around axis whose overflow is hidden by wheel events r=smaug 2012-08-30 10:05:16 +09:00
Bobby Holley
7d93b33884 Bug 784560 - Fix more tests. r=mccr8 2012-08-23 11:45:28 -07:00
Ryan VanderMeulen
f12fa88179 Merge m-c to inbound. 2012-08-20 20:21:35 -04:00
Olli Pettay
baa2eb76c7 Bug 783856 - Autogen PopupBlockedEvent, r=jst 2012-08-20 11:26:34 -07:00
Masayuki Nakano
b147137040 Bug 422132 part.3 Disable smooth scroll in the new test due to random orange r=smaug 2012-08-20 11:46:08 +09:00
Masayuki Nakano
f19581794b Bug 422132 part.2 Add new tests r=smaug 2012-08-20 11:46:08 +09:00
Ed Morley
70e369a460 Backout 41722f2e0c33 (bug 422132), 69da5f098237 (bug 782903), 5c601428c70b (bug 422132) for bug 782903 2012-08-18 23:29:13 +01:00
Masayuki Nakano
ac015d98bb Bug 782175 Support slower scroll settings with mousewheel.*.delta_multiplier_* r=smaug 2012-08-17 10:32:15 +09:00
Masayuki Nakano
dcc77e57b8 Bug 782190 Implement onwheel attribute and onwheel property on window, document and element r=smaug, sr=jst 2012-08-16 08:09:42 +09:00