Commit Graph

1705 Commits

Author SHA1 Message Date
Kyle Huey
1cc02aa8c6 Bug 1263311: Part 1 - Change the nsICancelableRunnable interface. r=froydnj 2016-04-11 11:40:06 -07:00
Andrea Marchesini
ed43c1f6e4 Bug 1258482 - FileList should contain only Files, not Directories, r=smaug 2016-04-12 08:51:52 -04:00
Sebastian Hengst
08c222b359 Backed out changeset 166555b48e77 (bug 1258482) 2016-04-12 17:56:00 +02:00
Andrew McCreight
ca48cd5c54 Bug 1252251 - Enable test_wheel_default_action.html. r=masayuki 2016-04-12 07:25:58 -07:00
Jonathan Watt
de4c3d11fe Bug 1263787 - Kill off the deprecated nsINode::GetCrossShadowCurrentDoc. r=baku 2016-03-31 13:20:14 +01:00
Jonathan Watt
9480920b04 Bug 1263785 - Kill off the deprecated nsINode::GetCurrentDoc. r=baku 2016-03-31 12:46:32 +01:00
Andrea Marchesini
dfd731fd16 Bug 1258482 - FileList should contain only Files, not Directories, r=smaug 2016-04-12 08:51:52 -04:00
Jonathan Kew
08b2b1357c Bug 1261671 - ContentEventHandler::ConvertToRootRelativeOffset() should return the root-relative result in the frame's own appUnits, not the root's appUnits in the case when they're different. r=masayuki 2016-04-12 07:06:38 +01:00
Andrew McCreight
2175118c7d Bug 1255634 - APZ should scroll by more than a page with large values of mousewheel.default.delta_multiplier_{x,y}. r=masayuki,kats
The constants in doTestWholeScroll() have to be reduced because
otherwise some subtests end up returning results that are off by a few
pixels with e10s, presumably due to differences in floating point
precision in APZ compared to non-APZ.

MozReview-Commit-ID: BxmqHrcN8IL
2016-04-12 00:06:49 -04:00
Xidorn Quan
90aa942f6f Bug 1261933 - Continue unlocking pointer even if the widget has gone. r=smaug
MozReview-Commit-ID: 1siQhemFf9O
2016-04-06 11:43:16 +10:00
Wes Kocher
7d2cebe912 Backed out 3 changesets (bug 1263311) for Windows build failures in ServiceWorkerPrivate.cpp CLOSED TREE
Backed out changeset 0434a548e1fe (bug 1263311)
Backed out changeset 60b1be29446c (bug 1263311)
Backed out changeset 18132498bc40 (bug 1263311)

MozReview-Commit-ID: LPEa05QobdQ
2016-04-11 12:50:56 -07:00
Kyle Huey
d200ed89d0 Bug 1263311: Part 3 - s/nsCancelableRunnable/CancelableRunnable/g. r=froydnj 2016-04-11 11:40:06 -07:00
Kyle Huey
f13a6fc866 Bug 1263311: Part 1 - Change the nsICancelableRunnable interface. r=froydnj 2016-04-11 11:40:06 -07:00
Botond Ballo
868bc3704a Bug 1259296 - Do not scroll snap on the main thread for wheel events handled by APZ. r=kats
MozReview-Commit-ID: DudrJuO4pFM

--HG--
extra : source : a9468a25f1b937c49c5f801069d2cdc2cd610bdd
extra : histedit_source : 18d04bcb32288c7713a162f0ee33650f6f10926f
2016-04-04 17:46:12 -04:00
Olli Pettay
0a1b93ddf6 Bug 684208 - make dispatchEvent()'s return value to follow the spec, r=masayuki
--HG--
extra : rebase_source : d94e95611c2eb14171a693a5197afbd6e98f696a
2016-04-07 15:49:12 +03:00
Neil Deakin
2d95c5d4c5 Bug 1256952, send a dragexit at remote process when leaving the remote frame, r=smaug 2016-04-06 10:35:39 -04:00
shundroid
0eca40da0c Bug 1259663 - Clean up WidgetMouseScrollEvent. r=masayuki
MozReview-Commit-ID: F98luwO9y1N

--HG--
extra : rebase_source : e798d10142104b99fa50763a2f4e42107d3c6976
2016-04-06 16:44:11 +09:00
Chris Manchester
f7a1b3fb60 Bug 1242051 - Add inter-directory test support file dependencies to ini manifests. r=gps
Previously, every test and support file would be synced to the objdir
when running any test. Now that only those support files and tests requested
are synced, we note support files required beyond those in a test's
directory in ini manifests.

MozReview-Commit-ID: EmlDz9d4lqt
2016-04-04 14:56:52 -07:00
James Willcox
0391aa89f2 Bug 1222098 - Devicemotion event timestamp should return values from Android sensor API and not Gecko. r:smaug 2016-04-04 12:22:59 -05:00
Masayuki Nakano
57445d0047 Bug 1259668 Rename WidgetTouchEvent::touches to WidgetTouchEvent::mTouches r=smaug
MozReview-Commit-ID: FLbows8davI

--HG--
extra : rebase_source : b564d09aa76311793a78d80b6c78c91e232edc47
2016-03-30 18:44:28 +09:00
Andrew McCreight
16087a904d Bug 1251905, part 6 - Enable test_continuous_wheel_events.html in e10s. r=masayuki 2016-04-02 10:30:31 -07:00
Andrew McCreight
bfae3ebe43 Bug 1251905, part 5 - Make the synthesize wheel async. r=masayuki 2016-04-02 10:30:31 -07:00
Andrew McCreight
c2e5edf5ee Bug 1251905, part 4 - Use pushPrefEnv in testContinuousTrustedEvents(). r=masayuki 2016-04-02 10:30:31 -07:00
Andrew McCreight
def249c77d Bug 1251905, part 3 - Make prepareScrollUnits() support APZ using the async synthetic wheel event. r=masayuki 2016-04-02 10:30:30 -07:00
Andrew McCreight
09d19dee11 Bug 1251905, part 2 - Make the top level tests in test_continuous_wheel_events.html more async. r=masayuki
This enables later changes.
2016-04-02 10:30:30 -07:00
Andrew McCreight
d009fe69a7 Bug 1251905, part 1 - Make top level of test_continuous_wheel_events.html use pushPrefEnv. r=masayuki 2016-04-02 10:30:30 -07:00
Masayuki Nakano
e6be470f50 Bug 1259664 part.12 Rename WidgetWheelEvent::overflowDeltaY to WidgetWheelEvent::mOverflowDeltaY r=smaug
MozReview-Commit-ID: GGvQZlvc4sl

--HG--
extra : rebase_source : 9673aea11cbc752cfbc3c7b48fa68e2a4143266f
2016-04-01 00:36:55 +09:00
Masayuki Nakano
a597026bd6 Bug 1259664 part.11 Rename WidgetWheelEvent::overflowDeltaX to WidgetWheelEvent::mOverflowDeltaX r=smaug
MozReview-Commit-ID: CVKbougU4uT

--HG--
extra : rebase_source : 0beb961e696e114321db819ac68dab7d54cf7e28
2016-04-01 00:27:45 +09:00
Masayuki Nakano
1e0825ccd9 Bug 1259664 part.10 Rename WidgetWheelEvent::lineOrPageDeltaY to WidgetWheelEvent::mLineOrPageDeltaY r=smaug
MozReview-Commit-ID: 64lFZosnMbd

--HG--
extra : rebase_source : 1e103c5255a702d46f78c6f544981b0e82e2d23c
2016-04-01 00:10:09 +09:00
Masayuki Nakano
e462919d2b Bug 1259664 part.9 Rename WidgetWheelEvent::lineOrPageDeltaX to WidgetWheelEvent::mLineOrPageDeltaX r=smaug
MozReview-Commit-ID: 1j8SFp6bME4

--HG--
extra : rebase_source : 18b080a4938925547b2f5b7fa66908c75211a345
2016-04-01 00:10:46 +09:00
Masayuki Nakano
477d2b746e Bug 1259664 part.8 Rename WidgetWheelEvent::scrollType to WidgetWheelEvent::mScrollType r=smaug
MozReview-Commit-ID: 9Oywv8Yb0Qg

--HG--
extra : rebase_source : 71925e8e97855837f28912c8a1d689300de36489
2016-03-31 23:54:42 +09:00
Masayuki Nakano
3b08c541b4 Bug 1259664 part.7 Rename WidgetWheelEvent::isMomentum to WidgetWheelEvent::mIsMomentum r=smaug
MozReview-Commit-ID: CornLj3WkyG

--HG--
extra : rebase_source : 2566b30374ed1a5be7cf0c6fead25a0271d58d17
2016-03-31 23:45:55 +09:00
Masayuki Nakano
9d2172e67c Bug 1259664 part.6 Rename WidgetWheelEvent::mayHaveMomentum to WidgetWheelEvent::mMayHaveMomentum r=smaug
MozReview-Commit-ID: E6kS0pkOZby

--HG--
extra : rebase_source : edee14ad5acc01384ed356cf49a3215c843f12fd
2016-03-31 23:36:49 +09:00
Masayuki Nakano
70f6c0a7ac Bug 1259664 part.5 Rename WidgetWheelEvent::customizedByUserPrefs to WidgetWheelEvent::mCustomizedByUserPrefs r=smaug
MozReview-Commit-ID: 9GksNZRtmmb

--HG--
extra : rebase_source : 70f15531a9e83e1bd942270a9d95c5a9ea970b8c
2016-03-31 18:44:01 +09:00
Masayuki Nakano
a2da982fdb Bug 1259664 part.4 Rename WidgetWheelEvent::deltaMode to WidgetWheelEvent::mDeltaMode r=smaug
MozReview-Commit-ID: Ky3xp2NtBWq

--HG--
extra : rebase_source : 412e2df1c27c37dc76039d1fd3463623b476d81c
2016-03-31 18:35:24 +09:00
Masayuki Nakano
3450ec21e1 Bug 1259664 part.3 Rename WidgetWheelEvent::deltaZ to WidgetWheelEvent::mDeltaZ r=smaug
MozReview-Commit-ID: BbxTrLko8kp

--HG--
extra : rebase_source : 1aa8b1086791442dc15ac5464b7ecd3716203ccd
2016-03-31 18:18:34 +09:00
Masayuki Nakano
6aedccbde5 Bug 1259664 part.2 Rename WidgetWheelEvent::deltaY to WidgetWheelEvent::mDeltaY r=smaug
MozReview-Commit-ID: 3xscKDblY4V

--HG--
extra : rebase_source : c587768fd2c9a48e07cafa27b5c72e4eeb030360
2016-03-31 18:09:47 +09:00
Masayuki Nakano
6cedf549dc Bug 1259664 part.1 Rename WidgetWheelEvent::deltaX to WidgetWheelEvent::mDeltaX r=smaug
MozReview-Commit-ID: F5dQHpPkWfA

--HG--
extra : rebase_source : 1a256f288b0e004c196468f8659393b474d73840
2016-03-31 18:55:59 +09:00
Nicholas Nethercote
d376f9f82e Bug 1260871 - Remove do_GetAtom() and rename NS_NewAtom() as NS_Atomize(). r=erahm.
do_GetAtom() is currently just a synonym for NS_NewAtom().

--HG--
extra : rebase_source : f4409784f931616cbc300591e6b843d30805c273
2016-03-29 10:09:43 +11:00
Masayuki Nakano
e9a1bcb370 Bug 1259658 Rename WidgetInputEvent::modifiers to WidgetInputEvent::mModifiers r=smaug
MozReview-Commit-ID: 7avEiqKfaHA

--HG--
extra : rebase_source : ffb6fbe424a4d5c2799444223608e03237e7c7a2
2016-03-31 17:03:00 +09:00
Masayuki Nakano
920137b6c6 Bug 1259662 part.1 Rename WidgetDragEvent::dataTransfer to WidgetDragEvent::mDataTransfer r=smaug
MozReview-Commit-ID: 6O8S0Yx7kBR

--HG--
extra : rebase_source : dc7936716cb8e09d5df83a985364b7301a2c6526
2016-03-31 17:26:32 +09:00
Masayuki Nakano
b085de0c5a Bug 1259671 part.5 Rename InternalScrollPortEvent::orient to InternalScrollPortEvent::mOrient r=smaug
MozReview-Commit-ID: HHWPSAeeaPr

--HG--
extra : rebase_source : 3d2dccb0e0e3d4bddcd34086c8f6f2906ba01177
2016-03-30 17:48:23 +09:00
Andrea Marchesini
7d22a5cb40 Bug 1188818 - DataTransfer must deal with nsIFile of directories, r=jwatt 2016-03-30 17:58:41 +01:00
chunminchang
bd0d5a63e4 Bug 1110030 - part6 - Expose DefaultPreventedBy*. r=masayuki, r=smaug 2016-03-15 13:45:23 +08:00
chunminchang
c2b718ebb8 Bug 1110030 - part5 - Expose KeyboardEventInit dictionary. r=masayuki, r=smaug 2016-03-15 13:46:29 +08:00
chunminchang
d5f0b6bbe5 Bug 1110030 - part2 - Prevent PostHandleKeyboardEvent if it's handling by IME. r=masayuki 2016-03-15 13:49:19 +08:00
Arata Furukawa
28360f6c90 Bug 1259655 - part 2 Rename WidgetEventTime::timeStamp to WidgetEventTime::mTimeStamp r=masayuki
MozReview-Commit-ID: LRgPxoynx0

--HG--
extra : source : 506d58da4e67501a00b676c99997597fa5fe5679
2016-03-28 13:49:02 +09:00
Arata Furukawa
676913b9bb Bug 1259655 - part 1 Rename WidgetEventTime::time to WidgetEventTime::mTime r=masayuki
MozReview-Commit-ID: 7lBCEVkanvF

--HG--
extra : source : d629f018d02594951b7deccf1e1fce279d04694c
2016-03-28 13:29:42 +09:00
Takeshi Kurosawa
54f662d6c5 Bug 1259674 Part 3 rename InternalFocusEvent::relatedTarget to InternalFocusEvent::mRelatedTarget r=masayuki
MozReview-Commit-ID: FH6igP9kYtO

--HG--
extra : rebase_source : d4bee3406b3cdd35db941642e8126da9a80af99a
2016-03-27 14:46:48 +09:00
takayuki_yamaguchi
da0885219b Bug 1259675 - Clean up InternalTransitionEvent r=masayuki
MozReview-Commit-ID: 8fTJ4Z9yJGl

--HG--
extra : rebase_source : 7c461ee6124e4e7cce0a709b3dfe2c97c6df9e8f
2016-03-26 16:26:35 +09:00
Tetsuharu OHZEKI
8fe5a1b9d4 Bug 1259659 - rename from InternalUIEvent.detail to InternalUIEvent.mDetail. r=masayuki
MozReview-Commit-ID: FjqZ5D2NCFb

--HG--
extra : rebase_source : fad73cc04658b7891f6c5932f0da55db8ae1d615
2016-03-26 16:22:27 +09:00
Tetsuharu OHZEKI
2bc03e825a Bug 1259673 rename from InternalClipboardEvent.clipboardData to InternalClipboardEvent.mClipboardData. r=masayuki
MozReview-Commit-ID: GNELyxueTyN

--HG--
extra : rebase_source : e42df5d79366e2c781971b54ec64483a5f51c05d
2016-03-26 17:19:57 +09:00
Arata Furukawa
bc37b37b4c Bug 1258820 - making root scrollable element not scroll if mouse wheel is used on xul dropdown r=masayuki
EventStateManager::ComputeScrollTarget() should stop looking for scrollable frame if it meets nsMenuPopupFrame because the user must not want to scroll outside the popup.

MozReview-Commit-ID: Jo1QaQuSzKS

--HG--
extra : rebase_source : 559f22b7dd456056199aa9d49ef9bfd517dbac8c
2016-03-26 14:29:01 +09:00
Tetsuharu OHZEKI
34d28e65df Bug 1259676 - part3: rename from 'InternalAnimationEvent.pseudoElement' to 'InternalAnimationEvent.mPseudoElement'. r=masayuki
MozReview-Commit-ID: GBJtFdobipj

--HG--
extra : rebase_source : 528abb3d04e52547e6c4e13ea396e080406008b1
2016-03-26 13:37:20 +09:00
Tetsuharu OHZEKI
3aeb31cf0f Bug 1259676 - part2: rename from 'InternalAnimationEvent.elapsedTime' to 'InternalAnimationEvent.mElapsedTime'. r=masayuki
MozReview-Commit-ID: 4n5YQwxLeAx

--HG--
extra : rebase_source : 6c29d53092c7d1f84ef2ad38f44380c7579df270
2016-03-26 13:37:19 +09:00
Tetsuharu OHZEKI
693106452d Bug 1259676 - part1: rename from 'InternalAnimationEvent.animationName' to 'InternalAnimationEvent.mAnimationName'. r=masayuki
MozReview-Commit-ID: DK5Q477WoXu

--HG--
extra : rebase_source : 59f061c7835b6e2359ca937a06cf3890871a70ea
2016-03-26 13:37:19 +09:00
Boris Zbarsky
e3b2de6aa9 Bug 1255817 part 2. Get rid of AutoJSAPI::OwnsErrorReporting and AutoJSAPI::TakeOwnershipOfErrorReporting. r=bholley 2016-03-23 11:44:54 -04:00
Boris Zbarsky
5140ac5aae Bug 1257725 part 1. Get rid of ThreadsafeAutoJSContext usage in JSEventHandler::HandleEvent. r=smaug 2016-03-23 11:02:57 -04:00
Masayuki Nakano
399cac9177 Bug 1256589 part.7 Add PropagationStopped() to WidgetEvent r=smaug
MozReview-Commit-ID: 3eLDURWr6d9

--HG--
extra : rebase_source : 058ab0d76512622a63c792cb91eb83700743549a
extra : source : 5fda4309b3413d8227828dcfce585500290c0a04
2016-03-17 16:21:57 +09:00
Masayuki Nakano
cea0b9cf02 Bug 1256589 part.6 Move the implementation of IsTrusted() from dom::Event to WidgetEvent r=smaug
MozReview-Commit-ID: 1SgMbTL8csl

--HG--
extra : rebase_source : 748fa8a594176edf7b2addd038b8031019d0dd35
extra : source : f4ce36e68ce06c405a6fab31facc120b94709aed
2016-03-17 16:01:30 +09:00
Masayuki Nakano
8c8cbe0e4c Bug 1256589 part.5 Add DefaultPrevented() and DefaultPreventedByContent() to WidgetEvent r=smaug
MozReview-Commit-ID: 5q3QUPTf12Z

--HG--
extra : rebase_source : 83ed946b44910713a61c80bd21202aba9430dd2a
extra : source : 4eb2193814ab1958a65add0c8c307d07c646d61c
2016-03-22 16:47:52 +09:00
Masayuki Nakano
6181d95afb Bug 1256589 part.4 Move the implementation of PreventDefault() and add PreventDefaultBeforeDispatch() from dom::Event to WidgetEvent r=smaug
mDefaultPreventedByChrome is hacky. When PresShell handles Escape key events in fullscreen mode, it prevents default of every Escape key events and dispatch it only into chrome. After that, it check mDefaultPreventedByChrome if at least one call of preventDefault() occurred in chrome. Therefore, if we shouldn't set both mDefaultPreventedByChrome and mDefaultPreventedByContent to true before dispatching an event. This the reason why we need a special method, PreventDefaultBeforeDispatch() is needed for setting only mDefaultPrevented to true.

MozReview-Commit-ID: BPSq68GnWw6

--HG--
extra : rebase_source : f2f963afeba6994cc090efedebc29c0d9334c96d
extra : source : 1012dc095cc1b7236991a7befdbfbf174dc1c1af
2016-03-22 16:26:27 +09:00
Masayuki Nakano
2748ab1e88 Bug 1256589 part.3 Move the implementation of StopCrossProcessForwarding() from dom::Event to WidgetEvent r=smaug
MozReview-Commit-ID: KXeVxCJ05Mo

--HG--
extra : rebase_source : 2f8d49412e32eec4a0a8f599984d057637f491a1
extra : source : a68c4bb4878612d61425d87a47b4eca78f271240
2016-03-22 16:01:46 +09:00
Masayuki Nakano
823c6c0373 Bug 1256589 part.2 Move the implementation of StopImmediatePropagation() from dom::Event to WidgetEvent r=smaug
MozReview-Commit-ID: ERTfIhS8bBi

--HG--
extra : rebase_source : e67b968789b51c08ca4b9ccbea37462d7b509f0c
extra : source : 501ec2dfd279deeb85fad3b843676496da6dff3c
2016-03-17 11:57:42 +09:00
Masayuki Nakano
d185d40ab2 Bug 1256589 part.1 Move the implementation of StopPropagation() from dom::Event to WidgetEvent r=smaug
MozReview-Commit-ID: Br5eBgC8TbW

--HG--
extra : rebase_source : 0e5743583f80b3e9e09397f49bd438bfe0f49d06
extra : source : 745c9d855d209780a884bd7a3d2cd3cdc20632af
2016-03-17 11:17:42 +09:00
Masayuki Nakano
963976b46d Bug 1154183 part.1 Move shortcut/access key candidate list creators from nsContentUtils to WidgetKeyboardEvent r=smaug
MozReview-Commit-ID: Ied6qEUc2Kz
2016-03-18 11:22:37 +09:00
Jocelyn Liu
b382b4642e Bug 1003432: Expose CustomEvent in Worker. r=smaug 2016-03-22 00:09:57 +08:00
Xidorn Quan
60bcaa5c0b Bug 1257121 part 4 - Use return value rather than out param to return font metrics. r=jfkthame
MozReview-Commit-ID: 6xrHYbgHGVd

--HG--
extra : rebase_source : 4d0cea24689588d8a1daa1869502e31ac7c3dc56
2016-03-17 13:55:48 +08:00
Xidorn Quan
8acf32453c Bug 1257121 part 3 - Add GetInflatedFontMetricsForFrame function to simplify a common use pattern. r=jfkthame
MozReview-Commit-ID: 4KMLCz6wQHQ

--HG--
extra : rebase_source : 08964aef3b335163985dd6818b4a6ae3a4e34fce
2016-03-17 12:07:47 +08:00
Andrea Marchesini
548dc7f03a Bug 1173320 - patch 4/8 - Directory in FileList, r=smaug 2016-03-20 11:56:10 +01:00
Andrea Marchesini
18858bf144 Bug 1173320 - patch 1/8 - Implement Directory object as string and not as BlobImpl, r=smaug 2016-03-20 11:56:10 +01:00
Phil Ringnalda
b47ec4d2bd Backed out 8 changesets (bug 1173320) for adding dom/filesystem/tests/test_basic.html without making it work on Android
Backed out changeset 7e3a105b9160 (bug 1173320)
Backed out changeset 094819fbb07f (bug 1173320)
Backed out changeset 23b0e55ff1db (bug 1173320)
Backed out changeset 8bf8e2fcedad (bug 1173320)
Backed out changeset 3de390c6f47f (bug 1173320)
Backed out changeset fb298010e12e (bug 1173320)
Backed out changeset f1a965c2f796 (bug 1173320)
Backed out changeset 176128ba757f (bug 1173320)
2016-03-19 19:44:22 -07:00
Andrea Marchesini
2fdbbe6373 Bug 1173320 - patch 4/8 - Directory in FileList, r=smaug 2016-03-19 22:29:46 +01:00
Andrea Marchesini
232e5767b0 Bug 1173320 - patch 1/8 - Implement Directory object as string and not as BlobImpl, r=smaug 2016-03-19 22:29:46 +01:00
Ryan VanderMeulen
ac97cbbe14 Backed out 8 changesets (bug 1173320) for bustage.
Backed out changeset e5c224d964bc (bug 1173320)
Backed out changeset db971ba7c26d (bug 1173320)
Backed out changeset cd7e79d9a750 (bug 1173320)
Backed out changeset 56bbea4fe199 (bug 1173320)
Backed out changeset e94ced2f8e3c (bug 1173320)
Backed out changeset 401c1e7df8ea (bug 1173320)
Backed out changeset bf65b38f759e (bug 1173320)
Backed out changeset ac58a56021ac (bug 1173320)

DONTBUILD CLOSED TREE
2016-03-19 10:52:12 -04:00
Andrea Marchesini
abfa0bb4b2 Bug 1173320 - patch 4/8 - Directory in FileList, r=smaug 2016-03-19 14:33:43 +01:00
Andrea Marchesini
f1f32823dd Bug 1173320 - patch 1/8 - Implement Directory object as string and not as BlobImpl, r=smaug 2016-03-19 14:32:18 +01:00
Trevor Saunders
a6f221b6a2 bug 1257287 - add nsIDocShell.tabChild r=smaug 2016-03-18 15:54:12 -04:00
Neil Deakin
1114a59fb7 Bug 1256162, use last drag target for dragexit event when comparing to a remote browser, r=smaug 2016-03-18 15:45:46 -04:00
Andrew McCreight
e74d76e118 Bug 1252256, part 13 - Enable test_dom_wheel_event.html on e10s. r=masayuki 2016-03-18 08:35:22 -07:00
Andrew McCreight
fb9a47d272 Bug 1252256, part 12 - Don't call continueTest if we're not expecting any more async handler calls. r=masayuki
This makes the sync dispatchEvent() call work properly, and also makes
the case where there are too many async events work better
2016-03-18 08:35:22 -07:00
Andrew McCreight
9f98e659dd Bug 1252256, part 11 - Rename expectedHandlerCalls to expectedAsyncHandlerCalls. r=masayuki
This variable is only needed for async handler calls.
2016-03-18 08:35:22 -07:00
Andrew McCreight
a6fbff6a44 Bug 1252256, part 10 - Use sendWheelAndWait in synthesizeWheel. r=masayuki 2016-03-18 08:35:22 -07:00
Jim Chen
ae409c5147 Bug 1254629 - Let query events fail when content root is wrong; r=masayuki
Make query events fail (including when caching selection) if the queried
content root is different from what we expected.

Also, introduce a fix-up to the selection fix in test_imestate.html.
2016-03-16 14:20:30 -04:00
Carsten "Tomcat" Book
c05ed2b925 Backed out changeset 0359d3b3dc55 (bug 1254629) for rc4 perma failures 2016-03-16 10:29:10 +01:00
Jim Chen
1f14c2a2c3 Bug 1254629 - Let query events fail when content root is wrong; r=masayuki
Make query events fail (including when caching selection) if the queried
content root is different from what we expected.

Also, introduce a fix-up to the selection fix in test_imestate.html.
2016-03-16 02:16:56 -04:00
Masayuki Nakano
12a007fd7f Bug 1203059 part.2 When an event is reserved by chrome, it should be fired only on chrome r=smaug 2016-03-16 10:58:28 +09:00
Ting-Yu Lin
b8972c7eb9 Bug 1225412 Part 2 - Add support to dispatch toggle events to details element. r=smaug
Add ontoggle event handler, and dispatch toggle events to the details
element if the open attribute is added or changed. According to the
spec, if a new toggle event has been queued, previous toggle events
should be aborted.

MozReview-Commit-ID: EN6Jf5hVHHD

--HG--
extra : rebase_source : 35605e49950bb59a0eb6dca594c3ede465ff587d
2016-03-12 19:53:51 +08:00
Ting-Yu Lin
e112dca692 Bug 1225412 Part 1 - Make AsyncEventDispatcher cancelable. r=smaug
Also I found that mBubbles are not initialized in the constructor in
AsyncEventDispatcher.cpp. I initialized those bool member variables
directly.

MozReview-Commit-ID: FiU4NKGJjU9

--HG--
extra : rebase_source : 1bcd5808b442eb726763602525977bc064ecc0ee
2016-03-12 19:53:50 +08:00
Ryan VanderMeulen
d96e884f80 Backed out changeset 2474d1a76958 (bug 1252256) for frequent OSX 10.10 failures. 2016-03-11 21:27:02 -05:00
Wes Kocher
2e2090e51e Backed out changeset fd7564bd9998 (bug 1254629) for windows failures in test_windowless_ime.html
MozReview-Commit-ID: IEl8esnckqP
2016-03-11 14:05:08 -08:00
Jim Chen
33195c666d Bug 1254629 - Let query events fail when content root is wrong; r=masayuki
Make query events fail (including when caching selection) if the queried
content root is different from what we expected.

Also, introduce a fix-up to the selection fix in test_imestate.html.
2016-03-11 13:47:22 -05:00
Andrew McCreight
c6a7d6bd2f Bug 1252256, part 10 - Enable test_dom_wheel_event.html on e10s. r=masayuki 2016-03-11 06:41:44 -08:00
Andrew McCreight
bdab462e56 Bug 1253041 - Don't apply user wheel prefs more than once. r=smaug
This causes the preferences to be applied twice for events that are sent to the child process
2016-03-11 06:41:44 -08:00
Xidorn Quan
4da961fb99 Bug 1244546 part 2 - Align the center point for pointerlock to meet widget's requirement. r=smaug
MozReview-Commit-ID: I4BS1pfyMLD

--HG--
extra : source : dd921cf05c244c7f61be8b1ff3bbdedc40644e1a
2016-03-11 19:10:44 +08:00
Andrew McCreight
274bb54bf0 Bug 1255178 - Part 2: Remove extraneous argument to sendWheelAndWait. r=masayuki
Bug 1140293 changed hitEventLoop calls to sendWheelAndWait but did not
remove the extra argument.
2016-03-09 16:27:00 -05:00
Andrew McCreight
72e6983d10 Bug 1255178 - Part 1: Remove a leftover use of clearUserPref. r=masayuki
Also, remove some trailing whitespace.
2016-03-09 16:27:00 -05:00
Andrew McCreight
e527e48266 Bug 1255173 - Fix onZoomReset() in test_wheel_default_action.html to work with e10s. r=masayuki, r=jmaher
"test.events.async.enabled" must be set to true so we generate key
events in the parent process, which is what triggers the zoom reset.

In addition, some SpecialPowers infrastructure must be set up to
listen for "browser-fullZoom:zoomReset" in the parent and send it to
an observer in the child.

--HG--
extra : rebase_source : 05072529e645b4b8fbd97e2d3ff6dec51a913f40
2016-03-09 16:28:00 -05:00
Andrew McCreight
4272902ae3 Bug 1252256, part 9 - Fix testOnWheelProperty() subtest to work with e10s. r=masayuki 2016-03-08 07:18:19 -08:00
Andrew McCreight
5112b5e3fc Bug 1252256, part 8 - Use Currying in testOnWheelProperty subtest. r=masayuki 2016-03-08 07:18:19 -08:00
Andrew McCreight
20baf11d59 Bug 1252256, part 7 - Fix testOnWheelAttr subtest to work with e10s. r=masayuki 2016-03-08 07:18:19 -08:00
Andrew McCreight
c8fe677cf5 Bug 1252256, part 6 - Use a common template literal function in testOnWheelAttr subtest. r=masayuki 2016-03-08 07:18:19 -08:00
Andrew McCreight
017a35d024 Bug 1252256, part 5 - Fix testEventOrder() subtest to work with e10s. r=masayuki 2016-03-08 07:18:19 -08:00
Andrew McCreight
0b0a1f0c8e Bug 1252256, part 4 - Move preventDefault into pushEvent in testEventOrder() subtest. r=masayuki 2016-03-08 07:18:18 -08:00
Andrew McCreight
3efd074596 Bug 1252256, part 3 - Fix testDeltaMultiplierPrefs() subtest to work with e10s. r=masayuki
Also, check deltaX instead of deltaY to decide if a horizontal MozMousePixelScroll is expected.
2016-03-08 07:18:18 -08:00
Andrew McCreight
8922a75b96 Bug 1252256, part 2 - Fix prepareScrollUnits() subtest to work with e10s. r=masayuki 2016-03-08 07:18:18 -08:00
Andrew McCreight
d91226db45 Bug 1252256, part 1 - Fix typo in test messages in testDeltaMultiplierPrefs. r=masayuki 2016-03-08 07:18:18 -08:00
Xidorn Quan
b3ea3fa801 Bug 1251995 part 2 - Add gfxTextRun::Range to replace parameter pairs like (offset, length) and (start, end). r=jfkthame
Although this makes some places more complicated, code should generally
be simpler and clearer. It could slightly improve performance on x64 for
functions with more than four parameters, since it makes more data be
passed via registers rather than the stack.

MozReview-Commit-ID: D0GM2Jyrr6W

--HG--
extra : source : bd88a2e478e23edf1845f724a32fef908c8cc007
2016-03-08 15:56:18 +08:00
Carsten "Tomcat" Book
b9f86983b1 Backed out changeset bf004c055beb (bug 1251995) 2016-03-07 12:18:19 +01:00
Xidorn Quan
8e3206382b Bug 1251995 part 2 - Add gfxTextRun::Range to replace parameter pairs like (offset, length) and (start, end). r=jfkthame
Although this makes some places more complicated, code should generally
be simpler and clearer. It could slightly improve performance on x64 for
functions with more than four parameters, since it makes more data be
passed via registers rather than the stack.

MozReview-Commit-ID: D0GM2Jyrr6W

--HG--
extra : rebase_source : 29961e56b5fe14b244046b3dc52b1f922c206218
2016-02-29 16:50:17 +08:00
Martijn Wargers
147837be87 Bug 553417 - Rewrite tests to use pushPrefEnv. r=mats
--HG--
extra : rebase_source : 915e035893f1fb59a791d41ac3b2d2b3b63dc287
2016-03-04 12:23:23 -05:00
sakshi
1af0b67296 Bug 1197311 - Remove PR_snprintf calls in dom/ r=froydnj 2016-02-17 14:23:39 -05:00
Timothy Nikkel
cd3746d910 Bug 1253052. Only schedule paint when apz aware event listener is added if event regions/apz are enabled. r=kats
Bug 1210057 added this, we should only do it if apz/event regions are enabled.
2016-03-03 15:52:09 -06:00
Jim Chen
633ea30d54 Bug 1248459 - Add a test for querying out-of-bounds selection; r=masayuki 2016-03-03 13:10:07 -05:00
Jim Chen
6e298a23a6 Bug 1248459 - Don't query out-of-bounds selection; r=masayuki
During a query selection event, fail if the selection is outside of the
editor's root content. This can happen if the placeholder text in an
input field is somehow selected. The placeholder is in a separate
element outside of the root content.

Also fix a bug in test_imestate, where the selection was not properly
reset at the start of a test.
2016-03-03 13:10:07 -05:00
Mats Palmgren
93262a673a Bug 1250315 - Make <input type=number readonly> match :-moz-read-only and allow context events. r=jwatt 2016-03-02 23:39:34 +01:00
Ryan VanderMeulen
7187198c8b Bug 1252273 - Skip a couple timeout-prone dom/events tests on OSX e10s. 2016-02-29 18:04:51 -05:00
Martijn Wargers
0cf9cbfeef Bug 1252135 - Convert some tests in dom/events to use pushPrefEnv, r=Andrew McCreight
--HG--
extra : rebase_source : 1984989a2472b1bcf2a77fef2f735a5a8649452b
2016-03-01 09:27:15 -05:00
Andrew McCreight
f759697989 Backout Bug 1251659, part 1 for frequent failures 2016-02-29 07:44:15 -08:00
Andrew McCreight
33db15a0d7 Bug 1251837, part 6 - Make cleanup() in doTestScroll take a callback, and use pushPrefEnv. r=masayuki 2016-02-29 05:42:56 -08:00
Andrew McCreight
37ec2c1c6f Bug 1251837, part 5 - Make prepare() in doTestScroll take a callback, and use pushPrefEnv. r=masayuki 2016-02-29 05:42:56 -08:00
Andrew McCreight
112ff3a7ee Bug 1251837, part 4 - Use pushPrefEnv in doTestActionOverride in window_wheel_default_action.html. r=masayuki 2016-02-29 05:42:56 -08:00
Andrew McCreight
47c168f53f Bug 1251837, part 3 - Use pushPrefEnv in doTestWholeScroll in window_wheel_default_action.html. r=masayuki 2016-02-29 05:42:56 -08:00
Andrew McCreight
4ffb7332ed Bug 1251837, part 2 - Use pushPrefEnv in doTestActionOverride in window_wheel_default_action.html. r=masayuki 2016-02-29 05:42:56 -08:00
Andrew McCreight
4d1db7462a Bug 1251837, part 1 - Use pushPrefEnv in setDeltaMultiplierSettings in window_wheel_default_action.html. r=masayuki 2016-02-29 05:42:56 -08:00
Andrew McCreight
e226e5ac19 Bug 1251659, part 2 - Remove redundant setting of pointer events pref in test_bug822898. r=mrbkap
The same preference is set earlier using pushPrefEnv.
2016-02-29 05:42:56 -08:00
Andrew McCreight
2c6fb590c4 Bug 1251659, part 1 - test_bug967796.html should use SpecialPowers.pushPrefEnv. r=mrbkap
This should fix the intermittent e10s failure.
2016-02-29 05:42:56 -08:00
Ryan VanderMeulen
a309d2255d Backed out changesets 3a116d8cb42f and b61ca87b91e1 (bug 1251659) for making test_bug967796.html permafail. 2016-02-29 00:03:01 -05:00
Abdelrhman Ahmed
2eb10d0455 Bug 1250746 - Add InitMouseEvent back to nsIDOMMouseEvent. r=khuey
--HG--
extra : rebase_source : c577799e352916b3e7634ef513e950762ee4e98c
2016-02-26 10:04:00 +01:00
Andrew McCreight
7bf30b4fed Bug 1251659, part 2 - Remove redundant setting of pointer events pref in test_bug822898. r=mrbkap
The same preference is set earlier using pushPrefEnv.
2016-02-28 14:00:59 -08:00
Andrew McCreight
ad6d0c4234 Bug 1251659, part 1 - test_bug967796.html should use SpecialPowers.pushPrefEnv. r=mrbkap
This should fix the intermittent e10s failure.
2016-02-28 14:00:59 -08:00
Wes Kocher
a0271adb8d Backed out 2 changesets (bug 1248459) for test_imestate.html failures in mochitest-chrome-3 runs
Backed out changeset 62d7f81e434a (bug 1248459)
Backed out changeset 6aeedf17f577 (bug 1248459)

MozReview-Commit-ID: 10008f0KqYP
2016-02-26 13:51:56 -08:00
Jim Chen
e3538e4e0c Bug 1248459 - Add a test for querying out-of-bounds selection; r=masayuki 2016-02-26 14:38:57 -05:00
Jim Chen
1bd5f611b1 Bug 1248459 - Don't query out-of-bounds selection; r=masayuki
During a query selection event, fail if the selection is outside of the
editor's root content. This can happen if the placeholder text in an
input field is somehow selected. The placeholder is in a separate
element outside of the root content.
2016-02-26 14:38:57 -05:00
Masayuki Nakano
6e150071f6 Bug 1250050 Add a pref to disable supporting mouse wheel of windowless plugins on Windows r=smaug 2016-02-26 09:41:59 +09:00
Bobby Holley
3b95f5b981 Bug 1250767 - Reorder Gecko EventState to match Servo's ElementState, and add an API to let Servo access it. r=heycam,r=bz 2016-02-23 17:51:47 -08:00
Sebastian Hengst
005b11b368 Backed out changeset 796b681561a7 (bug 1250767) 2016-02-24 22:50:40 +01:00
Bobby Holley
628b01c94e Bug 1250767 - Reorder Gecko EventState to match Servo's ElementState, and add an API to let Servo access it. r=heycam,r=bz 2016-02-24 13:01:18 -08:00
Andrew McCreight
b80e656e9e Bug 1247679, part 3 - Replace NS_IMPL_CYCLE_COLLECTION_TRACE_JSVAL_MEMBER_CALLBACK with JS_MEMBER. r=smaug 2016-02-22 10:11:02 -08:00
Xidorn Quan
775aed278a Bug 743198 part 6 - Add unprefixed fullscreen events. r=smaug
--HG--
extra : source : cb096452899287cb35b51146d2f2ffc3dc26350f
2016-02-17 08:47:11 +08:00
Xidorn Quan
8bc3b5685b Bug 743198 part 5 - Check legacy event listener only if listener is found in the current group. r=smaug
--HG--
extra : source : b141db892428ebcbc2dbf213aea759aa88f6e8bf
2016-02-17 08:47:11 +08:00
Aidin Gharibnavaz
6863090c8a Bug 1235830 - Renaming GetInternalNSEvent to WidgetEvent, in nsIDOMEvent r=smaug
MozReview-Commit-ID: Hm8Owq17KXn

--HG--
extra : transplant_source : 2%82%D5%89%19%94%7C%E7%CA1%99%B5%24%1F5%E1%C0%1F%DE%07
2016-02-12 19:10:07 +03:30
Kartikaya Gupta
eff0c6f738 Bug 1246854 - Remove unnecessary warning. r=botond
MozReview-Commit-ID: 21j8L9yhiIt
2016-02-12 12:32:59 -05:00
Timothy Nikkel
144bb37d6e Bug 1210057. Schedule a paint when an apz aware event listener is added so that event regions on the layer tree get updated. r=smaug 2016-02-10 17:47:59 -06:00
Timothy Nikkel
7f52ab42ea Bug 1210057. Make test_moz_mouse_pixel_scroll_event.html wait for a paint after adding a apz aware (MozMousePixelScroll) event listener. r=kats
Adding an apz aware event listener will change the event regions on the layer tree, so we want to wait until that has happened before running the test.
2016-02-10 17:47:58 -06:00
Mike Taylor
ab88c5e143 Bug 1246246. Part 3 - Add test for firing prefixed legacy event types (in capture phase). r=smaug 2016-02-10 12:55:09 -06:00
Mike Taylor
502f99f38e Bug 1246246. Part 2 - Remove root test div in mpTestDiffListenersEventBubbling. r=smaug 2016-02-10 12:55:08 -06:00
Mike Taylor
3ed8f2140a Bug 1246246. Part 1 - Whitespace + rename existing test. (no review, whitespace + rename only) 2016-02-10 12:55:08 -06:00
Daniel Holbert
b5aec0f2e7 Bug 1243555: Remove unnecessary nsDocShell static_cast in EventListenerManager::HandleEventInternal(). r=smaug 2016-02-09 15:21:36 -08:00
Ting-Yu Lin
e100555d17 Bug 1246404 - Check mouseContent before calling IsInComposedDoc(). r=smaug
It's possible that PresShell::HandleEventWithTarget() above will make
mouseContent become nullptr. We should check the validity of
mouseContent before calling its method.

--HG--
extra : commitid : BjvYp6Fus8x
extra : rebase_source : da20becb8bf4b1706bb817baba28299bab69efb9
2016-02-06 23:44:00 +08:00
Carsten "Tomcat" Book
f54b84ca7c Backed out changeset 07d6feffedb9 (bug 1000870) for e10s asan test failure in test_pointerevent_setpointercapture_inactive_button_mouse-manual.html 2016-02-05 13:58:11 +01:00
Carsten "Tomcat" Book
bdd1850b31 Backed out changeset c8273997b141 (bug 1000870) 2016-02-05 13:57:30 +01:00
Lebedev Maksim
cb152c2f1d Bug 1000870 - Change official tests for pointer events to auto mochitest system. r=smaug 2016-02-03 05:06:00 +01:00
Maksim Lebedev
fb06661214 Bug 1000870 - Add original official tests from W3C at 2015.03.01. r=smaug 2015-03-31 07:02:00 +02:00
Carsten "Tomcat" Book
43ec756ee5 Merge mozilla-central to mozilla-inbound 2016-02-04 12:05:03 +01:00
Carsten "Tomcat" Book
acbc3c41fd Merge mozilla-central to fx-team 2016-02-03 12:29:21 +01:00
Gijs Kruitbosch
957a33f4d4 Bug 1240208 - use inputmode in XUL to get better hinting for IME and on-screen keyboards, r=masayuki,smaug
--HG--
extra : commitid : KANhgN15KJK
extra : rebase_source : 0b640769e92d9d8c01e972c2b526ea56cc56d1df
2016-02-01 17:57:29 +00:00
Ting-Yu Lin
0beafc0ac8 Bug 591737 - Avoid dispatch mouse double click to content not in doc. r=smaug
When double-clicking on a default anonymous <summary> element, the first
eMouseClick will make the summary element being removed from the
document. This generates an assert in
PresShell::HandleEventWithTarget().

To prevent this assert, ensure the mouseContent is in document before
dispatching the eMouseDoubleClick event.

Since GetCrossShadowCurrentDoc() was deprecated, replace it with
GetComposedDoc().

--HG--
extra : commitid : K9pCdof8z3f
extra : rebase_source : 3adfdb9938de30fd0ca365168c33dcdcef8ca285
2016-01-20 23:20:42 +08:00
Daniel Holbert
cb4f99900d Bug 1236979 part 4: Add test for firing of prefixed legacy event-types. r=smaug 2016-02-02 10:03:49 -08:00
Daniel Holbert
bbdaa0ddbd Bug 1236979 part 3: If there are no listeners for a transition or animation event, check listeners again using a webkit-prefixed event name. r=smaug 2016-02-02 10:03:49 -08:00
Daniel Holbert
bf2246f94d Bug 1236979 part 2: Create an RAII helper-class to temporarily override an Event's mMessage (i.e. its DOM-exposed 'type') r=smaug 2016-02-02 10:03:49 -08:00
Daniel Holbert
003c978aea Bug 1236979 part 1: Add event names & enums for webkit-prefixed transition & animation events. r=smaug 2016-01-31 00:01:17 -08:00
Birunthan Mohanathas
d7371d07d0 Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj 2016-02-02 17:36:30 +02:00
Daniel Holbert
2eb04f5120 backout bug 1236979 (changesets 2f4de652525e, d7136545a16e, f62e6638add1, f8b1e085b161) for xpcshell test failures 2016-02-01 21:57:38 -08:00
Daniel Holbert
6ffae675e8 Bug 1236979 part 4: Add test for firing of prefixed legacy event-types. r=smaug 2016-02-01 19:05:12 -08:00
Daniel Holbert
054ab955e4 Bug 1236979 part 3: If there are no listeners for a transition or animation event, check listeners again using a webkit-prefixed event name. r=smaug 2016-02-01 19:05:12 -08:00
Daniel Holbert
bbe7076b5c Bug 1236979 part 2: Create an RAII helper-class to temporarily override an Event's mMessage (i.e. its DOM-exposed 'type') r=smaug 2016-02-01 19:05:11 -08:00
Daniel Holbert
ad2eec18b6 Bug 1236979 part 1: Add event names & enums for webkit-prefixed transition & animation events. r=smaug 2016-01-31 00:01:17 -08:00
Andrea Marchesini
75115ed2f7 Bug 1243881 - patch 2 - unship performance.translateTime, r=bz 2016-02-01 21:48:04 +00:00
Kyle Huey
44826ce463 Bug 1244582: Add back in a null check that was accidentally removed. r=smaug 2016-02-01 09:44:52 -08:00
Timothy Nikkel
6c7038cfd7 Bug 1243628 - Allow for presshell to have been destroyed and disconnected from prescontext during event dispatch. r=dholbert 2016-01-27 21:01:00 +01:00
Nicholas Nethercote
9fa2681d82 Bug 1187151 (part 14) - Replace nsBaseHashtable::Enumerate() calls in dom/ with iterators. r=baku.
--HG--
extra : rebase_source : c211bfa5c6995b2564c7e356d8edb192a7bdba9e
2016-01-28 14:08:19 -08:00
Phil Ringnalda
d381b4bca6 Back out 7 changesets (bug 1235261) for cpptest failures in TestTArray
CLOSED TREE

Backed out changeset d66c3f19a210 (bug 1235261)
Backed out changeset 467d945426bb (bug 1235261)
Backed out changeset 32b61df13142 (bug 1235261)
Backed out changeset c50bb8ed4196 (bug 1235261)
Backed out changeset 0ff0fa6fe81f (bug 1235261)
Backed out changeset df70e89669da (bug 1235261)
Backed out changeset 064969357fc9 (bug 1235261)
2016-01-31 10:10:57 -08:00
Birunthan Mohanathas
373593275e Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj 2016-01-31 17:12:12 +02:00
Kyle Huey
91efc5a86c Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug 2016-01-30 09:05:36 -08:00
Masayuki Nakano
05ae69e6a5 Bug 1242331 part.4 Add TextChangeDataBase::mIncludingChangesWithoutComposition r=smaug 2016-01-28 13:28:54 +09:00
Masayuki Nakano
1e9d12bfdb Bug 1242331 part.3 Rename TextChangeDataBase::mOccurredDuringComposition to mIncludingChangesDuringComposition r=smaug 2016-01-28 13:28:53 +09:00
Masayuki Nakano
26c28dca6c Bug 1242331 part.2 Rename TextChangeDataBase::mCausedByComposition to mCausedOnlyByComposition r=smaug 2016-01-28 13:28:53 +09:00
Masayuki Nakano
367ad6230a Bug 1153156 part.1 Move nsBaseWidget::OverrideSystemMouseScrollSpeed() to WidgetWheelEvent r=smaug, sr=smaug 2016-01-27 15:09:13 +09:00
Nicholas Nethercote
0676bfa504 Bug 1239864 (part 3) - Use the new rect iterators in docshell/ and dom/. r=baku.
--HG--
extra : rebase_source : 7dbf2f2a83c8f35769cd0ba974a20f99d420c5a2
2016-01-18 17:20:44 -08:00
Eugen Sawin
e8d1a957e9 Bug 1205649 - [2.4] Add AbsoluteDeviceOrientation DOM event for compass heading orientation data. r=smaug 2016-01-21 18:14:33 +01:00
Eugen Sawin
a1f5f13b6b Bug 1205649 - [1.1] Use relative orientation for DOM DeviceOrientation events by default. r=vlad 2016-01-21 18:14:33 +01:00
Olli Pettay
499be663e1 Bug 1240963 - Make test_bug328885.html more reliable, r=khuey 2016-01-20 15:14:03 +02:00
Jan-Ivar Bruaroey
ddcdf769db Bug 1232082 - add pc.ontrack and RTCTrackEvent r=jesup,smaug
--HG--
extra : transplant_source : %BA%B7%0B%AD%EA%24%19R%93-%9F%CF%82%10%CE%8B%DC4%FB%15
2016-01-12 15:09:01 -05:00
Aidin Gharibnavaz
e6606278c0 Bug 1230216 - Changing nsIDOM*Event interfaces so that they don't inherit nsIDOMEvent. r=smaug
All the event interfaces changed except for nsIDOMUIEvent and its inheritors.

--HG--
extra : transplant_source : %A5U%3F%80%2B%DD%01%F4%D8%21%F2%E9z%C1%D6%AA%CC%D4%EC%F8
2016-01-12 07:49:08 +03:30
Jonathan Kew
bfe65fa356 Bug 1197786 - Use -moz-appearance:none on textarea in test_bug864040.html to work around unreliable Gtk3-themed rendering. r=dholbert 2016-01-13 19:43:22 +00:00
Andrea Marchesini
0cf3581d9f Bug 1234192 - OSFileSystem should not be shared between Directory objects, r=smaug 2016-01-13 14:59:06 +00:00
Phil Ringnalda
39b2d1946d Back out 3 changesets (bug 1232082) for causing a variety of Android webrtc failures including causing bug 1239200
CLOSED TREE

Backed out changeset 1c8afc8ea1c1 (bug 1232082)
Backed out changeset d8ec4008871e (bug 1232082)
Backed out changeset fa3363702d51 (bug 1232082)
2016-01-12 22:33:17 -08:00
Jan-Ivar Bruaroey
b3526e95e1 Bug 1232082 - add pc.ontrack and RTCTrackEvent r=jesup,smaug
--HG--
extra : rebase_source : fea25f937aca628960e665d9655c60806dd7e7f5
2016-01-12 15:09:01 -05:00
Wes Kocher
cadac86336 Backed out 3 changesets (bug 1232082) for wpt bustage in rtcpeerconnection-idl.html
Backed out changeset ec89afa7163c (bug 1232082)
Backed out changeset 47de4d036349 (bug 1232082)
Backed out changeset a595577a8247 (bug 1232082)

--HG--
extra : commitid : 6KuHiKS94jA
2016-01-12 11:07:51 -08:00
Andrea Marchesini
7167daa292 summary: Bug 1231378 - part 5 - Fix uninitialized members of classes in dom/{workers,events,media,canvas}, r=smaug 2016-01-12 18:16:59 +00:00
Jan-Ivar Bruaroey
4a7de0b9d5 Bug 1232082 - add pc.ontrack and RTCTrackEvent r=jesup,smaug
--HG--
extra : rebase_source : ce468d0972aa79dc4abb3669d46d7e62f9128693
2016-01-04 12:46:21 -05:00
Carsten "Tomcat" Book
00abd66130 Backed out changeset 6d08ab04a77c (bug 1231378) 2016-01-12 15:48:53 +01:00
Andrea Marchesini
98f16784c5 Bug 1231378 - part 5 - Fix uninitialized members of classes in dom/{workers,events,media,canvas}, r=smaug 2016-01-12 13:57:37 +00:00
Randall Barker
3a71488eda Bug 1233056 - Long tapping on a link will select a different link from the page r=tnikkel
Long tapping would fail when Java Pan-Zoom was enabled in Fennec.
2016-01-08 20:22:07 -08:00
Kartikaya Gupta
3263b5aa68 Bug 1235994 - For wheel events which may have momentum following them, handle scroll snapping in APZ. r=mstange
--HG--
extra : commitid : 1NLmL8uvOSV
2016-01-07 10:39:46 -05:00
Eugen Sawin
f65cc759d8 Bug 1073224 - [2.1] Accept rotation vector device sensor listeners in tests. r=vlad 2016-01-07 15:23:39 +01:00
Eugen Sawin
c927fec54a Bug 1073224 - [1.2] Use SENSOR_ROTATION_VECTOR for DOM DeviceOrientation events on Android. r=vlad 2016-01-07 15:23:33 +01:00
Kyle Huey
449fd40516 Bug 1153636: Don't assert with addEventListener("") on workers. r=smaug 2016-01-06 13:18:29 -08:00
Kartikaya Gupta
e8354f3515 Bug 1190541 - Update some tests to deal with fluffing that correctly accounts for presShell resolution. r=domivinc
--HG--
extra : commitid : AC2n8EbRl6w
2016-01-05 23:08:07 -05:00
Jonathan Griffin
59f626fe96 Bug 1232780 - Disable mochitests which fail on e10s so we can get that suite running, a=test-only 2016-01-05 12:02:47 -08:00
Carsten "Tomcat" Book
2a4fdce7ee Backed out changeset 44ac8de96a09 (bug 1000870) for test failures in test_pointerevent_setpointercapture_inactive_button_mouse-manual.html 2016-01-04 12:58:59 +01:00
Carsten "Tomcat" Book
132aace1d9 Backed out changeset a0c6e3693039 (bug 1000870) 2016-01-04 12:58:38 +01:00
Lebedev Maksim
ac8a0cabf3 Bug 1000870 - Change official tests for pointer events to auto mochitest system. r=smaug 2015-12-18 00:13:00 +01:00
Maksim Lebedev
b97d63cbe0 Bug 1000870 - Add original official tests from W3C at 2015.03.01. r=smaug 2015-03-31 07:02:00 +02:00
Olli Pettay
5ca565690e Bug 1120016 - Allocate short lived JS wrappers in the Nursery, r=mccr8,terrence 2015-12-31 15:21:49 +02:00
Makoto Kato
b8e6c382ed Bug 1208944 - Part 6. Get vaild TextRangeArray on compositionupdate. r=masayuki 2015-12-29 22:57:38 +09:00
Makoto Kato
7530d01116 Bug 1208944 - Part 5. Send PluginEvent to content process. r=jmathies 2015-12-29 22:57:38 +09:00
Makoto Kato
75748e49e3 Bug 1208944 - Part 2-b. Workaround for OSX. r=masayuki 2015-12-29 22:57:38 +09:00
Makoto Kato
7d206bd88b Bug 1208944 - Part 2-a. Handle CompositionEvent on plugin. r=masayuki 2015-12-29 22:57:37 +09:00
Wes Kocher
792ca14825 Backed out changeset 0d55a6e4e98e (bug 1120016) for 980 b2g hazards
--HG--
extra : commitid : 27OIHVsa17S
2015-12-30 16:34:18 -08:00
Olli Pettay
2066f6d7b3 Bug 1120016 - Allocate short lived JS wrappers in the Nursery, r=mccr8,terrence
--HG--
extra : rebase_source : 3d51b7fc9962a93eb6071328db84b5b327225246
2015-12-30 19:16:13 +02:00
Sebastian Hengst
e082884d78 Backed out 15 changesets (bug 1208944) for failing tests M(2,5) on OSX. r=backout
Backed out changeset c29de223de2f (bug 1208944)
Backed out changeset 3d99da255be1 (bug 1209844)
Backed out changeset 3c915942af38 (bug 1209844)
Backed out changeset 759b425b5503 (bug 1208944)
Backed out changeset bf73cf8f0fda (bug 1208944)
Backed out changeset 0e337d912b7d (bug 1208944)
Backed out changeset 31c47f2980b5 (bug 1208944)
Backed out changeset 3e0d70a6e809 (bug 1208944)
Backed out changeset 7685dcb63e5f (bug 1208944)
Backed out changeset 3c2b9372dd36 (bug 1208944)
Backed out changeset 18160d306493 (bug 1208944)
Backed out changeset 4974e397b655 (bug 1208944)
Backed out changeset fde7e439844d (bug 1208944)
Backed out changeset 4213a355fbdc (bug 1208944)
Backed out changeset 33cfddbbf5f2 (bug 1208944)
2015-12-29 17:42:02 +01:00
Olli Pettay
480b819b0d Bug 1234656 - Add TouchEvent ctor, r=mbrubeck
--HG--
extra : rebase_source : 8aa6e435587a2d8129955251abf5cba02fe7ac1d
2015-12-29 15:46:18 +02:00
Makoto Kato
d1e8691a64 Bug 1208944 - Part 6. Get vaild TextRangeArray on compositionupdate. r=masayuki 2015-12-29 22:57:38 +09:00
Makoto Kato
4ac6c97dcd Bug 1208944 - Part 5. Send PluginEvent to content process. r=jmathies 2015-12-29 22:57:38 +09:00
Makoto Kato
a8252f4408 Bug 1208944 - Part 2-b. Workaround for OSX. r=masayuki 2015-12-29 22:57:38 +09:00
Makoto Kato
6046567f5d Bug 1208944 - Part 2-a. Handle CompositionEvent on plugin. r=masayuki 2015-12-29 22:57:37 +09:00
Ting-Yu Lin
097bf2b9b7 Bug 1221459 - Remove TouchCaret and SelectionCarets prefs in test files. r=mtseng, r=roc
For test_bug648573.html and test_bug644768.html, we no longer need to
create an iframe to turn off the preferences. I move the content of
iframe.src back to the test files.

--HG--
extra : amend_source : eec926c474be934b99faeb604493c01c471066e7
2015-12-22 14:14:12 +08:00
Nigel Babu
ca777970e8 Backed out changeset b61190bd4069 (bug 1121459) 2015-12-22 14:03:19 +05:30
Ting-Yu Lin
010e08ad0b Bug 1121459 - Remove TouchCaret and SelectionCarets prefs in test files. r=mtseng,roc
For test_bug648573.html and test_bug644768.html, we no longer need to
create an iframe to turn off the preferences. I move the content of
iframe.src back to the test files.

--HG--
extra : rebase_source : 5cf321bf3280e032cc6645810e3e7faa7a6ff615
2015-12-22 14:14:12 +08:00
Carsten "Tomcat" Book
b25476080d merge mozilla-inbound to mozilla-central a=merge 2015-12-11 11:38:17 +01:00
Masayuki Nakano
4d21fa83d0 Bug 1179632 part.6 KeyboardEvent.isComposing shouldn't expose IME state on different document r=smaug 2015-12-04 18:50:43 +09:00
Masayuki Nakano
3d27dcecfa Bug 1179632 part.5 WidgetCompositionEvent::mNativeIMEContext should be used at looking for a TextComposition instance for a WidgetCompositionEvent r=smaug 2015-12-04 18:50:34 +09:00
Masayuki Nakano
da7a2f4f8d Bug 1179632 part.2 WidgetCompositionEvent should store NativeIMEContext which caused the event and PuppetWidget should store it for GetNativeIMEContext() r=smaug, sr=smaug 2015-12-11 15:15:57 +09:00
Masayuki Nakano
6cad726628 Bug 1179632 part.1 native IME context should not be stored in InputContext but should be able to retrieve with nsIWidget::GetNativeData() r=smaug 2015-12-11 15:15:57 +09:00
Gijs Kruitbosch
297357597f Bug 1224605 - also show the OSK when tapping in focused inputs, r=masayuki
--HG--
extra : commitid : Dk5EQ4MMs4X
extra : rebase_source : 3bfa3f930a95904d2b179b58f3735f2e1cae1dc0
2015-12-08 09:56:27 -05:00
Nicholas Nethercote
16cd9db041 Bug 1230863 - Remove unused nsPresContext args from many functions. r=roc. 2015-12-06 17:15:53 -08:00
Kartikaya Gupta
e0c2c8e4f0 Bug 1228597 - Clean up code paths that (un)apply a pres shell resolution. r=tn,botond
A clear separation is introduced between paths that deal with a root
document resolution (at the process boundary in e10s setups) and paths
that deal with a non-root document resolution (elsewhere in Layout code).

This allows both code paths to run on all platforms.

--HG--
extra : source : 22bf09630803392dba3052a3f79691475af0c5e2
2015-11-30 19:13:20 -05:00
Botond Ballo
1cb64f6960 Bug 1228597 - Remove the MOZ_SINGLE_PROCESS_APZ define. r=tn
Code previously guarded by this (added in bug 1224015) will now run
unconditionally.

--HG--
extra : source : ce0f51f55572334002ddf1878db447540d4c9b82
2015-11-27 21:39:07 -05:00
David Rajchenbach-Teller
186f04cf6f Bug 1219150 - EventStateManager::{LatestUserInputStart, UserInputCount};r=smaug
To detect slow behaviors, it is useful to find out whether a user
input was handled between two instants.

This patch introduces EventStateManager::UserInputCount, which lets
client code determine whether user input was handled between two
points of execution, and EventStateManager::LatestUserInputStart,
which lets client code find out when the altest user input was
handled.

--HG--
extra : commitid : uK1v8pj0fi
2015-12-03 17:40:45 -08:00
Carsten "Tomcat" Book
5adcabb340 merge mozilla-inbound to mozilla-central a=merge 2015-12-02 15:20:57 +01:00
Masayuki Nakano
c62bfb339f Bug 1213589 part.9 ContentEventHandler::ShouldBreakLineBefore() should return false if the content is unknown HTML element r=smaug 2015-12-02 13:20:01 +09:00
Masayuki Nakano
ca5b42279c Bug 1213589 part.8 When there are no nodes causing text, ContentEventHandler should set start of the editor root to start of the range r=smaug 2015-12-02 13:20:01 +09:00
Masayuki Nakano
14e03f9711 Bug 1213589 part.6 ContentEventHandler should insert line breaks at open tag of elements except non-replaced inline elements r=smaug 2015-12-02 13:20:00 +09:00
Masayuki Nakano
661b0d48d5 Bug 1213589 part.5 Redesign the rules to create range in ContentEventHandler::SetRangeFromFlatTextOffset() r=smaug 2015-12-02 13:20:00 +09:00
Masayuki Nakano
6edaa422d8 Bug 1213859 part.4 ContentEventHandler should use NS_NewPreContentIterator rathr than NS_NewContentIterator at converting between DOM tree and flattened text r=smaug 2015-12-02 13:20:00 +09:00
Masayuki Nakano
ae9603b782 Bug 1213589 part.3 ContentEventHandler::GetFlatTextLengthInRange() should handle specially when it's called by nsIMutationObserver::ContentRemoved() r=smaug 2015-12-02 13:20:00 +09:00
Masayuki Nakano
18395c1495 Bug 1213589 part.2 Clean up GenerateFlatTextContent(), GelerateFlatFontRanges() and GetFlatTextOffsetOfRange() of ContentEventHandler r=smaug 2015-12-02 13:20:00 +09:00
Masayuki Nakano
1b1d719d0f Bug 1213589 part.1 Make ContentEventHandler::GetTextLength() and GetNativeTextLength() called only with a text node r=smaug 2015-12-02 13:20:00 +09:00
David Anderson
0bf441628c Add APZ support for mousewheel delta multiplier prefs. (bug 1214170 part 2, r=kats)
--HG--
extra : rebase_source : e2847430422f19d872c446524627cbaa526ffe06
2015-12-01 13:46:07 -08:00
David Anderson
83e664a4cd Add APZ support for mousewheel.acceleration prefs. (bug 1214170 part 1, r=kats)
--HG--
extra : rebase_source : b97121b98c3e42a83135f7e8fa186575b4fbfcb5
2015-12-01 13:45:49 -08:00
Jonathan Watt
740627a24c Bug 1209924 - Implement a general filtering mechanism for Directory::GetFilesAndDirectories, and add filtering of sensitive files/directories. r=baku 2015-10-09 15:59:40 +01:00
Randall Barker
c3c082c5dd Bug 1224015 - Part 3: ifdef changes to C++APZ so that they only apply to single process APZ. r=tnikkel
Added MOZ_SINGLE_PROCESS_APZ flag.
2015-11-26 20:51:13 -06:00
Randall Barker
73d7c06ec0 Bug 1224015 - Part 1: nsLayoutUtils functions do not account for nsPresShell resolution r=tnikkel 2015-11-26 20:51:13 -06:00
Randall Barker
a1e8bb482c Bug 1228216 - Event::GetScreenCoords incorrectly converts the coords to a CSSPoint when the widget is null r=tnikkel 2015-11-26 20:04:16 -06:00
Nigel Babu
29e98fdbc3 Backed out changeset ebb6fb453cca (bug 1214170) for build bustage on a CLOSED TREE 2015-11-25 16:22:16 +05:30
David Anderson
859092e6a5 Add APZ support for mousewheel.acceleration prefs. (bug 1214170, r=kats) 2015-11-25 01:12:33 -08:00
Chris H-C
61f8d55777 Bug 1107782 - Only accept certain mouse, gamepad events as user-active. r=smaug
Based on a patch by gfritsche, this filters out mouse events not indicative of
user activity (like hit tests), and brings in gamepad events that might be
indicative of user activity.
2015-11-24 05:52:00 +01:00
Jesse Schwartzentruber
0bcc5caeef Bug 938341 - Crashtest. 2015-11-24 20:04:04 +01:00