Commit Graph

2129 Commits

Author SHA1 Message Date
Boris Zbarsky
e8efc43549 Bug 1349659. Implement :required and :optional in stylo. r=emilio
MozReview-Commit-ID: 50A3H4Qb3Yf

--HG--
extra : rebase_source : f9979da13016d717ddae00ed9be5c2818b77b6d2
2017-03-22 22:01:12 -04:00
Markus Stange
730b4fc829 Bug 1339897 - Rename PROFILER_LABEL_PRINTF to PROFILER_LABEL_DYNAMIC and make it really cheap. r=Ehsan,njn
Instead of copying and concatenating strings into an mDest buffer in
SamplerStackFramePrintfRAII, require callers to keep the string buffer alive
for the duration of the current scope, and store the pointer to the annotation
string in the ProfileEntry. During stackwalking, concatenate the label and the
annotation (separated by a space) and store the resulting string in the
profile buffer.

MozReview-Commit-ID: GEjcLrhhdvb

--HG--
extra : rebase_source : 683749421ee2122805a249cf413e882ee5f33331
2017-03-22 19:37:33 -04:00
Wes Kocher
3c092e1002 Merge m-c to inbound, a=merge
MozReview-Commit-ID: GjXiiENYBmx
2017-03-21 16:20:08 -07:00
Boris Zbarsky
ec233151ac Bug 1348331 part 2. Switch Preferences::RegisterCallback/RegisterCallbackAndCall consumers that want prefix matches to the new RefisterPrefixCallback(AndCall) APIs. r=froydnj,padenot
MozReview-Commit-ID: 2ebVZO4fN6i
2017-03-21 14:59:02 -04:00
Wes Kocher
4f5262444c Merge inbound to central, a=merge
MozReview-Commit-ID: 2omKclRg40c
2017-03-20 18:19:52 -07:00
Nazım Can Altınova
8a533e93cf Bug 1341642 - Stylo: Add support for -moz-* pseudo-classes for alt text r=manishearth
MozReview-Commit-ID: 1t42xaTtUmb

--HG--
extra : rebase_source : 58072c6ea9df8a931671450f31e345e872ef6e53
2017-03-18 19:41:39 +03: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
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
69318bffba Bug 1328210 - Wrap pointerevent_boundary_events_in_capturing-manual.html in mochitest form. r=smaug 2017-02-09 17:20:28 +08:00
Masayuki Nakano
87d8470a52 Bug 1347073 Get rid of UIEvent.isChar since it's not initialized properly on most platforms and the other browsers don't support this r=smaug
UIEvent.isChar is not supported by the other browsers and the value isn't initialized any platforms except on macOS. So, the value isn't useful and we have no reason to keep it.

MozReview-Commit-ID: 4BLpo88gSZj

--HG--
extra : rebase_source : ca950f8cb618a0cadc99ba4c80b5a8df94a20f27
2017-03-14 18:29:39 +09:00
Masayuki Nakano
c038f800f7 Bug 1339331 TextEventDispatcher should replace \r in composition string with \n and TextComposition should allow to input \n with composition events r=m_kato
According to ATOK's behavior, IME may send different line breaker from its platform's standard.  Therefore, we should treat \r as \n too.

Additionally, currently, TextComposition doesn't allow to input \n with composition.  However, this was added for preventing to see odd control characters as boxes with code point.  Therefore, we should allow \n for IMEs. (It was allowed, this limitation is unexpected when I reviewed the patch to reject control characters in TextComposition.)

MozReview-Commit-ID: DzGSMgp89Av

--HG--
extra : rebase_source : 0644e5941a080583af8701546111fbf46ec646ec
2017-03-16 16:26:43 +09:00
Nazım Can Altınova
857e16e554 Bug 1341739 - Stylo: Add support for :valid/:invalid/:-moz-ui-valid pseudo-classes r=xidorn
MozReview-Commit-ID: K3WSun7UGFo

--HG--
extra : rebase_source : a31e508e4f0452ead2ccd3ee990b09e9ae691ef8
2017-03-15 17:34:29 +03:00
Nazım Can Altınova
70ea60c038 Bug 1348873 - Change ServoType to uint64_t instead of uint16_t in EventStates r=emilio
MozReview-Commit-ID: GDP6XaL96ez

--HG--
extra : rebase_source : 6aa38ac64b3706961709b27d31903dc24405ee57
2017-03-20 18:54:54 +03: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
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
b3c77294ca Bug 1323158 - Part 3: Fire boundary events when dispatching gotpointercapture. r=smaug
--HG--
extra : rebase_source : e70ab21585d38a64c657c260b722ef1a09d87ae9
extra : histedit_source : 46a0483c2c7efb76a752ef472baa1bca28650241
2017-01-20 15:00:07 +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
Boris Zbarsky
728a89a4fe Bug 1345996. Change event handler invocation to only do the "true return cancels" for onerror handlers handed ErrorEvents, and only on globals. r=smaug
See https://github.com/whatwg/html/issues/2296 and
https://github.com/whatwg/html/issues/423 for details on what various browsers
do and whatnot.

MozReview-Commit-ID: DytkZreHudx
2017-03-10 23:53:09 -05:00
Ben Kelly
86443f020e Bug 1311324 P3 Remove ServiceWorkerMessageEvent interface. r=bz 2017-03-09 20:50:13 -05:00
Ben Kelly
546d811304 Bug 1311324 P2 Replace usage of ServiceWorkerMessageEvent with MessageEvent. r=bz 2017-03-09 20:50:13 -05:00
Ben Kelly
29ca0de50c Bug 1311324 P1 Update the MessageEvent webidl and implementation class. 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
Carsten "Tomcat" Book
087da3f0d9 merge mozilla-inbound to mozilla-central a=merge 2017-03-07 15:13:31 +01: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
Michael Layzell
d982a16df5 Bug 1338328 - Change error type for custom-clipdata mime type, and add test for correct exception type, r=baku
MozReview-Commit-ID: 9qwwXxWgWrO
2017-03-06 14:37:27 -05:00
Cameron McCormack
4e902578ed Bug 1341230 - Part 2: Add C++ API to add/remove manually managed EventStates bits. r=smaug
MozReview-Commit-ID: 11886pRRXSq

--HG--
extra : rebase_source : 6881181ab9e8bfd9559a4f92d77a8b2796daa9dc
2017-03-06 10:44:13 +08:00
Cameron McCormack
6e93d609a7 Bug 1341230 - Part 1: Rename ESM_MANAGED_STATES to EXTERNALLY_MANAGED_STATES. r=smaug
Since it's not just the EventStateManager that has access to modify
these EventStates bits.

MozReview-Commit-ID: 17EpfQT5M40

--HG--
extra : rebase_source : 6d5f7ecff2d41d66cbc23ea12e08dc6295e29875
2017-03-06 10:44:13 +08:00
Iris Hsiao
ddd2318db2 Backed out changeset 41bd2eefc823 (bug 1341230) 2017-03-06 11:48:58 +08:00
Iris Hsiao
a8b4a9d618 Backed out changeset f879b73eb504 (bug 1341230) 2017-03-06 11:48:52 +08:00
Cameron McCormack
78b9d4ee3b Bug 1341230 - Part 2: Add C++ API to add/remove manually managed EventStates bits. r=smaug
MozReview-Commit-ID: 11886pRRXSq

--HG--
extra : rebase_source : 6881181ab9e8bfd9559a4f92d77a8b2796daa9dc
2017-03-06 10:44:13 +08:00
Cameron McCormack
fd0d68c179 Bug 1341230 - Part 1: Rename ESM_MANAGED_STATES to EXTERNALLY_MANAGED_STATES. r=smaug
Since it's not just the EventStateManager that has access to modify
these EventStates bits.

MozReview-Commit-ID: 17EpfQT5M40

--HG--
extra : rebase_source : 6d5f7ecff2d41d66cbc23ea12e08dc6295e29875
2017-03-06 10:44:13 +08:00
Wes Kocher
8d2ba463c0 Backed out changeset bfc13d436dd4 (bug 1338328) for browser_context_menu_autocomplete_interaction.js failures a=backout
MozReview-Commit-ID: DfOAidZWnWF
2017-03-01 15:38:21 -08:00
Mats Palmgren
6ef6efaea3 Bug 1340771 part 2 - Introduce a WeakFrame class for heap allocated weak frame pointers, stored in a hashtable for fast lookup. r=tn
* * *
Bug 1340771 part 3 - Change existing heap allocated AutoWeakFrame instances to use WeakFrame instead.  r=tn

MozReview-Commit-ID: GSuUiy98jBa
2017-03-01 18:03:14 +01:00
Mats Palmgren
d13aaf9ce0 Bug 1340771 part 1 - Rename nsWeakFrame to AutoWeakFrame (automated change). r=tn
MozReview-Commit-ID: 8pl4nyeGEkr
2017-03-01 18:03:14 +01:00
Michael Layzell
2f4b475ed1 Bug 1338328 - Change error type for custom-clipdata mime type, and add test for correct exception type, r=baku
MozReview-Commit-ID: 9qwwXxWgWrO
2017-03-01 15:15:36 -05:00
Dylan Roeh
efb7f9566e Bug 1261894 - Update InitDeviceMotionEvent to handle high-res timestamps. r=smaug 2017-02-28 16:50:15 -06:00