Граф коммитов

579 Коммитов

Автор SHA1 Сообщение Дата
Coroiu Cristina 44d458632a Backed out 1 changesets (bug 1421380) on request from kats
Backed out changeset 48cdd9ef5878 (bug 1421380)
2018-01-25 21:31:34 +02:00
Kartikaya Gupta 4af14dc29f Bug 1421380 - Enable gfx.webrender.hit-test by default. r=jrmuizel
This causes some mochitests to fail.

MozReview-Commit-ID: J2AjM0qKVE5

--HG--
extra : rebase_source : 0a5d21208c003a73dc83cf4dccca7ee5085f5604
2018-01-25 10:32:35 -05:00
Kartikaya Gupta 79481cf75f Bug 1431728 - Make the APZ-specific guts of the code dependent on an APZ check. r=aryx
MozReview-Commit-ID: 50tYbmFGRcx

--HG--
extra : rebase_source : 4dc532245c9372ddb22c47c4c3ae5731c98387bd
2018-01-19 10:01:04 -05:00
Jessica Jong 4bee56a645 Bug 1428685 - Use dom.webcomponents.shadowdom.enabled pref for Shadow DOM. r=smaug
Most of the Shadow DOM related code are behind "dom.webcomponents.enabled" and
this pref is only used by Shadow DOM right now, so we should rename it to
"dom.webcomponents.shadowdom.enabled"

MozReview-Commit-ID: er1c7AsSSW
2018-01-16 17:16:30 +01:00
Stone Shih 76cbc214bf Bug 1414336 - Add a test case to make sure pointercancel isn't fired when content prevents default on touchstart. r=kats.
MozReview-Commit-ID: 93FSsD3bXvA
2018-01-13 07:33:21 +08:00
Jessica Jong 1133de96d2 Bug 1398981 - Turn off webcomponents pref by default when running tests. r=smaug 2018-01-05 16:17:38 +08:00
Stone Shih fc0584db41 Bug 1426527 - Revise test_remove_frame_when_got_pointer_capture.html to correctly run the test in release build. f=RyanVM. r=smaug. 2017-12-23 08:31:35 +08:00
Stone Shih a4f6e53467 Bug 1420589 Part9: Dispatch pointer events to the capturing target even it's frame is destroyed. r=smaug.
MozReview-Commit-ID: DxNx3ByTdCW
2017-11-30 16:10:03 +08:00
Stone Shih 58f49aba41 Bug 1420589 Part8: Test multiple touch points on different documents. r=smaug.
MozReview-Commit-ID: 49lKMFmuVq7
2017-11-30 11:39:38 +08:00
Olli Pettay 1d4729afe6 Bug 1412775 - Implement Event.composedPath, tests for chrome handling, r=stone
--HG--
extra : rebase_source : 1f13feb180f5d42e8bc4b3092b11a942d9dd37ab
2017-12-18 18:08:03 +02:00
Stone Shih 94bb433a0d Bug 1303957 Part2: Setup necessary attributes to calculate offsetX/offsetY and add a test with synthesized widget events. r=smaug.
MozReview-Commit-ID: Kc4f2MXueUP
2017-11-08 11:42:04 +08:00
Emilio Cobos Álvarez 85e91b82da Bug 1424633: Decide which frame to focus using the flattened tree. r=smaug
MozReview-Commit-ID: vPbPvu0vrf
2017-12-16 00:39:13 +01:00
Cosmin Sabou 6db073a174 Backed out changeset b83870070900 (bug 1424633) for multiple failures on dom/events/test/test_focus_abspos.html r=backout on a CLOSED TREE 2017-12-15 22:32:37 +02:00
Emilio Cobos Álvarez 925ba4616f Bug 1424633: Decide which frame to focus using the flattened tree. r=smaug
MozReview-Commit-ID: vPbPvu0vrf
2017-12-15 19:25:55 +01:00
Margareta Eliza Balazs bbf4a5f687 Backed out changeset 2ad057a99aae (bug 1424633) for failing 2 in dom/events/test/test_focus_abspos.html r=backout on a CLOSED TREE 2017-12-15 18:44:12 +02:00
Emilio Cobos Álvarez dd8604fed2 Bug 1424633: Decide which frame to focus using the flattened tree. r=smaug
MozReview-Commit-ID: vPbPvu0vrf

--HG--
extra : rebase_source : ecbbb7cda8f6d1d68be622d6d6db29fd378d27b5
2017-12-14 00:07:50 +01:00
Stone Shih 3c22abf394 Bug 1394228 - Intermittent test_touch_action.html test timed out. r=kats.
Wait for chrome process to handle all synthesize requests and then finish the test.

MozReview-Commit-ID: 2qiFEO6l7wN
2017-12-09 14:26:14 +08:00
Stone Shih ce606aec45 Bug 1421480 - Revise pointer events test cases to verify implicit pointer capture for touch. r=smaug.
MozReview-Commit-ID: 9PaI4EwRs7O
2017-11-13 16:30:33 +08:00
Stone Shih 39bc975ceb Bug 1421482 Part2: Replace test utility synthesizePointer with synthesizeMouse. r=smaug.
We should follow the real use cases to synthesize mouse or touch events to generate pointer events so that the related logic is covered by these test cases.

MozReview-Commit-ID: 9xSgjSL0Azt
2017-11-24 07:50:12 +08:00
Sebastian Hengst 9d920555ec Backed out 2 changesets (bug 1421482) for failing modified mochitest layout/base/tests/test_bug1078327.html. r=backout a=backout
Backed out changeset a8701e1bd012 (bug 1421482)
Backed out changeset d774f5fe6e94 (bug 1421482)
2017-12-12 19:03:49 +02:00
Stone Shih 841f50b537 Bug 1421482 Part2: Replace test utility synthesizePointer with synthesizeMouse. r=smaug.
We should follow the real use cases to synthesize mouse or touch events to generate pointer events so that the related logic is covered by these test cases.

MozReview-Commit-ID: 9xSgjSL0Azt
2017-11-24 07:50:12 +08:00
Matthew Noorenberghe e6e4165603 Bug 1415692 - Show the bookmark toolbar in new profiles with > 3 bookmarks on it. r=Gijs,mak
MozReview-Commit-ID: C3tmqIrt5ak

--HG--
extra : rebase_source : 936b8cab5de587e2dde708b94f8be597f9c83e6a
2017-12-04 15:24:02 -08:00
Sebastian Hengst 35e834df9a Backed out changeset 8312a6286023 (bug 1415692) for failing to parse dom/events/test/mochitest.ini on Android due pref usage. r=backout 2017-12-05 19:56:51 +02:00
Matthew Noorenberghe 02471f5cfa Bug 1415692 - Show the bookmark toolbar in new profiles with > 3 bookmarks on it. r=Gijs,mak
MozReview-Commit-ID: C3tmqIrt5ak

--HG--
extra : rebase_source : 20eeacd571e6f50ff076ae1a97924720bf7a55f3
2017-12-04 15:24:02 -08:00
Chung-Sheng Fu 5b56656364 Bug 1037335 - Fix test failures. r=ckerschb,smaug
Require review from DOM peer.

MozReview-Commit-ID: HWBKKxxPh0e

--HG--
extra : rebase_source : be42de075010e79835b519e04a01c6e3f3c6ef8b
2017-11-29 16:54:00 +02:00
Olli Pettay af3373dc1d Bug 1418002 - Remove HTMLContentElement, r=jessica 2017-11-30 10:57:15 +02:00
Johann Hofmann d28b4dd837 Bug 1374574 - Remove the FlyWeb service and DOM interfaces. r=bz,djvj
MozReview-Commit-ID: 4hp9pLbMh4R

--HG--
extra : rebase_source : 82f417640211ede4fd7aa290c1f2609b07f38025
2017-11-22 15:00:10 +01:00
Geoff Brown cbb956e0c3 Bug 1407679 - Merge nsIIOService and nsIIOService2; r=nwgh 2017-11-10 07:03:36 -07:00
Sebastian Hengst 1ead0a96a9 Backed out changeset dab1c5badddb (bug 1407679) for failing server startup in mochitests on Android. r=backout on a CLOSED TREE
--HG--
extra : amend_source : 3dc4cb2bbaf55f3f6329687ce64d4e862fc3800b
2017-10-24 21:18:26 +02:00
Valentin Gosu 9dd47ebf50 Bug 1407679 - Merge nsIIOService and nsIIOService2 r=nwgh
Removes deprecated nsIIOService2.newChannelFromURIWithProxyFlags

MozReview-Commit-ID: Gr3nA25kcre

--HG--
extra : rebase_source : 3407b5ed0f8f7067523abee28c137db3cac86b14
2017-10-20 16:41:07 +02:00
Stone Shih 4274c680a7 Bug 1347689 Intermittent pointerevent_touch-action-button-test_touch-manual.html. r=kats.
The test case uses double intervals to make sure there is enough time to wait for the scroll event before continuing the testing. However, it doesn't work while the first timeout is delayed and the second one isn't. Tweaked the test case to start the second timer when the first one timeout.

MozReview-Commit-ID: gvhtIpzauE
2017-10-19 17:31:33 +08:00
Masayuki Nakano 16fd3a84a4 Bug 143038 Make users can scroll contents horizontally with vertical wheel operation with a modifier r=smaug
This patch declares a new default action, "horizontal scroll", this scrolls
content horizontally with deltaY of wheel events and ignores deltaX and deltaZ.
This is used for default action with Shift key in default setting except on
macOS. On macOS, legacy mouse's vertical wheel operation with Shift key causes
native horizontal wheel event.  Therefore, we don't need to use this new
default action on macOS.  Additionally, old default action with Shift key,
navigating history, is moved to with Alt key.  This makes same settings between
macOS and the others.  So, this is better for users who use macOS and another
OS and web app developers who check wheel events only on macOS or other
platform(s).

For simpler implementation, default action handlers moves deltaY values to
deltaX values temporarily *only* while they handle wheel events.  This is
performed by AutoWheelDeltaAdjuster and restored after handling it
automatically.

So, in other words, even if default action is "horizontal scroll", web apps
receives wheel events whose deltaY is not zero but its content will be
scrolled horizontally.  This is same as Chromium, so, this behavior shouldn't
cause any incompatible behavior with it.

MozReview-Commit-ID: E4X3yZzLEAl

--HG--
extra : rebase_source : e20d854c6b0a181ad4c9e7304bd9ad14256481ff
2017-10-05 01:12:35 +09:00
Brendan Dahl 42bc28d260 Bug 1399956 - Disable some mochitests in headless. r=jrmuizel
These tests will need more work and are low priority.

MozReview-Commit-ID: H0J16E8FqNr
2017-10-16 16:15:45 -07:00
Stone Shih 163ae96bee Bug 1400143 - [Pointer Event] Update pointerevent's mLastRefPoint to get correct movementX/movementY values. r=smaug.
Add pointermove handling in UpdateLastRefPointOfMouseEvent to update mLastRefPoint of pointermove events.

MozReview-Commit-ID: DC7HyKsLE8y
2017-09-15 13:51:10 +08:00
Stone Shih 65989090f1 Bug 1405909 - disable test_pointerevent_pointerlock_supercedes_capture-manual.html. r=smaug.
MozReview-Commit-ID: Gus0UQSlJFE
2017-10-06 10:01:39 +08:00
Sebastian Hengst e7f32cc32f Backed out changeset c608c6fd9a9a (bug 1400143) for failing mochitest dom/events/test/pointerevents/pointerlock/test_pointerevent_pointerlock_supercedes_capture-manual.html on Windows 7 without e10s. r=backout 2017-10-08 11:53:23 +02:00
Stone Shih 0e0138ce5b Bug 1400143 - [Pointer Event] Update pointerevent's mLastRefPoint to get correct movementX/movementY values. r=smaug.
Add pointermove handling in UpdateLastRefPointOfMouseEvent to update mLastRefPoint of pointermove events.

MozReview-Commit-ID: DC7HyKsLE8y
2017-09-15 13:51:10 +08:00
Stone Shih dcc75d78ac Bug 1399740 - [Pointer Event] Handle the case that invokes setPointerCapture while the page has a locked element. r=smaug.
Spec says we should throw an exception when setting pointer capture while the page has a locked element. Also, we should release all pointer capture when a pointer lock is successfully applied on an element.

MozReview-Commit-ID: CuUIPipJWB0
2017-09-14 14:29:04 +08:00
Stone Shih 3e1919eba7 Bug 1403055 Part2: Add a test to make sure we fire pointerout and pointerleave before pointercancel. r=masayuki
MozReview-Commit-ID: H9ripAT5E2c
2017-10-03 10:18:41 +08:00
Ryan VanderMeulen 145892ce27 Bug 1400586 - Skip dom/events/test/test_bug607464.html on e10s runs across all platforms. 2017-09-25 09:02:21 -04:00
Stone Shih 580c8e42f6 Bug 1344108 Part3: Enable pointerevent_sequence_at_implicit_release_on_drag-manual.html. r=smaug.
MozReview-Commit-ID: AsMJc5Hpu3X
2017-02-09 17:01:03 +08:00
Florian Quèze bcf7d1dd27 Bug 1400528 - make test_bug574663.html wait until the 'blank' attribute has actually been removed, r=mconley. 2017-09-22 00:50:54 +02:00
Stone Shih 459eddec0a Bug 1292134: Disable pointerevent_touch-action-span-test_touch-manual because of intermittent failures. r=kats. 2017-09-15 10:38:11 +08:00
Florian Quèze 3e165cf69a Bug 1379587 - fix tests that rely on scrolling on a not-yet-painted browser, r=mconley. 2017-09-15 23:43:56 +02:00
Michael Layzell 5dff36164d Bug 1398883 - Disable the DataTransfer::Protected state for Firefox 57, r=baku
This isn't a super essential feature, and is just a change to try to bring us in
line with chromium and the spec. As this has apparent web compat issues, and
DataTransfer is a hard to test area, this patch moves the changes behind a pref,
which we can come back to turning on after we ship 57.
2017-09-13 11:45:48 -04:00
Wes Kocher 2a30786cad Merge inbound to central, a=merge
MozReview-Commit-ID: 4FEkd1x2GD
2017-09-08 13:36:31 -07:00
Michael Layzell f09d1b11ca Bug 1199729 - Part 5: Update tests for new DataTransfer behaviour, r=baku 2017-09-08 11:05:08 -04:00
Masayuki Nakano a69ee36518 Bug 1369072 - part0: Add automated test for testing key event handlers to scroll parent document when an iframe element has or had focus r=smaug
When an <iframe> element has focus and its sub document isn't scrollable, the
parent document should be scrolled instead.

MozReview-Commit-ID: 5LSVDHDQGtI

--HG--
extra : rebase_source : 0b22a426ef0e4ab662c941f6bc759679c1b92b19
2017-09-05 15:18:02 +09:00
Nicholas Nethercote 712013de72 Bug 1396693 - Make nsIEventListenerChange::changedListenerNames noscript. r=smaug.
This is required for deCOMtamination. The patch removes the only script use of
this attribute, which is a low-importance one in a test.

--HG--
extra : rebase_source : 65c29043fbd77e60b21398216593cc9788723dd5
2017-09-05 11:52:54 +10:00
Stone Shih 35110f00e9 Bug 1389086 Part2: Use once event listeners to avoid they are triggered after the test is done. r=smaug.
MozReview-Commit-ID: JrYXWs2yhSO
2017-08-31 16:55:39 +08:00