Kyle Huey
48a594a09e
Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj
2016-04-28 14:08:25 -07:00
Neil Deakin
1cb35f2cd1
Bug 1267259 - Add extra drag promise types to whitelist. r=smaug
...
--HG--
extra : rebase_source : 1ceaa05bfeb1afbeba86307453802cada4f8be57
2016-04-26 02:21:00 +02:00
Aaron Raimist
ae1acee3f0
Bug 1188539 - Remove the deprecated TouchList::identifiedTouch method; r=jst
...
MozReview-Commit-ID: Gvsky55K19X
--HG--
extra : rebase_source : 24e3fcd07d95f5dd5c9e4963c2d4f7f25f0b5aa4
extra : amend_source : d827583c99917113662368d51e1204c07987099e
2015-08-12 20:57:58 -05:00
Andrea Marchesini
55614d4c60
Bug 1266194 - Implement boolean or EventListenerOptions as 3rd param to addEventListener, r=smaug
2016-04-26 16:23:17 +08:00
Kyle Huey
c73656947b
Bug 1265927: Move nsRunnable to mozilla::Runnable, CancelableRunnable to mozilla::CancelableRunnable. r=froydnj
2016-04-25 17:23:21 -07:00
Takahiro Aoyagi
4f6a58fd72
Bug 1259669 Rename WidgetCommandEvent::command to WidgetCommandEvent::mCommand r=masayuki
...
--HG--
extra : rebase_source : 7755c962f01deb2583aa3581de82289c28124f7c
2016-04-25 16:04:09 +09:00
Masayuki Nakano
eb041d2df7
Bug 1257759 part.7 Add new internal events which represent key events on plugin r=smaug
...
If a plugin process posts native key events to the widget, it needs to check if the key combination is reserved by chrome because if it's reserved by chrome, the reserved shortcut key handler should be executed and the event shouldn't be handled by the focused plugin.
This patches add eKeyDownOnPlugin and eKeyUpOnPlugin. nsXBLWindowKeyHandler will listen to them and handle them as normal keydown and keypress or keyup event. Note that these events won't be fired on content in the default event group and won't be sent to the remote process.
MozReview-Commit-ID: H5OKPLtVdr6
--HG--
extra : rebase_source : c6852423e47c40e9953b72061262730f7cce35d7
2016-04-23 01:22:49 +09:00
Masayuki Nakano
d3b2d91e89
Bug 1252058 IMEContentObserver::IMENotificationSender shouldn't post notifications when IMEContentObserver which is the owner of it stopped observing contents r=smaug
...
When IMEContentObserver stopped observing contents, posting pending notifications to current thread may cause infinite loop because it's impossible to send notifications to widget until the IMEContentObserver is reinitialized.
When IMEContentObserver is reinitialized, pending notifications are automatically flushed. So, in such case, IMEContentObserver::IMEnotificationSender shouldn't clear the pending notifications but don't post the notifications to current thread immediately.
MozReview-Commit-ID: 5xXT3VB4Jjb
--HG--
extra : rebase_source : 5529f1921cffe14b32779199e6919f1252051dcb
2016-04-19 18:57:13 +09:00
Andrea Marchesini
46e984fe5d
Bug 1266702 - Clean up formatting in dom/events/DataTransfer.* and mark some methods const, r=jwatt
2016-04-22 15:53:20 +02:00
Andrea Marchesini
392b98b4bc
Bug 1266701 - some header missing in dom/events, r=jwatt
2016-04-22 15:37:28 +02:00
Mantaroh Yoshinaga
6e9350947b
Bug 1266650 - Revert the test_legacy_event.html tests to previous version. r=birtles
...
In bug 1260064
, I injected the investigation code about this bug incorrectly.
https://hg.mozilla.org/mozilla-central/rev/1b9787fb3e8b
MozReview-Commit-ID: KOaRjjmYLA4
--HG--
extra : rebase_source : a7005d3f076c0c91747da04cba48e7b4b0363c6e
2016-04-22 15:56:17 +09:00
Neil Deakin
a030ec3ce6
Bug 860857, support custom datatransfer types using a special type, r=smaug,jmathies,mstange
2016-04-21 14:11:14 -04:00
Neil Deakin
d614e66d46
Bug 1226977, non-string types are only needed for chrome contexts, r=smaug
2016-04-21 14:11:13 -04:00
Boris Zbarsky
4091ff6549
Bug 1265072 part 3. Get rid of the use of GetDocumentFromScriptContext in DOMEventTargetHelper. r=smaug
2016-04-20 18:04:36 -04:00
Boris Zbarsky
00db6e6eed
Bug 1265072 part 1. Add GetWindowIfCurrent and GetDocumentIfCurrent helpers to DOMEventTargetHelper. r=smaug
2016-04-20 18:04:29 -04:00
Lebedev Maksim
7bc8350b3d
Bug 1000870 - Change official tests for pointer events to auto mochitest system. r=smaug
2016-02-25 03:51:00 +01:00
Maksim Lebedev
59ce3c3dd5
Bug 1000870 - Add original official tests from W3C at 2015.03.01. r=smaug
2015-03-31 07:02:00 +02:00
Mantaroh Yoshinaga
690b92aa89
Bug 1260084 - Part1.Use promise_test instead of async_test. r=birtles
...
MozReview-Commit-ID: 9yrccghlUVb
--HG--
extra : transplant_source : %F4%92%D8Z%13%0D%27B%A8%0C%D1%A7%81%8A%E7%CF%C7%99u%BE
2016-04-20 08:21:17 +09:00
Masayuki Nakano
9170348baf
Bug 1259656 part.7 Rename WidgetEvent::originalTarget to WidgetEvent::mOriginalTarget r=smaug
...
MozReview-Commit-ID: G1WVCWkS0Lt
--HG--
extra : rebase_source : e4790266f4efa33269c073bca1d98f9e8e6c90d7
2016-04-19 01:33:23 +09:00
Masayuki Nakano
8caf2f2633
Bug 1259656 part.6 Rename WidgetEvent::currentTarget to WidgetEvent::mCurrentTarget r=smaug
...
MozReview-Commit-ID: 9UcpPbgEbB0
--HG--
extra : rebase_source : f044e89581d0591a87e4c459978cc4ca727d3303
2016-04-19 01:15:16 +09:00
Masayuki Nakano
da3898bcb7
Bug 1259656 part.5 Rename WidgetEvent::target to WidgetEvent::mTarget r=smaug
...
MozReview-Commit-ID: L0GnVR6NcAe
--HG--
extra : rebase_source : a8784d4599dad317f8335477afac9a7d4b92918f
2016-04-19 00:46:00 +09:00
Masayuki Nakano
685463c488
Bug 1259656 part.4 Rename WidgetEvent::typeString to WidgetEvent::mSpecifiedEventTypeString r=smaug
...
MozReview-Commit-ID: CzduIuu8mig
--HG--
extra : rebase_source : 82217020ba58bf971a7d755d9c1a45f4de197a92
2016-04-19 00:10:17 +09:00
Masayuki Nakano
e88a0f30fa
Bug 1259656 part.3 Rename WidgetEvent::userType to WidgetEvent::mSpecifiedEventType r=smaug
...
MozReview-Commit-ID: 5ef5lEQ1fZJ
--HG--
extra : rebase_source : 0d0f8b7e29db15b41ff6ac68db24b3e7d3df6afc
2016-04-18 23:53:03 +09:00
Masayuki Nakano
7d1b358c67
Bug 1259656 part.2 Rename WidgetEvent::lastRefPoint to WidgetEvent::mLastRefPoint r=smaug
...
MozReview-Commit-ID: D5jK0bMzMx6
--HG--
extra : rebase_source : 0cb6af75c3925e9c28b9d36abf018bdaa4ed0a69
2016-04-18 23:28:22 +09:00
Masayuki Nakano
cbe8f5268a
Bug 1259656 part.1 Rename WidgetEvent::refPoint to WidgetEvent::mRefPoint r=smaug
...
MozReview-Commit-ID: ESWM5ZyBpSR
--HG--
extra : rebase_source : c5e1e3f60bcdde2a7f6c399e72430b29a3e552cd
2016-04-18 23:09:02 +09:00
Masayuki Nakano
07b6f24132
Bug 1259657 Rename WidgetGUIEvent::widget to WidgetGUIEvent::mWidget r=smaug
...
MozReview-Commit-ID: 167PQWJDEHW
--HG--
extra : rebase_source : 6cd44095b9f33e03190972f043087786cbd772f2
2016-04-14 17:03:14 +09:00
Nathan Froyd
dc00d2ec98
Bug 1264784 - part 1 - call nsIFrame::{GetScreenRect,GetView} instead of their *External counterparts; r=dholbert
...
The latter functions just call through to the former functions, and
we're going to remove the latter functions in a separate, subsequent
patch.
2016-04-15 19:37:35 -04:00
Mike Conley
1cff2809c8
Bug 1264409 - Make last transaction ID available via nsIDOMWindowUtils, and pass transaction ID through MozAfterPaint. r=mattwoodrow,mrbkap
...
MozReview-Commit-ID: 7wCYif8F6ws
--HG--
extra : rebase_source : 5a87a558dbb7955c04842b6f8b71adb15ecd3370
2016-04-13 16:59:15 -04:00
Kyle Huey
2709afd167
Bug 1263311: Part 3 - s/nsCancelableRunnable/CancelableRunnable/g. r=froydnj
2016-04-11 11:40:06 -07:00
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