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
sajitk
5fb2c53074
Bug 1219478: Replace PRLogModuleInfo usage with LazyLogModule in dom folders except media.r=amerchesini
2015-11-23 11:09:25 -08:00
Jorg K
88642f71dc
Bug 938991 - text/rtf support for clipboard data. r=enndeakin
2015-11-23 11:04:26 -08:00
Andrew Herron
ffb1c5dd5b
Bug 586587 - support kHTMLMime in the Windows clipboard as CF_HTML. r=jimm
2015-07-22 16:56:57 +10:00
Jim Mathies
d44b0e2442
Bug 1222662 - In the content process, detect when the mouse exists a plugin frame and update the content cursor accordingly. r=enn
2015-11-20 11:00:12 -06:00
Mark Capella
e7b070ed41
Bug 1215959
- (GeckoCaret2) Upgrade Core and AccessibleCaret, r=smaug
2015-12-01 15:25:06 -05:00
Andrea Marchesini
5855a7439f
Bug 1226147 - WorkerPrivate->CreationTime() and CreationTimeStamp(), r=bz
2015-11-19 20:32:49 +00:00
Nathan Froyd
5aa6eb62b0
Bug 1225873 - micro-optimize creating event target chains; r=smaug
...
This code is only called in a few cases that aren't on the critical
path, but less code is less code: we eliminate the checks for whether we
have enough space in the copying loop, and maybe save some function
calls.
2015-11-18 09:48:45 -05:00
Botond Ballo
f7282ab158
Bug 1217515 - Clean up the way touch event support is configured. r=roc
...
- all.js now sets dom.w3c_touch_events.enabled to auto-detect on all
platforms except windows and mac
- auto-detect always returns true for android and b2g
- graphene and tests override the all.js pref with their own value
--HG--
extra : rebase_source : 85a88985f77dfb47301cab17d939a88f3043a7a1
extra : source : 95e992d129c32f5e5f39b67f6f946e5d1dcbf530
2015-10-26 16:06:27 -04:00
Boris Zbarsky
9ecf8df931
Bug 1225188. Implement window.onstorage. r=smaug
2015-11-17 18:09:53 -05:00
Gijs Kruitbosch
1fbe21a49c
Bug 1221947 - part 1: add BYTOUCH flag to nsIFocusManager, r=jaws,smaug
...
IGNORE IDL
--HG--
extra : commitid : B7HwLSDQHAd
extra : rebase_source : 8c32df3fe30cd2b8d502d6afe863290c2059ae35
extra : histedit_source : 5e0adbaf31cdea240e0a426c72e19145a581278f
2015-11-12 16:35:20 +00:00
Robert O'Callahan
7739604da7
Bug 1222092
. Don't let sFocusedIMEWidget keep an nsIWidget alive during shutdown. r=masayuki
...
--HG--
extra : commitid : GsPzx7tAfKb
extra : rebase_source : e202fd334b43956966daa1c7e9297d12c822dfd4
2015-11-13 17:05:54 +13:00
Wes Kocher
7167e1dc3d
Backed out changeset b6edabc35c21 (bug 1217515) for mulet reftest failures
...
--HG--
extra : commitid : LfjPOQOXmxO
extra : rebase_source : a8766e0ad91a52a3617de6e74f8a4914e6d17c39
2015-11-13 12:11:05 -08:00
Botond Ballo
94f0bf5241
Bug 1217515 - Clean up the way touch event support is configured. r=roc
...
- all.js now sets dom.w3c_touch_events.enabled to auto-detect on all
platforms except windows and mac
- auto-detect always returns true for android and b2g
- graphene and tests override the all.js pref with their own value
--HG--
extra : source : a9d8eb075f383d39d96d283825fe432417b3e01a
extra : intermediate-source : 9764f77b64e4a9c7914b539e61c412f838c09093
2015-10-26 16:06:27 -04:00
Kyle Huey
bdbb2ec50a
Bug 1224061: Make Event::InitEvent infallible. r=smaug
2015-11-13 08:09:42 +08:00
Gijs Kruitbosch
568411b554
Bug 1224233 - fix crashy usage of IMENotificationSender::Run using on-screen keyboard on Windows, r=smaug
...
--HG--
extra : commitid : wqqtHM8aKJ
extra : amend_source : 64228b7ff19bb07139a6f407a2be42a514368cf2
2015-11-12 15:56:01 +00:00
Botond Ballo
6a70e1aa18
Bug 1222661 - Replace FromUntyped(obj) calls with FromUnknown*(obj). r=nical
...
--HG--
extra : rebase_source : c1afe8560b838e1a3be0ce50847861b1815d3dc9
extra : source : d649f163c825736efaf3ac3ad73040beeb48a6ef
2015-11-09 18:22:25 -05:00
Botond Ballo
a592a77364
Bug 1222661 - Replace ToUntyped(obj) calls with obj.ToUnknown*(). r=nical
...
--HG--
extra : rebase_source : 1cab46638599d8c4e6183c42a6fa9d41702392cb
extra : source : cabc28a2200b9b4e5e137d331ee5b86b3c09f065
2015-11-06 22:13:40 -05:00
Carsten "Tomcat" Book
0610c350a3
merge mozilla-inbound to mozilla-central a=merge
2015-11-11 12:42:52 +01:00
Carsten "Tomcat" Book
84e6562266
Merge mozilla-central to b2g-i
2015-11-10 14:07:08 +01:00
Nicholas Nethercote
ad0dd8414a
Bug 1223310
(part 2) - Use LayoutDeviceIntRect for bounds-related functions in nsIWidget. r=kats.
...
The patch renames the existing functions (GetBounds(), GetClientBounds(), etc)
by adding an |Untyped| suffix. It then adds typed equivalents, and uses those
typed equivalents in all the call sites where it's easy to do so. The trickier
remaining call sites are converted to use the Untyped-suffix version.
--HG--
extra : rebase_source : 6bfb15bfc4698e2eba7d4db55497299d3dffcd51
2015-11-09 21:37:32 -08:00
Ben Tian
883404e323
Bug 1168298 - Support OBEX authentication procedure, r=shuang, r=mrbkap
2015-11-10 11:34:11 +08:00
Gregor Wagner
96837db759
Bug 1222478 - Enable more mulet tests. r=gerard-majax
2015-11-06 20:01:45 +01:00
Kartikaya Gupta
91c354b0d4
Bug 1141884 - Trigger compositor smooth scrolling to snap points when APZ is enabled. r=mstange,kip
...
--HG--
extra : commitid : 9TdFTY6HI0a
2015-11-03 14:21:40 -05:00
Kartikaya Gupta
2a13672d4b
Bug 1141884 - Handle wheel events on the main thread if the frame has snapping. r=dvander,mstange
...
--HG--
extra : commitid : Jw0Kdhy4ob6
2015-11-03 14:21:40 -05:00
Randall Barker
658205dc3e
Bug 1220925 - Event::GetScreenCoords should return CSSIntPoint instead of LayoutDevicePoint. r=botond
...
This patch converts Event::GetScreenCoords to return the same type as Event::GetClientCoords
and Event::GetPageCoords which is a CSSIntPoint. When the function was originally updated it
was switched to returning LayoutDevicePoint. Additionally the redundant functions
UIEvent::CalculateClientPoint and UIEvent::CalculateScreenPoint were removed.
--HG--
extra : commitid : 9BNUzLVMIZ6
2015-11-10 11:32:40 -05:00
dimi
a41b603e0d
Bug 1207068 - Implement ExtendableMessageEvent interface. r=baku
...
--HG--
extra : rebase_source : ddc40a1fddf3558d22f647a8a8b785de97a270cc
2015-11-10 14:31:41 +08:00
Nicholas Nethercote
ab7974e9a5
Bug 1222943 (part 1) - Change Touch::mRadius from nsIntPoint to LayoutDeviceIntPoint. r=kats.
...
This adds a three missing unit conversions for touch radii.
--HG--
extra : rebase_source : 353494783099ed0520cc69ae691a4cf5360c9b20
2015-11-09 21:37:31 -08:00
Masayuki Nakano
8973128bba
Bug 1218032 part.4 Notify IMEContentObserver of enough safe timing to notify IME of something r=smaug
2015-11-10 11:49:05 +09:00
Masayuki Nakano
0727f7951c
Bug 1218032 part.3 IMEContentObserver should notify IME of anything without script runner r=smaug
2015-11-10 11:49:05 +09:00
Masayuki Nakano
e16aa473be
Bug 1218032 part.2 Make sending focus notification to IME async-aware r=smaug
2015-11-10 11:49:04 +09:00
Birunthan Mohanathas
9985829ecc
Bug 1219392 - Capitalize mozilla::unused to avoid conflicts. r=froydnj
2015-11-02 07:53:26 +02:00
Ryan VanderMeulen
028dec7cc8
No bug - Various crashtest manifest cleanups.
...
--HG--
rename : dom/base/crashtests/713417.html => dom/base/crashtests/713417-1.html
rename : dom/workers/test/1158031.html => dom/workers/test/crashtests/1158031.html
rename : dom/workers/test/779707.html => dom/workers/test/crashtests/779707.html
rename : dom/workers/test/943516.html => dom/workers/test/crashtests/943516.html
rename : dom/workers/test/crashtests.list => dom/workers/test/crashtests/crashtests.list
rename : layout/generic/crashtests/812879.html => layout/generic/crashtests/812879-1.html
rename : layout/generic/crashtests/first-letter-638937.html => layout/generic/crashtests/first-letter-638937-1.html
extra : rebase_source : b9274dc6870030ed62bcee35350d566160502869
2015-10-31 19:35:27 -04:00
Phil Ringnalda
fef220b6d5
Bug 1219842 followup, redisable dom/events/test/test_bug967796.html on e10s since it fails a lot
2015-10-31 13:48:58 -07:00
Andrew McCreight
5981b92f78
Bug 1219842 - Enable a bunch of mochitest-plain tests under e10s. r=mrbkap
2015-10-31 06:26:44 -07:00
Kartikaya Gupta
914afa45da
Bug 1219898 - Remove unneccessary gPreventMouseEvents flag. r=smaug
...
--HG--
extra : commitid : AWJfSunbegp
2015-10-30 22:22:32 -04:00
Ben Kelly
e3bee41820
Bug 1215140 P9 Provide file and line number when FetchEvent.preventDefault() cancels a request. r=bz
...
* * *
Bug 1215140 P9 interdiff 001
2015-10-29 19:53:25 -07:00
Chris Peterson
a11badd07b
Bug 1219139
- Fix -Wimplicit-fallthrough warnings in dom/events and widget/IMEData.h. r=masayuki
...
widget/IMEData.h:428:7 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
dom/events/EventStateManager.cpp:601:7 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
dom/events/EventStateManager.cpp:654:3 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
dom/events/EventStateManager.cpp:714:3 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
dom/events/EventStateManager.cpp:1239:3 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
dom/events/EventStateManager.cpp:3045:3 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
dom/events/EventStateManager.cpp:4173:3 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
2015-10-26 20:46:27 -07:00
Kyle Huey
c7d3c4e21a
Bug 1216401: Eviscerate nsIDOMWindow, move still needed methods to nsPIDOMWindow. r=bz
2015-10-26 14:37:32 -07:00
Masayuki Nakano
35aa5312ba
Bug 1184890 part.1 SelectionChangeDataBase and TextChangeDataBase should have a flag which indicates whether the change occurred during composition or not r=smaug
2015-10-27 07:21:37 +09:00
Carsten "Tomcat" Book
758c43af6b
merge mozilla-inbound to mozilla-central a=merge
2015-10-26 10:57:35 +01:00
Victor Porof
9dc0ce6b1a
Bug 1202657 - Add markers for workers' message passing and serialization/deserialization, r=smaug, jsantell, tromey, ejpbruel
...
--HG--
rename : docshell/base/timeline/OTMTMarkerReceiver.h => docshell/base/timeline/MarkersStorage.h
2015-10-21 23:10:05 +02:00
William Chen
16cbe794df
Bug 920734 - Part 1: Implement window.orientation and window.onorientationchange. r=baku
...
--HG--
extra : rebase_source : 1ca2e3a29733762d4bb2c335a0d6fcf5d7b03c0f
2015-10-23 21:37:28 -07:00
Bobby Holley
20815639b2
Bug 1217614 - Remove nsIDOMDataTransfer::mozGetDataAt and refactor associated code. r=bz
...
This one was kinda gross.
2015-10-23 18:10:31 -07:00
Bobby Holley
7c5cdb279d
Bug 1217614 - Remove XPIDL mozSetDataAt and refactor associated code. r=bz
2015-10-23 18:10:30 -07:00
Tooru Fujisawa
24ab66bc98
Bug 1217093
- Remove for-each from dom/. r=smaug
...
--HG--
extra : commitid : DcjxshJqlKg
extra : rebase_source : 23bc9a985f1e6d13e13837e31bb9b88b9be24d55
2015-10-19 02:00:50 +09:00
Makoto Kato
26c8790fb2
Bug 978679. Implement touch events for GTK3. r=karlt
...
--HG--
extra : commitid : 7Sm7XcTb8Do
extra : rebase_source : c10ad90f03b90eb34349edc80be110b90cc2a663
2015-04-30 08:29:34 +12:00
Andrea Marchesini
d17f1f2352
Bug 1216166 - Unify CustomEvent.cpp with the rest of the unified sources, r=smaug
2015-10-20 10:49:43 +05:30
Carsten "Tomcat" Book
81454198ef
Backed out changeset 2f909d41108b (bug 978679) for bustage on a CLOSED TREE
2015-10-19 13:22:55 +02:00
Makato Kato
5a68a1b8d5
Bug 978679 - Implement touch events for GTK3. r=karlt
...
--HG--
extra : commitid : 2tbZZf41zmN
extra : rebase_source : d861252c9bf78b6ffd68dd2c7f14fbf4ef5afdf1
2015-10-19 23:04:52 +13:00
Phil Ringnalda
98800b5233
Merge m-c to b-i
...
CLOSED TREE
2015-10-17 20:00:32 -07:00
Nathan Froyd
01583602a9
Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
...
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout. The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.
CLOSED TREE makes big refactorings like this a piece of cake.
# The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
xargs perl -p -i -e '
s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
s/nsRefPtr ?</RefPtr</g; # handle declarations and variables
'
# Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h
# Handle nsRefPtr.h itself, a couple places that define constructors
# from nsRefPtr, and code generators specially. We do this here, rather
# than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
# things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
mfbt/nsRefPtr.h \
xpcom/glue/nsCOMPtr.h \
xpcom/base/OwningNonNull.h \
ipc/ipdl/ipdl/lower.py \
ipc/ipdl/ipdl/builtin.py \
dom/bindings/Codegen.py \
python/lldbutils/lldbutils/utils.py
# In our indiscriminate substitution above, we renamed
# nsRefPtrGetterAddRefs, the class behind getter_AddRefs. Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'
if [ -d .git ]; then
git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi
--HG--
rename : mfbt/nsRefPtr.h => mfbt/RefPtr.h
2015-10-18 01:24:48 -04:00
Masayuki Nakano
07adf60de2
Bug 1215434 part.1 If scroll target is a plugin frame, EventStateManager::PostHandleEvent() should send the wheel event to the plugin frame even if APZC already handled it r=smaug
2015-10-17 15:50:09 +09:00
Wes Kocher
cd1f054e01
Merge m-c to b2ginbound, a=merge
2015-10-16 12:33:40 -07:00
Hansu Kim
634317f368
Bug 1112712 - DOM key mapping for soft1 soft2 and call keys r=schien
...
--HG--
extra : amend_source : 12897e7dc7681ea285088153a258983e6b90e5a1
2015-10-16 11:04:11 -07:00
Masayuki Nakano
eed20651ef
Bug 376679 part.4 Manage wheel transaction at sending a wheel event to target plugin r=smaug
2015-10-16 13:19:27 +09:00
Masayuki Nakano
e868838ac4
Bug 376679 part.3 Compute default action target frame for wheel event before deciding the action because plugin should decide what is the default action when the target is a plugin frame r=smaug
2015-10-16 13:19:27 +09:00
Masayuki Nakano
5f2c3f035e
Bug 376679 part.2 EventStateManager should treat plugin frame as scrollable frame if the plugin wants to handle wheel events as default action r=smaug
2015-10-16 13:19:27 +09:00
Masayuki Nakano
1376b5162b
Bug 376679 part.1 Change the result of EventStateManager::ComputeScrollTarget() from nsIScrollableFrame* to nsIFrame* r=smaug
2015-10-16 13:19:27 +09:00
Masayuki Nakano
27b1c48ce9
Bug 1211352 part.1 IMEContentObserver should be created when a plugin has focus r=smaug
2015-10-10 10:21:01 +09:00
Wes Kocher
95cce1f2c9
Merge m-c to inbound, a=merge
2015-10-09 16:45:31 -07:00
Carsten "Tomcat" Book
4457b52a0c
Merge m-c to b2g-i
2015-10-09 14:41:04 +02:00
Shawn Huang
8cb7ad155e
Bug 1184017 - [MAP] Dispatch events to MAP event handlers, r=btian, sr=mrbkap
2015-10-09 18:23:20 +08:00
Wes Kocher
d3d1b52901
Backed out changeset 7ce1d1bada46 (bug 949376) for wpt orange
2015-10-07 14:58:19 -07:00
Andrea Marchesini
50ac42f57a
Bug 949376 - MessageEvent::initMessageEvent, r=smaug
2015-10-07 20:35:11 +01:00
Andrew McCreight
73faab2f06
Bug 1210591, part 2 - Cycle collect DataTransfer::mItems. r=smaug
2015-10-09 10:24:23 -07:00
Andrew McCreight
ae5fe6a2ad
Bug 1210591, part 1 - Use nsVariantCC in various places. r=smaug
...
Most of these will end up in DataTransfer:mItems, so this is needed
for it to do anything useful.
2015-10-09 10:24:23 -07:00
Andrew McCreight
0ff7248107
Bug 1210517 - Create nsVariant directly rather than via do_CreateInstance(). r=froydnj
...
The goal here is to leave creation stuff mostly for JS, so we can
convert it entirely over to a non-threadsafe cycle-collected version
without breaking any existing C++ users.
I didn't do this for a remaining use in nsGlobalWindow.h to avoid
including nsVariant.h all over the place.
2015-10-07 08:17:42 -07:00
Andrea Marchesini
23f73206e7
Bug 949376 - MessageEvent::initMessageEvent, r=smaug
2015-10-08 17:44:58 +01:00
Kartikaya Gupta
0e058bf097
Bug 1209942 - Flush APZ repaints before waiting for paints. r=dvander
...
--HG--
extra : commitid : ANYadL4Yb6u
2015-10-05 16:18:24 -04:00
Masayuki Nakano
f961371a5e
Bug 1109410 Resolve CSS transform in ContentEventHandler::ConvertToRootViewRelativeOffset() r=roc
2015-10-05 14:46:39 +09:00
Tooru Fujisawa
13600a1cb5
Bug 1207494 - Part 6: Remove use of expression closure from dom/events/. r=smaug
...
--HG--
extra : commitid : 2r0Z7NsGta0
extra : rebase_source : 8e4dfef1bc71d796e937218d9bd4e08cd72cca39
2015-09-23 18:39:14 +09:00