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

579 Коммитов

Автор SHA1 Сообщение Дата
Masayuki Nakano 7fff9e9d7f Bug 1352949 Remove dom.keyboardevent.code.enabled r=smaug
KeyboardEvent.code has already been enabled and it's already available with Chrome too. So, we won't disable it.

MozReview-Commit-ID: LLlAoMebtsU
2017-04-03 18:04:27 +09:00
Sebastian Hengst 95d52e6546 Backed out changeset e4ecf720b3a1 (bug 713680) for crashing in dom/tests/mochitest/chrome/test_xray_event_constructor.xul on Windows 7 debug. r=backout 2017-03-29 21:51:05 +02:00
Chris Peterson 9a7117b6ae Bug 713680 - Change default Windows monospace font from Courier New to Consolas. r=jfkthame r=masayuki
MozReview-Commit-ID: 6WPOOCcF43M

--HG--
extra : rebase_source : 83a416e89a479c25281128630935b0ec19dd915f
extra : histedit_source : cea4b90eb46eeac04fd2de120d1044576405aa2f%2C0dc86ac28399a3af673ebd40d11a75c57ef04f4b
2017-03-08 00:20:41 -08:00
Mats Palmgren 00b74113a3 Bug 1333482 part 4 - [css-ui] Amend all uses of '-moz-appearance:none' in tests to also specify 'appearance:none' (automated change). r=dholbert
MozReview-Commit-ID: BNOR5VRpV2E
2017-03-23 22:11:22 -07:00
Olli Pettay 92bb395acd Bug 1339758, click() and similar can return 0 from various coordinate properties, r=masayuki
--HG--
extra : rebase_source : 71547cc6655c39ffeba89676d315bdb9bacc5ff4
2017-03-23 12:57:44 +02:00
Stone Shih b4e127c044 Bug 1346166 - Test full screen api by pointer events. r=smaug
MozReview-Commit-ID: BBg7olhtMA
2017-03-15 13:11:36 +08:00
Carsten "Tomcat" Book 6f1ef358c8 Backed out changeset 801cde6d6c3c (bug 1296492) for test failures in pointerevent_multiple_primary_pointers_boundary_events-manual.html 2017-03-20 16:51:17 +01:00
Carsten "Tomcat" Book 7ad583bf13 Backed out changeset b5a2225f267d (bug 1296492) 2017-03-20 16:50:48 +01:00
Stone Shih 44253bfcb0 Bug 1296492 Part2: Synthesize native touch events to trigger pointerevent_multiple_primary_pointers_boundary_events-manual.html. r=smaug
MozReview-Commit-ID: JZSzh7pHd8T
2017-01-23 18:58:59 +08:00
Stone Shih 9e03cc7af8 Bug 1296492 Part1: Refine PE mochitest helpers to ignore the checks of synthesized pointer id. r=smaug
MozReview-Commit-ID: 5blUsJMnDfg
2017-03-03 16:52:56 +08:00
Stone Shih a207c2fcb5 Bug 1346605 - Add pointer events to popup blocking handling. r=smaug 2017-03-12 20:31:44 +08:00
Stone Shih 69318bffba Bug 1328210 - Wrap pointerevent_boundary_events_in_capturing-manual.html in mochitest form. r=smaug 2017-02-09 17:20:28 +08:00
Stone Shih 5aa31ac64d Bug 1323158 - Part 6: Check target and relatedTarget of mouse events are the same as their corresponding pointer events. r=smaug
--HG--
extra : rebase_source : 0b434396583e9231213f9fbc215f0594739c752a
extra : histedit_source : 780ad0b23238873b185227c17b1dd172e09bab0f
2017-03-08 13:14:29 +08:00
Stone Shih 7a1fe394b3 Bug 1323158 - Part 5: Update test_pointerevent_releasepointercapture_events_to_original_target-manual.html. r=smaug
--HG--
extra : rebase_source : a0bcfebeec733bd19de430169ee85311c3ceaa64
extra : histedit_source : de28bd8878ad23bad064e884e96a74f2855045a8
2017-03-03 13:24:20 +08:00
Stone Shih e82b7fd9f9 Bug 1323158 - Part 4: Refine PE boundary events related testcases since boundary events are fired after capturing or releasing the pointer. r=smaug
--HG--
extra : rebase_source : acc2d7fb4df3168a5b81cc505d78f5f3b212af92
extra : histedit_source : 5acaa0c7361bb3694d05a33e104e9c861e213bc2
2017-01-19 11:11:50 +08:00
Stone Shih eb9ee92c2d Bug 1323158 - Part 1: Fire pointer and mouse boundary events when capturing the pointer. r=smaug
--HG--
extra : rebase_source : 2895681bb5d0e4872dc37f9d67dc4e2928bdce33
extra : histedit_source : e08adaaf7299e9667eb1f3887ef518c5edf5dc59
2017-01-18 15:25:44 +08:00
Stone Shih 4b172a2881 Bug 1337963 - Coalesce wheel events in the content process so that long wheel event handlers don't hang the content process. r=smaug 2017-02-21 17:56:46 +08:00
Stone Shih 229b4ba331 Bug 606885 - Fire drag events with keyboard modifiers. r=enn
--HG--
extra : rebase_source : c6e4ac37ea2397d86368cb59b0a68aa3a9f43d79
2017-02-17 11:29:42 +08:00
Boris Zbarsky b95ec5c51f Bug 1345996 followup. Update some tests for the new event behavior.
MozReview-Commit-ID: 1OAR6YcoiF3
2017-03-11 02:33:58 -05:00
Ben Kelly 86443f020e Bug 1311324 P3 Remove ServiceWorkerMessageEvent interface. r=bz 2017-03-09 20:50:13 -05:00
Andrea Marchesini 78b899978b Bug 1299500 - Get rid of DeviceStorage API - part 2 - DeviceStorageChangeEvent, r=ehsan 2017-03-08 20:15:44 +01:00
Andrea Marchesini bf74899736 Bug 1299500 - Get rid of DeviceStorage API - part 1 - DeviceStorageAreaChangedEvent, r=ehsan 2017-03-08 20:15:44 +01:00
Olli Pettay 626c1780d1 Bug 1345301 - elt.firstChild.remove() doesn't trigger a DOMSubtreeModified event, r=ms2ger
--HG--
extra : rebase_source : 884289e9471d7886661843cb45fe32e9a3514a18
2017-03-08 20:05:34 +02:00
Michael Layzell a3d57f1d3f Bug 1342057 - Part 1: Use correct MIME type for files as DataTransferItem.type, r=baku
MozReview-Commit-ID: 4hrZ3YoGTJj
2017-03-07 18:18:42 -05:00
Wes Kocher 4424ad9cd7 Backed out 2 changesets (bug 1342057) for android failures in test_clipboard_events.html a=backout
Backed out changeset 5a1e069911fa (bug 1342057)
Backed out changeset 6758f6e0b836 (bug 1342057)

MozReview-Commit-ID: 6MHaDaORlqx
2017-03-07 11:44:03 -08:00
Michael Layzell b985d62013 Bug 1342057 - Part 1: Use correct MIME type for files as DataTransferItem.type, r=baku
MozReview-Commit-ID: 4hrZ3YoGTJj
2017-03-07 12:45:58 -05:00
Iris Hsiao b0564b3436 Backed out changeset da035ac87fe4 (bug 713680) for reftest failures 2017-03-07 14:55:21 +08:00
Chris Peterson 1fbca779ac Bug 713680 - Change default Windows monospace font from Courier New to Consolas. r=jfkthame r=masayuki
Consolas is narrower than Courier New, so we must adjust some tests to accommodate.

* Change some tests from generic 'monospace' to 'Courier New' to continue using previous font metrics.

* selectAtPoint.html no longer needs one of its Windows-only code paths because Firefox on Windows now selects the same text as it does on Mac and Linux.

* 323386-1.html's intermittent assertion failure (bug 718883) now appears to be 100% reliable on Windows, joining Linux and Android.

* size-1-ref.html reftest needs a little fuzz because the horizontal line of the test image's '4' character is ~1 pixel shorter than the reference image's.

MozReview-Commit-ID: EB5wzhG178U

--HG--
extra : rebase_source : e7aca6d16c255e45bef5dca93fff6c09bce787c4
2017-02-22 22:08:19 -08:00
Masatoshi Kimura 7be7b11a1c Bug 1342144 - Remove version parameter from the type attribute of script elements. r=jmaher
This patch is generated by the following sed script:
find . ! -wholename '*/.hg*' -type f \( -iname '*.html' -o -iname '*.xhtml' -o -iname '*.xul' -o -iname '*.js' \) -exec sed -i -e 's/\(\(text\|application\)\/javascript\);version=1.[0-9]/\1/g' {} \;

MozReview-Commit-ID: AzhtdwJwVNg

--HG--
extra : rebase_source : e8f90249454c0779d926f87777f457352961748d
2017-02-23 06:10:07 +09:00
Makoto Kato a4109eb8fa Bug 1327798 - Part 2. Add test. r=enndeakin
MozReview-Commit-ID: 2B2mVNgcBEz

--HG--
extra : rebase_source : 994d68282b51289b61dd1cc1ea39711cb21acb00
2017-02-01 14:05:17 +09:00
Stone Shih c77b60e0a7 Bug 1339359 - [Pointer Event] Trigger PointerEvent test cases after focus. r=smaug
MozReview-Commit-ID: J7AtGvSF1aP

--HG--
extra : rebase_source : a0ee506e69a6250c3b961d387ef49ede006606d6
2017-02-15 17:54:05 +08:00
Stone Shih 7d5071dd4b Bug 1338057 - [Pointer Event] Sync wpt test cases to mochitest test cases. r=smaug 2017-02-09 13:44:41 +08:00
Xidorn Quan 70377f6cf6 Bug 1332699 - Don't check handler of legacy version if the event is not trusted. r=smaug
MozReview-Commit-ID: A7G4bkyNsOe

--HG--
extra : rebase_source : b5831d05588fa5ca98430d606591ea05e42fd672
2017-01-23 16:08:41 +11:00
Stone Shih c1cc98fed4 Bug 1304308: Investigate failure of test_pointerevent_setpointercapture_inactive_button_mouse-manual.html. r=masayuki
This test case should be triggered by pointerover and pointerout. Add new test API to fire mouse event at the specified position and refine the synthesized events fired to the test case to trigger it correctly.

MozReview-Commit-ID: DkLYrD6MwYc

--HG--
extra : rebase_source : f0ae002edcb6f39d301e83fea9bf1e74dc21c62a
2017-01-24 13:03:21 +08:00
Kearwood (Kip) Gilbert 736ad72326 Bug 1293333 - Part 3: Add VRDisplayEvent to test_all_synthetic_events.html r=Ehsan
MozReview-Commit-ID: 6t5xHUZ96G8

--HG--
extra : rebase_source : b94a891f1f20890f2cd8107a9539383a6b6f076f
2016-11-29 15:34:00 -08:00
Florian Quèze bdc1ffa608 Bug 1334831 - script-generated patch to use .remove() instead of .parentNode.removeChild, r=jaws. 2017-01-30 08:10:22 +01:00
Florian Quèze b11907c7aa Bug 1334156 - script-generated patch to replace .ownerDocument.defaultView with .ownerGlobal, r=jaws. 2017-01-27 10:51:03 +01:00
Florian Quèze be4dbae285 Bug 1334199 - script-generated patch to omit getComputedStyle's second argument when it's falsy, r=jaws. 2017-01-27 10:51:02 +01:00
Florian Quèze f187782ccf Bug 1334250 - script-generated patch to avoid removeEventListener calls when a variable is used for the event name, r=jaws. 2017-01-27 10:48:00 +01:00
Stone Shih c46ac6128d Bug 1332527 - [Pointer Event] Remove redundent codes in PointerEvent test cases. r=masayuki
MozReview-Commit-ID: EiV7PvyFBTU

--HG--
extra : rebase_source : 76788d0ba26411b759f1d51f9560ad0257d9e814
2017-01-20 09:58:15 +08:00
Florian Quèze 1907780e48 Bug 1331599 - tests fixed by hand after making addEventListener use the once option when possible, r=jaws. 2017-01-25 07:03:42 +01:00
Florian Quèze 0e0865f4fc Bug 1331599 - script-generated patch to replace removeEventListener calls with the once option when possible, r=jaws. 2017-01-25 07:01:52 +01:00
Michelangelo De Simone 7baf165ae7 Bug 1313155 - Remove dom/settings and related code. r=Ehsan
MozReview-Commit-ID: Gi7frPFQ6yW

--HG--
extra : rebase_source : 69bb31fe3bc96ca460f0e35abb0b0f82d03defb6
2016-12-29 11:26:49 -08:00
Florian Quèze 85611a7b6d Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws.
--HG--
extra : rebase_source : a22344ee1569f58f1f0a01017bfe0d46a6a14602
2017-01-17 11:50:25 +01:00
Wes Kocher ca99354e00 Backed out changeset 5566e83980ed (bug 1313155) for mass build bustage a=backout CLOSED TREE
MozReview-Commit-ID: Co3f2Vkbf4y
2017-01-12 14:16:52 -08:00
Michelangelo De Simone 0b3a927918 Bug 1313155 - Remove dom/settings and related code. r=Ehsan
MozReview-Commit-ID: Gi7frPFQ6yW

--HG--
extra : rebase_source : 401a8a202b1d8ebfd719d460bff96c9280062ded
2016-12-29 11:26:49 -08:00
Andrea Marchesini 2abf88ce1f Bug 1329744 - AudioBuffer ctor updated, r=padenot 2017-01-10 21:30:28 +00:00
Ho-Pang 298ce9f9e5 Bug 1299209 - Part 4: Test event.pointerId in PE Framework. f=sshih, r=smaug
--HG--
extra : rebase_source : 8f14324e17c0811d4788b40a670337de330bde10
2016-12-27 03:21:00 -05:00
Neil Deakin d88256a9f9 Bug 1309596, add an updateDragImage method to modify the drag feedback image during the drag, r=smaug 2016-12-23 18:09:44 -05:00
Stone Shih 7448d04902 Bug 1323960 Part3: disable failed test case and remove nit. r=smaug.
MozReview-Commit-ID: KVam1N1Xik5
2016-12-20 10:09:33 +08:00
Stone Shih d0c20dd3b5 Bug 1323960 Part2: sync test cases from testing/web-platform/tests/pointerevents. r=smaug
MozReview-Commit-ID: 6KIRgC5oQ2Q
2016-12-17 12:54:47 +08:00
Stone Shih 838a09cbf3 Bug 1323960 Part1: dynamically inject mochitest helper js to test cases. r=smaug.
MozReview-Commit-ID: 90q9RPwkWfw
2016-12-20 10:00:44 +08:00
Stone Shih 2253df5001 Bug 1323916 - [Pointer Event] Fix errors in pointer event test cases. r=smaug
MozReview-Commit-ID: KEayE2B7aKX
2016-12-13 14:05:10 +08:00
Mantaroh Yoshinaga 90c5d3d372 Bug 1202333 part 1 - Remove excessive animationiteration event. r=birtles
The Firefox fired excessive animationiteration event.
But We fixed specification in order to prevent firing the animationiteration when animation is start.

For detail, See https://github.com/w3c/csswg-drafts/issues/68

MozReview-Commit-ID: 391DRxSpq86

--HG--
extra : rebase_source : 38e6710da4d9ad7422d6313eeae2803402a51b24
2016-12-20 15:57:13 +09:00
Wes Kocher 584a2f0f62 Merge inbound to central, a=merge
MozReview-Commit-ID: Cr9L1dhIzP2
2016-12-20 11:41:57 -08:00
Carsten "Tomcat" Book 14b24ddfb5 Backed out changeset 83c4d145e937 (bug 1323916)
--HG--
extra : rebase_source : 4d356aa8982eb273052f422ba80c9bacc7c425ea
2016-12-20 14:46:00 +01:00
Andrea Marchesini 4f29b70d10 Bug 1324537 - Implement the OfflineAudioCompletionEvent constructor, r=smaug 2016-12-20 10:41:30 +01:00
Masayuki Nakano e0dcff15d2 Bug 1322736 part.3 Remove dom::BeforeAfterKeyboardEvent and InternalBeforeAfterKeyboardEvent r=smaug
MozReview-Commit-ID: Eyz2HjIdQEW

--HG--
extra : rebase_source : 182f4f8236dcfb83f8725a9c66cc46dedbb14f2c
2016-12-16 16:25:22 +09:00
Masayuki Nakano d48cef4255 Bug 1322736 part.2 Remove "after keydown" and "after keyup" events r=smaug
MozReview-Commit-ID: ICFPyDhgfh7

--HG--
extra : rebase_source : 6d3a9d227ac99710ac2daa036e1e169d31ae9e6a
2016-12-16 16:01:51 +09:00
Masayuki Nakano abc299239b Bug 1322736 part.1 Remove "before keydown" and "before keyup" events r=smaug
MozReview-Commit-ID: 3umPBwTowLc

--HG--
extra : rebase_source : c77a7f4b9334f261623d655edb3bf50377d1804d
2016-12-16 15:59:25 +09:00
Stone Shih c383970755 Bug 1323916 - [Pointer Event] Fix errors in pointer event test cases. r=smaug
MozReview-Commit-ID: KEayE2B7aKX
2016-12-13 14:05:10 +08:00
Stone Shih 3774a3f4e1 Bug 1323132 - PointerUp's buttons should be 0 when it's generated from touch. r=smaug
MozReview-Commit-ID: 36FFFPhaChb

--HG--
extra : rebase_source : ff51747daf407562f35b21edafc61c91a6f698a7
extra : histedit_source : a6293003098377a3eac73ad81aa98af79f552d92
2016-12-12 21:44:13 +08:00
Stone Shih 805b755bb1 Bug 1322994 - Update pointerevent web-platform-tests. r=smaug
MozReview-Commit-ID: CFnBxbCaVVk

--HG--
rename : dom/events/test/pointerevents/pointerevent_pointermove-on-chorded-mouse-button.html => dom/events/test/pointerevents/pointerevent_pointermove_on_chorded_mouse_button-manual.html
rename : dom/events/test/pointerevents/pointerevent_suppress_compat_events_on_click.html => dom/events/test/pointerevents/pointerevent_suppress_compat_events_on_click-manual.html
rename : dom/events/test/pointerevents/pointerevent_suppress_compat_events_on_drag_mouse.html => dom/events/test/pointerevents/pointerevent_suppress_compat_events_on_drag_mouse-manual.html
rename : dom/events/test/pointerevents/test_pointerevent_pointermove-on-chorded-mouse-button.html => dom/events/test/pointerevents/test_pointerevent_pointermove_on_chorded_mouse_button-manual.html
rename : dom/events/test/pointerevents/test_pointerevent_suppress_compat_events_on_click.html => dom/events/test/pointerevents/test_pointerevent_suppress_compat_events_on_click-manual.html
rename : dom/events/test/pointerevents/test_pointerevent_suppress_compat_events_on_drag_mouse.html => dom/events/test/pointerevents/test_pointerevent_suppress_compat_events_on_drag_mouse-manual.html
extra : rebase_source : 47e428039914001c64194ab28510f113e7e6dba4
extra : histedit_source : 225f1675260b86f4dd5daa7ed272f6071672e543
2016-12-12 11:21:29 +08:00
Gijs Kruitbosch cb6c0c81ac Bug 1322414 - part 2,3,4: use a separate 'primary' attribute for primary child browsers, r=bz,mconley
MozReview-Commit-ID: 2yb0WGFYBsH

--HG--
extra : rebase_source : 376171077c577e41e82cec5e994c425c6d9f2d80
extra : histedit_source : 39aad91381749a263042cd0452fe32019a1974b8
2016-12-09 09:23:24 -10:00
Kevin Wern b2052e9ddc Bug 1304044 - implement auxclick r=smaug
After click events with button 2 or 3 are fired, fire auxclick, a new
event intended to represent a non-primary mouse click. Because this
event, based on the design examples and blink's implementation, is
intended to be used with content listeners, always dispatch on content
listeners--not just those that force all events to be dispatched (i.e.
document/window). This diverges from the behavior of our click events
from non-primary buttons.

Eventually, we hope this will replace click events for non-primary
buttons. For now, leave those events for compatibility reasons.

Additionally, add handling of this new event, where necessary.

MozReview-Commit-ID: 8osozM4h6Ya

--HG--
extra : rebase_source : 558261dd0d0b9241efa84ca168c50455850af03a
2016-11-30 19:48:02 -05:00
Ho-Pang Hsu d55a047498 Bug 1302297 - Part 5: Update related testcases. f=stone, r=smaug 2016-12-09 03:40:00 +01:00
Ho-Pang Hsu c792e99520 Bug 1302297 - Part 4: Remove every button and buttons used in testcases. f=stone, r=smaug
--HG--
extra : amend_source : adeed4ae5de8c14a9d652057669f6f1e81876ce2
2016-10-22 08:42:00 +02:00
Ho-Pang Hsu 54867b498b Bug 1302297 - Part 3: Enhance sendMouseEvent() and sendTouchEvent(). f=stone, r=smaug 2016-12-09 03:39:00 +01:00
Ho-Pang Hsu e39cc0d995 Bug 1302297 - Part 2: Introduce mouse and touch event helpers. f=stone, r=smaug 2016-12-09 03:38:00 +01:00
Ho-Pang Hsu cd01580e31 Bug 1302297 - Part 1: Enhance the new window test container for PE testcases. f=stone, r=smaug 2016-10-22 08:40:00 +02:00
Stone Shih 64a9ec7fa7 Bug 1251659 - test_bug967796.html should use SpecialPowers.pushPrefEnv. r=smaug 2016-10-19 09:24:12 +08:00
Tooru Fujisawa 515ef9ba45 Bug 1321218 - Remove legacy generator from dom/. r=smaug 2016-12-01 18:11:32 +09:00
Stone Shih d5527884b7 Bug 1298970 - Move UIEvent.cancelBubble to Event. r=smaug
MozReview-Commit-ID: JPc1JwfqpaZ

--HG--
extra : rebase_source : 9cad67011a76b0084bdc8b271de8356666068e0d
2016-11-29 10:28:21 +08:00
Phil Ringnalda 61baa2aa9a Merge m-i to m-c, a=merge
MozReview-Commit-ID: A3wgReQAalj
2016-11-17 19:21:20 -08:00
Stone Shih d4a632d2e2 Bug 1305458 Part10: Add test case. r=smaug
MozReview-Commit-ID: 77r8TkLqiil

--HG--
extra : rebase_source : 99011c1e379980cff81f9cd74c4c0b767be58274
2016-10-26 13:07:18 +08:00
Andrea Marchesini 3120de1ea7 Bug 1315905 - Cleanup Necko http security check - part 2 - tests, r=valentin 2016-11-17 14:53:30 +01:00
Andrea Marchesini ad23bdeed0 Bug 1313420 - Implement Performance.timeOrigin - part 2 - tests, r=bz 2016-11-17 10:00:26 +01:00
Michelangelo De Simone 1c12c5271d Bug 1313788 - Remove DOM/wifi and related code. r=jst
MozReview-Commit-ID: BRT6bSvPpT

--HG--
extra : rebase_source : c5ae9e88e80ae1a9c46bf80439388bd9ef2ba4df
2016-11-08 15:02:45 -08:00
Stone Shih 86e2bca74e Bug 1315862 Part2: Add a test case to ensure pointer events aren't dispatched in the system group. r=masayuki
MozReview-Commit-ID: 4FR62yYlxAY

--HG--
extra : rebase_source : 634cef3c217ab427d12e8f961c59ed3a1248b267
2016-11-15 10:34:13 +08:00
Stone Shih 386540035e Bug 1303704 Part3: [Pointer Event] Add test case to ensure preventDefault on pointerdown doesn't impact firing click event. r=masayuki
MozReview-Commit-ID: LiDffeN7hk6

--HG--
extra : rebase_source : e6d14606d07ebe9a17a39b48e13c8c21d11c99d3
2016-11-10 10:11:16 +08:00
Stone Shih 3a1d8c22f0 Bug 1303704 Part2: [Pointer Event] Enable prevent default on pointerdown related test cases. r=masayuki
MozReview-Commit-ID: CqwCm3uAYMW

--HG--
extra : rebase_source : effc632654b0215c5ef87358516d668c0562e1ee
2016-10-14 10:31:28 +08:00
Sebastian Hengst e499270f62 Bug 1310297 - Remove test annotations using b2g, mulet or gonk: dom/events. r=RyanVM
MozReview-Commit-ID: 4BEA01lxikl

--HG--
extra : rebase_source : c1956c3135d5a88ef79c0019089ca3788e6a23f9
2016-11-05 11:29:16 +01:00
Michelangelo De Simone 80af1b3196 Bug 1310864 - Remove DOM/(contacts, mobileconnection, icc) and related code. r=jst
MozReview-Commit-ID: Az4PTYFUKW8

--HG--
extra : rebase_source : 4c31210ec079a1d2f18deca4e3e1d6bdbc797f76
2016-11-03 13:55:36 -07:00
Phil Ringnalda 393b414467 Merge m-i to m-c, a=merge
MozReview-Commit-ID: 48WAQwKUCpw
2016-11-02 19:28:38 -07:00
Kevin Wern 19f18efeac Bug 687787: support focusin/focusout based on webkit/blink r=smaug
Blink and webkit launch focusin after focus and focusout after blur. Despite
this contradiction with the spec, it is best to mirror this new way, as there
is little guidance or existing code to clarify implementation amiguities that
can arise from the spec.

If focus/blur is fired on a window or document, or the event triggers a change
of focus, do not fire the corresponding focusin/focusout. Otherwise, always
fire the corresponding event.

Additionally, add a mochitest and a w3c-platform-test.

MozReview-Commit-ID: AgQ8JBxKIqK
2016-10-06 21:39:53 -04:00
Phil Ringnalda 16522e6c40 Backed out changeset 27695ca9f8cd (bug 1310864) for failures in test_navigator_resolve_identity.html, test_bug707564.html, and test_dom_xrays.html 2016-10-31 19:39:06 -07:00
Michelangelo De Simone 8b355547fc Bug 1310864 - Remove DOM/(contacts, mobileconnection, icc) and related code. r=jst
MozReview-Commit-ID: 2tWZc6hMtk5

--HG--
extra : rebase_source : 609688dd1fa430827c18e1cd0095c07fb17fce67
2016-10-28 17:53:58 -07:00
Michelangelo De Simone 6314d37360 Bug 1310020 - Remove DOM/bluetooth and related code. r=jst
MozReview-Commit-ID: IEhwzzBgb3x

--HG--
extra : rebase_source : 664e30c1d3babc71b2ef77c00e393fa767f4c159
2016-10-28 14:25:23 -07:00
Andrea Marchesini c11a158627 Bug 1310967 - Update MessageEvent to the latest spec, r=smaug 2016-10-25 07:48:05 +02:00
Sebastian Hengst 1d68ef32e7 Backed out changeset 1fc115bbc7be (bug 1310967) for failing test_messageEvent_init.html. r=backout 2016-10-24 19:14:38 +02:00
Andrea Marchesini 1a3cb83d92 Bug 1310967 - Update MessageEvent to the latest spec, r=smaug 2016-10-24 17:10:46 +02:00
Ryan VanderMeulen 3079f45ce5 Merge inbound to m-c. a=merge 2016-10-23 20:04:42 -04:00
Michelangelo De Simone 8641036d15 Bug 1310859 - Remove DOM/nfc and related code. r=jst
MozReview-Commit-ID: FiS7uGytipN

--HG--
extra : rebase_source : cd9be62d334568b4abd850398467bce4c4eb1544
2016-10-18 15:16:56 -07:00
Ho-Pang Hsu d9e7012d7a Bug 1311269 - Part 2: Update related testcases. f=sshih, r=smaug 2016-10-19 20:35:00 -04:00
Ho-Pang Hsu 459af0b367 Bug 1311269 - Part 1: Improve PE test automation framework. f=sshih, r=smaug 2016-10-19 20:31:00 -04:00
Chris Pearce e90255c806 Bug 1311252 - Make MediaKeyMessageEvent.webidl patch spec. r=smaug
Update our copy of EncryptedMediaExtensions.idl to match upstream
Web Platform Tests, so we keep passing.

MozReview-Commit-ID: IHaVX45GrYx
2016-10-19 20:33:54 +13:00
Wes Kocher 8f8236ba1e Backed out 2 changesets (bug 1310967) for failures in messageEvent tests a=backou
Backed out changeset dac69b2b8d26 (bug 1310967)
Backed out changeset 133feae49330 (bug 1310967)
2016-10-18 10:53:44 -07:00
Andrea Marchesini 8a55aab649 Bug 1310967 - Update MessageEvent to the latest spec - part 2, r=me 2016-10-18 18:25:26 +02:00
Ehsan Akhgari 1978fee9f2 Bug 1310385 - Remove support for UndoManager; r=smaug
There hasn't been any traction on this feature, and we keep
paying the maintenance and code size and memory usage penalty
of having this implementation.

We can revive this from VCS history in the future if we decide
to start working on it again.  In the mean time, it's better
to remove it.
2016-10-17 10:06:11 -04:00
Michelangelo De Simone 42dd1f7367 Bug 1309723 - Remove DOM/voicemail and related code. r=Ehsan
MozReview-Commit-ID: JDSqQnYD6xL

--HG--
extra : rebase_source : 43008cd2eaf97d77d32a6faa9fb4854e3d1f29a8
2016-10-13 15:11:41 -07:00
Sebastian Hengst 3c1524e5e0 Bug 1306137 - remove b2g camera code: Remove dom/camera/ and code which depends on it. r=aosmond,bkelly
MozReview-Commit-ID: 7gvZrDtmcZP

--HG--
extra : rebase_source : 31f06357fdc36566465668f55bf3fcc5402fe9e0
2016-10-04 20:16:28 +02:00
Carsten "Tomcat" Book b474cb6353 merge mozilla-inbound to mozilla-central a=merge 2016-10-14 11:59:12 +02:00
Michelangelo De Simone d089be15c2 Bug 1306778 - Remove DOM/tv and related code. r=jst
MozReview-Commit-ID: 25Mch3xznlh

--HG--
extra : rebase_source : 8ed0967556ee709fb7ca00713d29049a4515f1c7
2016-09-30 16:38:03 -07:00
Stone Shih e64b507923 Bug 1304290 - Part 1: Add a helper function to run test in a new window. r=smaug
MozReview-Commit-ID: 4nLTUSbkYlH

--HG--
extra : rebase_source : 7e3de68f808a8c248feae0b85f44eac191809b92
extra : histedit_source : 82dc7190b9436f2ac6c730176dff0aac7cd35070
2016-09-21 14:46:44 +08:00
Andrea Marchesini b88af2e644 Bug 1308956 - Get rid of MessagePortList - part 1 - MessagePortList removed from events, r=smaug 2016-10-13 15:19:24 +02:00
Stone Shih 1063903850 Bug 1304315 - [Pointer Event] Make all pointer events's default width/height to 1. f=bevistseng. r=smaug,masayuki. 2016-09-21 16:26:21 +08:00
Boris Zbarsky bae20efd7f Bug 1298243 part 7. Change DataTransfer.types from being a DOMStringList to being a frozen array. r=mystor,gijs 2016-10-10 21:07:47 -04:00
Ryan VanderMeulen e980397fb4 Merge m-c to autoland. a=merge 2016-10-07 23:22:46 -04:00
Kartikaya Gupta 8d70bf45ca Bug 1291381 - Enable touch tests on Windows. r=botond
MozReview-Commit-ID: 3zmGDCFLUgF
2016-10-07 15:10:53 -04:00
Michelangelo De Simone 3e5861c1f3 Bug 1306772 - Remove DOM/cellbroadcast and related code. r=jst
MozReview-Commit-ID: EWBjamnhAyC

--HG--
extra : rebase_source : 84bc99a7fd0f9d74b5b25d3ddc295c132e51d987
2016-09-30 16:03:21 -07:00
Dan Minor 621afd7f92 Bug 1291715 - Add RTCDTMFSender and RTCDTMFToneChangeEvent to webidl; r=smaug
MozReview-Commit-ID: FvAp6DQex02

--HG--
extra : rebase_source : 1b8102930efba0fb0da855b02effd106370a1b8b
2016-09-14 08:53:23 -04:00
Sebastian Hengst 7520674246 Backed out changeset 903fa45a9d6c (bug 1291715) for build bustage. r=backout 2016-10-05 17:03:06 +02:00
Dan Minor c168a463ed Bug 1291715 - Add RTCDTMFSender and RTCDTMFToneChangeEvent to webidl; r=smaug
MozReview-Commit-ID: FvAp6DQex02

--HG--
extra : rebase_source : 1b8102930efba0fb0da855b02effd106370a1b8b
2016-09-14 08:53:23 -04:00
Stone Shih 7b63299a94 Bug 1292063 - Part 2: Add composed argument to getEventTargetChainFor and refine test cases. r=smaug
--HG--
extra : rebase_source : 221e1bd75cfa3ab1c8ef435e8e87c5a6f56b82aa
2016-09-13 17:29:08 +08:00
Stone Shih 299f264eae Bug 1304318 - [Pointer Event] Enable passed pointer events test cases. f=btseng, r=masayuki
--HG--
extra : rebase_source : dd7d59bc57d861c060883422c73457df083f8427
2016-09-21 16:39:37 +08:00
Stone Shih 1aa4b81fa4 Bug 1293174 - [Pointer Event] Implement implicit pointer capture for touch. f=bevistseng. r=smaug
--HG--
extra : rebase_source : ef86008679a1c0e7af30bab658e0c7668093adfe
2016-08-11 14:49:15 +08:00
Olli Pettay 16a7908638 Bug 1300606 - DeviceType event handlers/listeners aren't removed properly, r=mccr8 2016-09-13 17:00:43 -07:00
Ho-Pang Hsu 382e637a0d Bug 1285804 - Part 2: Update and enable testcases. r=smaug, f=btseng
--HG--
extra : rebase_source : e8e6aad881cebafc686b472e524415d8c9cf156b
extra : histedit_source : 7ed1d86ee8d0c1c3175bf550b269cdf0effe2f36
2016-09-12 13:51:10 +08:00
Ho-Pang Hsu 45cd280352 Bug 1299199 - Part 2: Remove 'sendPointerEvent' from mochitest_support_external.js. f=btseng, r=smaug
--HG--
extra : rebase_source : 7b51f98b530445ee9621e1e096349d97efc27088
extra : histedit_source : 649af0d76d9303366e8475b855635a834b4bf0c4
2016-09-12 23:51:56 +08:00
Ho-Pang Hsu d606722f4c Bug 1299199 - Part 1: Replace 'sendPointerEvent()' with 'sendMouseEvent()' in testcases. f=btseng, r=smaug
--HG--
extra : rebase_source : 4d3d8874531b5eaf2efaa65db2d2a65b2548e9fc
extra : histedit_source : 26d2fecec8b9b2b6c937ebb2d74d41c954e3a127
2016-09-12 23:51:56 +08:00
Stone Shih 344d0d32d0 Bug 1296491 - [Pointer Event] Investigate failure of pointerevent_attributes_mouse-manual.html. r=bevistseng, r=smaug 2016-09-02 11:10:48 +08:00
Stone Shih 1cf8ba2093 Bug 1298255 - [Pointer Event] Update web-platform-test pointerevent_element_haspointercapture-manual.html. f=bevistseng r=smaug 2016-08-26 10:38:59 +08:00
Michael Layzell e4a2ac3b82 Bug 1297186 - Correctly propagate principals when getting the files list in DataTransfer, r=enndeakin
MozReview-Commit-ID: 8LRBekaOUJR
2016-09-01 11:22:15 -04:00
Stone Shih 60f3766a41 Bug 1292070 - Part 4: Enable test_pointerevent_pointermove-on-chorded-mouse-button.html. f=bevistseng, r=smaug
--HG--
extra : rebase_source : addf473c2b7c605517b61dbce8210af20c939243
extra : histedit_source : 2238397c1977f07b06472b89d6e0f99ac6d2cdcc
2016-08-18 17:35:20 +08:00
Stone Shih 2d66c06058 Bug 1292070 - Part 3: Update test cases to synthesize mouse events with correct attributes. f=bevistseng, r=smaug
--HG--
extra : rebase_source : a2450d25990e69910793832c9e86abb5957e8d33
extra : histedit_source : 541587919143ee22e2bf086ee7f6d9eac437f4e5
2016-08-18 12:01:51 +08:00
Stone Shih 4c774b11b2 Bug 1292070 - Part 2: Add API to synthesize mouse event with buttons. f=bevistseng, r=smaug
--HG--
extra : rebase_source : c676026e30c857b2a19854285f8bb40c47c58267
extra : histedit_source : c1ee981e9ab821a51d3abb96b1d2d334ffe8e0d2
2016-08-18 11:58:48 +08:00
Stone Shih b6697d07aa Bug 1294335 - [Pointer Event] Refine setPointerCapture / releasePointerCapture to follow the algorithm defined in the spec. f=bevistseng, r=smaug 2016-08-12 09:49:31 +08:00
Aryeh Gregor 76862dadad Bug 1299453 - Stop using createEvent("DragEvents"/"KeyEvents") internally; r=smaug
They are non-standard aliases for "DragEvent" and "KeyboardEvent" that
are not supported by any other UA, and we would like to drop support.
So first let's stop using them ourselves, so we can use telemetry to see
if any sites are using them.

MozReview-Commit-ID: ICC33ORa2st
2016-08-31 20:38:50 +03:00
Stone Shih e9962ae1fc Bug 1292067 - Make width/height of pointer default to 1. f=bevistseng. r=smaug
--HG--
extra : rebase_source : a55c4356dadacb2a41b49cde98a31051af6aa9d8
2016-08-10 13:04:33 +08:00
Aryeh Gregor f3e54042f1 Bug 1271115 - Merge ChromeUtils.js into EventUtils.js; r=jmaher
This allows plain mochitests to use the functions as well, which is
necessary to get them to work with e10s.

MozReview-Commit-ID: J4um2mliJcZ
2016-08-25 16:57:09 +03:00
Stone Shih 9e7beee054 Bug 1285861 - Enable test_pointerevent_gotpointercapture_before_first_pointerevent-manual.html. r=smaug 2016-08-18 17:22:50 +08:00
Stone Shih 0b8383dac7 Bug 1296194 - [Pointer Event] Update web-platform-test pointerevent_element_haspointercapture. r=smaug
--HG--
rename : dom/events/test/pointerevents/pointerevent_element_haspointercapture.html => dom/events/test/pointerevents/pointerevent_element_haspointercapture-manual.html
rename : dom/events/test/pointerevents/test_pointerevent_element_haspointercapture.html => dom/events/test/pointerevents/test_pointerevent_element_haspointercapture-manual.html
rename : testing/web-platform/tests/pointerevents/pointerevent_element_haspointercapture.html => testing/web-platform/tests/pointerevents/pointerevent_element_haspointercapture-manual.html
2016-08-18 14:11:04 +08:00
Stone Shih 4af21c4cd1 Bug 1296185 - Part 2: Update modified test cases. r=smaug
--HG--
extra : rebase_source : 33fef67d8f656585ea67f27a38131b91bc75eb65
2016-08-19 16:12:36 +08:00
Stone Shih d4de3956f3 Bug 1296185 - Part 1: [Pointer Event] Import new web-platform-tests to pointer events mochitest. r=smaug
--HG--
extra : rebase_source : 813bab7d433fac7a166f6ff320dec3039e152b86
2016-08-15 11:02:41 +08:00
Kartikaya Gupta 14a899b828 Bug 1217715 - Don't limit the system scroll override to the root content. r=botond,masayuki
MozReview-Commit-ID: EH94OR5rEsX
2016-08-19 06:52:25 -04:00
Stone Shih 0936be8e70 Bug 1293175 - [Pointer Event] Add Element.hasPointerCapture API. r=smaug
--HG--
extra : rebase_source : 25dcafa70e5260259fd7703134b376c3351595c0
2016-08-10 15:31:43 +08:00
Stone Shih 728f58c68b Bug 1258804 - Part 3: Update related test case for PE spec changes. r=smaug
--HG--
extra : rebase_source : 920401957f69e334323ef7ab4548b9f98437b59f
2016-08-01 15:41:42 +08:00
Stone Shih 02e9d4e17a Bug 1180188 - Some pointer events mochitests fails on Linux platform. r=smaug 2016-08-04 11:02:50 +08:00
Stone Shih f8f5ef1c1a Bug 1285128 - Should not generate pointer events for those synthesized events that are not dispatched to DOM. r=smaug 2016-07-07 15:28:11 +08:00
Kartikaya Gupta b968f0d733 Bug 1288799 - Add a test_touch_action.html which runs all of the W3C touch-action tests as mochitests. rs=smaug
MozReview-Commit-ID: CA0XMnQepVD
2016-07-29 14:27:39 -04:00
Kartikaya Gupta a74193fa22 Bug 1288799 - Delete the old mochitest wrappers for the touch-action mochitests, and copy over the unmodified W3C files. rs=smaug
MozReview-Commit-ID: 1Z2VYSqjPSL
2016-07-29 14:27:38 -04:00
Xidorn Quan 0aa8c340df Bug 991899 part 2 - Unprefix PointerLock tests. r=smaug
MozReview-Commit-ID: BPAuJWKZgBG

--HG--
extra : source : e8aea995c048039521246d2032a28e3b903c30c5
2016-07-28 17:15:21 +10:00
Stone Shih ccf5afdb9b Bug 1285713 - Disable unstable pointer events test cases. r=khuey 2016-07-09 14:11:48 +08:00
Stone Shih 620edc6efc Bug 1284200 - Enable passed pointer events test cases. r=khuey 2016-07-05 17:18:19 +08:00
Andreas Pehrson cdb03c0dcd Bug 1208328 - Test MediaStreamTrackEvent like RTCTrackEvent. r=smaug
MozReview-Commit-ID: GAEu2FskUJr

--HG--
extra : rebase_source : 3f31d212470e67bfb1e336d6215a301b2ca18a8c
extra : intermediate-source : 3160ce8f87590a3a611267595cb478479dfdb2f3
extra : source : ece1345d0b6558ff5358f906aad56f0f32648bcd
2016-06-10 11:58:06 +02:00
Michael Layzell 01c990e206 Bug 1278939 - Store nsIFile entries as nsIFile, but continue to produce dom::File objects from relevant APIs, r=enndeakin 2016-07-04 15:45:45 -04:00
Michael Layzell 038736ebef Bug 906420 - Part 2: Add support for images to DataTransfer, r=baku 2016-07-04 15:45:45 -04:00
Michael Layzell dde888ae28 Bug 906420 - Part 1: Implement DataTransferItem and DataTransferItemList, r=baku 2016-07-04 15:45:45 -04:00
Sebastian Hengst edb7a37036 Backed out 5 changesets (bug 1208328) for frequent failures in test_peerConnection_addtrack_removetrack_events.html on Android 4.3 debug. r=backout
Backed out changeset 3160ce8f8759 (bug 1208328)
Backed out changeset aa209325161f (bug 1208328)
Backed out changeset d48bc6eca9c3 (bug 1208328)
Backed out changeset 945141b1f8da (bug 1208328)
Backed out changeset 48da132353c7 (bug 1208328)
2016-06-14 11:04:28 +02:00
Andreas Pehrson 5bc6c4811d Bug 1208328 - Test MediaStreamTrackEvent like RTCTrackEvent. r=smaug
MozReview-Commit-ID: GAEu2FskUJr

--HG--
extra : rebase_source : ec18520447f4e9a554e0ab35a057d1248063d86e
extra : source : ece1345d0b6558ff5358f906aad56f0f32648bcd
2016-06-10 11:58:06 +02:00