Commit Graph

531404 Commits

Author SHA1 Message Date
John Dai
f671ddc4a6 Bug 1309147 - Part 5: Eliminate performance cliff when accessing CEReactions code. r=bz
MozReview-Commit-ID: 61A5YNtJQXF

--HG--
extra : rebase_source : 4ab333a1cf4169047c4500d85412d5b3a642b4eb
extra : histedit_source : 21766c291f63de284baf71fd1d8cf2bb1aaf4bc0
2017-03-30 17:35:59 +08:00
John Dai
dc7998c7d8 Bug 1309147 - Part 4: Add CEReactions for CustomElementRegistry. r=bz
MozReview-Commit-ID: ID2TIL9C47R

--HG--
extra : rebase_source : ad2ea9e7b4925d22743a55f55fd6c55e1a8ae805
extra : histedit_source : 176dfbb8a76a1f386d43f20cad1d4fa6125c77af
2017-03-30 18:58:48 +08:00
Gregory Moore
022156f613 Bug 1180799 - Support momentum scrolling after two-fingered pans on pages that don't allow zooming. r=botond,kats
MozReview-Commit-ID: IAhD3jO4NWH

--HG--
extra : rebase_source : 782699a9f501327431bf66645b3313921a864e09
extra : source : 456dbb5c2b93ba738bc5b0e15d7e43cab2d0a856
2017-03-25 18:36:35 -07:00
Wes Kocher
b53f4d8806 Merge m-c to inbound, a=merge 2017-04-17 13:03:40 -07:00
Wes Kocher
228c755a80 Merge inbound to central, a=merge 2017-04-17 12:56:25 -07:00
Wes Kocher
0becaff588 Merge autoland to central, a=merge 2017-04-17 12:41:36 -07:00
Kearwood Gilbert
c944eed13a Bug 1356387 - Add constructor to VRHMDSensorState
- Also removed some now redundant calls to VRHMDSensorState::Clear()


MozReview-Commit-ID: Kkbvkn3XAP4

--HG--
extra : rebase_source : 0daecf8ad2f4baa8f3d199c65dc7c0cbeb4aceae
2017-04-17 12:15:38 -07:00
Michael Layzell
344f335411 backout bug 1356277 due to failing test_localStorageSessionPrefOverride.html on try
I looked at the wrong try push before pushing this change to inbound. Backing it
out hopefully before it turns too many pushes orange.

MozReview-Commit-ID: 5cREsyfWrmb
2017-04-17 15:44:17 -04:00
Kartikaya Gupta
7a4b7a370e Bug 1356695 - Ensure gfxPrefs is initialized if gfxPlatform::AsyncPanZoomEnabled is called early in startup. r=milan
MozReview-Commit-ID: CnHHcuZRPTc
2017-04-17 11:56:26 -04:00
Kartikaya Gupta
4444fcf4d5 Bug 1356695 - Don't expose DOM touch APIs with autodetection if APZ is disabled. r=smaug
When the dom.w3c_touch_events.enabled pref is set to "2" (autodetect) on Win/Linux,
it checks to see if the hardware supports touch events, and only enables the
DOM touch APIs if so. However, even if the hardware supports touch events, we
might have e10s or APZ disabled for other reasons, and in those cases we don't
actually turn on touch support in the widget (nsBaseWidget::RegisterTouchWindow
will not be called). So in those cases the widget will never actually dispatch
touch events, and the DOM touch APIs shouldn't be exposed either. This patch
implements this by checking the APZ state when deciding whether or not to
expose the DOM touch APIs.

MozReview-Commit-ID: EIvJh030b0X
2017-04-17 11:56:22 -04:00
Jeff Muizelaar
67e82cd2a7 Bug 1356689. Add pref to highlight painted layers. r=mchang
This is valuable for looking at pages to see where we're still using
painted layers.
2017-04-17 11:10:02 -04:00
Lee Salzman
03ed17e42f Bug 1357009 - add missing UnscaledFontGDI::GetFontInstanceData. r=jrmuizel
MozReview-Commit-ID: 21EoCWhkDDu
2017-04-17 10:59:31 -04:00
Kartikaya Gupta
4087e4ae28 Merge m-c to graphics
MozReview-Commit-ID: KwTegQDnKGG
2017-04-17 10:33:46 -04:00
Sebastian Hengst
5a100ecb59 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-04-17 16:32:14 +02:00
Sebastian Hengst
4bd7a206de merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: DZowmCXo7Q
2017-04-17 16:21:05 +02:00
Kartikaya Gupta
41c543ac1b Merge m-c to graphics
MozReview-Commit-ID: G9MmPXdyBxg
2017-04-17 09:40:34 -04:00
sotaro
444f539c4b Bug 1356960 - Avoid to allocate WebRenderTextureHost for TextureHost of VideoBridgeParent and VRManagerParent r=jerry 2017-04-17 22:08:43 +09:00
Sebastian Hengst
eacfbf3ac6 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: D039X4edhVO
2017-04-16 20:00:50 +02:00
Kris Maglione
d60281154f Bug 1356891: Get rid of getAPILevelForWindow. r=mixedpuppy
MozReview-Commit-ID: 4IMnEiC5VAh

--HG--
extra : rebase_source : 47a078bdcd780ee0c13ecd802574eb4096c6d01d
2017-04-16 08:32:59 -07:00
Michael Layzell
7c1713568d Bug 1356277 - Part 2: Add a test for LIMIT_THIRD_PARTY permission with sessionStorage, r=ehsan
MozReview-Commit-ID: 6EI2eynexN0
2017-04-17 15:14:56 -04:00
Michael Layzell
5ce7492734 Bug 1356277 - Part 1: Respect ALLOW_FIRST_PARTY_ONLY and LIMIT_THIRD_PARTY permissions in StorageAllowedFor*, r=ehsan
MozReview-Commit-ID: 7TQSFk7EGmk
2017-04-17 15:14:54 -04:00
Michael Layzell
52e859430e Bug 1352281 - Include KIND_OTHER types in DataTransfer.types, r=baku
MozReview-Commit-ID: EoqzAydaLea
2017-04-17 14:57:25 -04:00
Michael Layzell
0086bd7036 Bug 1168169 - Mark nsThreadShutdownContext::joiningThread as MOZ_UNSAFE_REF, r=froydnj
MozReview-Commit-ID: 16ebijitZcz
2017-04-17 14:57:25 -04:00
Paul Rouget
589fae16f0 servo: Merge #16482 - Add more dependencies to Fedora instructions (from servo:readme-fedora-update); r=Manishearth
Readme update

Source-Repo: https://github.com/servo/servo
Source-Revision: d8ba7b7946ec4b4d67a3df6527c26f477d07f53c

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 67c00b97e8c0ef7b9649eca815ef4033a70e8b90
2017-04-16 07:29:57 -05:00
Srivatsav Gunisetty
76c4df4bd0 Bug 1354199 - Remove border and background fallback styling from tabbox.css. r=dao 2017-04-16 09:37:09 +02:00
Zibi Braniecki
efe35ec119 Bug 1356718 - Query gtk settings schemas to avoid crashing when schema is missing. r=jfkthame
MozReview-Commit-ID: 2rqO4XpLbfO

--HG--
extra : rebase_source : a6f20cefa04c37bf73574f9065a63e375891bd03
2017-04-16 00:13:07 -07:00
Simon Sapin
9c39cd7b69 servo: Merge #16473 - Upgrade to rustc 1.18.0-nightly (5f13a3b54 2017-04-15) (from servo:rustup); r=emilio
This version enables [struct field reordering][1] which brings the size of the types for specified values of some CSS properties under the threshold such that they shouldn’t be boxed anymore, making unit tests fail.

Simply unboxing them moves the test failure to Stylo’s unit tests, since the stable compiler used in that case does not do field re-ordering. Therefore, we manually reorder a couple fields to effectively bring this optimization to older compilers for a few specific types.

[1]: https://github.com/rust-lang/rust/pull/40377

Source-Repo: https://github.com/servo/servo
Source-Revision: c453e2ef89b32798dabbb23b22cfd5a72dddf6a5

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 89b15d84b3f4b106d58ca90b3fd18f552d1a6633
2017-04-16 00:13:28 -05:00
Phil Ringnalda
9ef70fa376 Backed out changeset e7c2fe034f25 (bug 1356816) for mochitest bustage 2017-04-15 21:42:59 -07:00
Yash Mehrotra
b43a59c0ba servo: Merge #16478 - Support non-negative parsing of lengths for Either<Length, T> types (from yashmehrotra:fix-16423); r=Wafflespeanut
<!-- Please describe your changes on the following line: -->
Implemented a generic `impl<T> Either<Length, T>` which has a `parse_non_negative_length` method.

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #16423

<!-- Either: -->
- [x] These changes do not require tests because this functionality makes code more modular and doesn't change any existing implementation.

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

Source-Repo: https://github.com/servo/servo
Source-Revision: 91bd8f44f2bf373921a8453d4a9732f22d8ee344

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 6527c5e771456dd86aea0fdcbfed5524c935aef3
2017-04-15 23:02:14 -05:00
Ehsan Akhgari
565998d286 Bug 1356835 - Reduce the hashtable lookup cost in nsContentPolicy::CheckPolicy(); r=qdot 2017-04-15 19:10:46 -04:00
Ehsan Akhgari
29071e6146 Backout change fb3c323635d6 (bug 1347400) because the telemetry probe didn't prove to be useful 2017-04-15 17:20:25 -04:00
Kartikaya Gupta
1e8738cabb Merge m-c to graphics
MozReview-Commit-ID: 7iqIrSl2VpU
2017-04-15 17:05:27 -04:00
Kris Maglione
8b4fddd42c Bug 1356827: Don't load the blocklist service before we need it. r=rhelmer
MozReview-Commit-ID: EYkSgnOocWQ

--HG--
extra : rebase_source : 3d5bceeadd95e98de6d67eae5d90182f72e2a46d
2017-04-15 11:35:31 -07:00
Sebastian Hengst
96f0bd0fb6 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-04-15 20:10:39 +02:00
Sebastian Hengst
a7334b2896 Bug 1347709 and Bug 1356569 - Bump eslint plugin version to resolve conflict. r=instruction-by-florian a=bustage-fix
MozReview-Commit-ID: 2zp9hXqxT26

--HG--
extra : amend_source : 465b881899a40cf29d0f3d7dbdd883d8a61edb2c
2017-04-15 20:05:51 +02:00
Kris Maglione
4d4b8c1d3d Bug 1356821: Lazily create console object for bootstrap scopes. r=rhelmer
MozReview-Commit-ID: 1NGObNECE8

--HG--
extra : rebase_source : 98d9bddbc02961d374e0ebe0fd04021eaf0eebcc
2017-04-15 11:03:34 -07:00
Sebastian Hengst
8bd051237a merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: JpAhOPjgvkF
2017-04-15 19:59:24 +02:00
Kris Maglione
e09538853e Bug 1356816: Don't load Extension.jsm on startup just to set the browserUpdated flag. r=rhelmer
MozReview-Commit-ID: C0mtHeZ2cJ

--HG--
extra : rebase_source : 90255959af96b1878d6484718e472db172b02318
2017-04-15 10:13:39 -07:00
Ehsan Akhgari
4d48614a50 Bug 1356755 - Don't pass a null pointer to NotifyDocumentTree(); r=qdot 2017-04-15 12:44:31 -04:00
Olli Pettay
27d9c5656a Bug 1355540, use SegmentedVector for pending links to avoid slow hashtable lookups in hot codepaths, r=bz 2017-04-15 18:55:05 +03:00
Hiroyuki Ikezoe
5d653db212 Bug 1324700 - Update reftest expectations. r=heycam
MozReview-Commit-ID: 38Gk7MCIjJD

--HG--
extra : rebase_source : c731ddc207090ef3c1003a4e7b328e6d939e6c3b
2017-04-15 07:37:35 +09:00
Hiroyuki Ikezoe
0da40fea4c Bug 1324700 - Update assertion counts which had been caused by font handling in canvas element. r=heycam
MozReview-Commit-ID: KPhujlE54vL

--HG--
extra : rebase_source : dff960a2b7c6c010cdbd7a1bb913a3d8eceaeecf
2017-04-15 07:37:35 +09:00
Hiroyuki Ikezoe
df137b26a6 Bug 1324700 - Drop warnings for stylo. r=heycam
The code path no longer happens on stylo.

MozReview-Commit-ID: LdQFPNd5YnX

--HG--
extra : rebase_source : 1213f7e944858ddac8061534823f20177c4f63a6
2017-04-15 07:37:35 +09:00
Hiroyuki Ikezoe
a52cf990ce Bug 1324700 - Resolve filter property for servo. r=heycam
MozReview-Commit-ID: 6IHs682rZfH

--HG--
extra : rebase_source : 6688d70a0c92e27f15e97f0d55062fc74f08339e
2017-04-15 07:37:35 +09:00
Hiroyuki Ikezoe
3f46fb9acf Bug 1324700 - Add a function which is equivalent to ResolveStyleForFilter for servo. r=heycam
Also ResolveStyleForFilter is renamed to ResolveFilterStyle for consistency.

MozReview-Commit-ID: IEOxNexpnl5

--HG--
extra : rebase_source : bd806654b3e5462b3abb4fc226b3824bc0acb71f
2017-04-15 07:37:35 +09:00
Hiroyuki Ikezoe
1e6deac4e2 Bug 1324700 - Resolve font property for servo. r=heycam
MozReview-Commit-ID: BvQXFMP0Zr9

--HG--
extra : rebase_source : 9211fa78dd3bf19afe0564e8328d95df2aa8068a
2017-04-15 07:37:35 +09:00
Hiroyuki Ikezoe
b4e5e8f728 Bug 1324700 - Add a function which is equivalent to GetFontStyleContext() for servo. r=heycam
MozReview-Commit-ID: K4KvPk4fJTb

--HG--
extra : rebase_source : 53d8f91652d803b953a86eb03817d40d89e27069
2017-04-15 07:37:35 +09:00
Hiroyuki Ikezoe
51d6b62cb0 Bug 1324700 - Add an FFI which returns computed values for a given declaration block with/without parent_style. r=heycam
The function uses document's default computed values if the parent style
is not specified.

MozReview-Commit-ID: ICd3phAi0C6

--HG--
extra : rebase_source : 343dee682096b75cd7f905db7207823f7e3624b5
2017-04-15 07:37:35 +09:00
Hiroyuki Ikezoe
175655448b Bug 1324700 - Add a function that checks PropertyDeclarationBlock has a CSSWideKeyword for a given property. r=heycam
It will be used to check whether the PropertyDeclarationBlock has 'inherit',
'initial' or 'unset'.


MozReview-Commit-ID: JxlxAJJSNJI

--HG--
extra : rebase_source : 99912dcbcfb39e2710e822b93c7933af79b5421b
2017-04-15 07:37:34 +09:00
Hiroyuki Ikezoe
a469fe8fd0 Bug 1324700 - Add a function which is equivalent to CreateDeclaration() for servo. r=heycam
MozReview-Commit-ID: 8zgpqLzftbV

--HG--
extra : rebase_source : 6940af726bba96295a7402b4791f170a606fc0f4
2017-04-15 07:37:34 +09:00