Commit Graph

531086 Commits

Author SHA1 Message Date
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
Hiroyuki Ikezoe
a7215d7152 Bug 1324700 - Add ResolveServoTransientStyle to get servo's computed values instead of nsStyleContext. r=heycam
Also this patch add nsIAtom as an argument to ResolveTransientStyle() to call
the new function ResolveServoTransientStyle easier. The only call site of the
ResolveTransientStyle() has already nsIAtom* there.

MozReview-Commit-ID: IwxqZbaCSpB

--HG--
extra : rebase_source : b94a3a8723fe53f38eb6144a5926dec3d7796e72
2017-04-15 07:37:34 +09:00
Hiroyuki Ikezoe
d034849334 Bug 1324700 - Call PreTraverseSync() before calling ResolveStyleLazily() in ResolveTransientStyle(). r=heycam
MozReview-Commit-ID: 5KMELNYZJnq

--HG--
extra : rebase_source : 025a0d2267144bd631f28f554dba54352b13a43b
2017-04-15 07:37:34 +09:00
Hiroyuki Ikezoe
784bf46abc Bug 1324700 - Servo_ParseProperty() takes nsCSSPropertyID instead of nsACString. r=heycam
MozReview-Commit-ID: Gn90DBlJSS9

--HG--
extra : rebase_source : 444f4188de7e32f5414f2b75046903dc504db1a0
2017-04-15 07:37:34 +09:00
Hiroyuki Ikezoe
b802b1057e servo: Merge #16470 - Canvas font handling (from hiikezoe:canvas-font-handling); r=heycam
<!-- Please describe your changes on the following line: -->
This is a PR for https://bugzilla.mozilla.org/show_bug.cgi?id=1324700

---
<!-- 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

<!-- Either: -->
- [X] These changes do not require tests because it's for stylo.

<!-- 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: a9e917cf87a0a72c41cedfb67e053e08fdfa5ebe

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 217bdbf43760bdfbe508fad71d3068746243da6d
2017-04-15 06:20:52 -05:00
Ricky Chien
5caf480904 Bug 1356786 - Add waitUntil in browser_webconsole_shows_reqs_in_netmonitor.js r=ntim
MozReview-Commit-ID: 1cLwVeaortC

--HG--
extra : rebase_source : beb312634f4956be6588b7b537911082a2bb0942
2017-04-15 19:38:00 +08:00
Patrick McManus
73623721fb Bug 1356611 - per connection cache of JoinConnecton() r=nwgh
MozReview-Commit-ID: 6s0x9OWhhN1

--HG--
extra : rebase_source : 741b729d8a581d31b73ead810dbf0edae34386c4
2017-04-14 17:24:53 -04:00
Sebastian Hengst
cfea98eabf merge mozilla-central to autoland. r=merge a=merge 2017-04-15 20:08:03 +02:00
Shane Caraveo
b5b8babab9 Bug 1353073 handle contextmenu in sidebar when remote=true, r=kmag
MozReview-Commit-ID: BSmPhaNYmYe

--HG--
extra : rebase_source : 28bfeba3128e6e344b819b9b24aa37c9ea767118
2017-04-15 10:30:44 -07:00
Markus Stange
10503b8ef0 Bug 1313977 - Don't round fractional mouse coordinates up, because doing so might push them outside the window. r=kats
On my machine, if I have my mouse cursor positioned flush against the right
edge of my screen (which is 1440x900@2x), locationInWindow has an x coordinate
of 1439.99609375. This value was rounded up to an integer screen coordinate of
2880, and for that coordinate we don't find a target APZC, and consequently
refuse to scroll.

MozReview-Commit-ID: CJic4g3Y6Ag

--HG--
extra : rebase_source : 6e2405e9370046b5359d3800c1d0f70c3059074e
2017-04-15 11:02:09 -04:00
Florian Queze
4c6a68d1c9 Bug 1355161 - script-generated patch to replace .{currentThread,mainThread}.dispatch(..., Ci.nsIThread.DISPATCH_NORMAL) with .dispatchToMainThread(...), r=froydnj. 2017-04-14 18:29:12 +02:00
Florian Queze
3d54f37495 Bug 1355161 - provide a scriptable equivalent of NS_DispatchToMainThread, r=froydnj. 2017-04-14 18:27:32 +02:00
Masatoshi Kimura
48a997a3cb Bug 1356218 - Fix nsDeviceContext::GetDepth to use the information from the correct monitor. r=jfkthame
MozReview-Commit-ID: BQpm6y3Ayo4

--HG--
extra : rebase_source : c798db446d28c0621d38fb65a5345300ace8cca7
2017-04-14 20:50:13 +09:00
Masatoshi Kimura
df6ee97f6a Bug 1356218 - Make screen.colorDepth multi-monitor aware. r=jimm
MozReview-Commit-ID: JrQL23DgZsw

--HG--
extra : rebase_source : 932e17cc61ba1a7344b1740ed14ece0484200e32
2017-04-18 00:21:55 +09:00
Ryan Hunt
444067a435 Bug 1356371 - Use cbindgen for WebRender bindings generation r=kats
This commit adds some directives to help cbindgen generate correct
structs and functions, removes some old FFI code that isn't needed
anymore, and regenerates webrender_ffi_generated.h

MozReview-Commit-ID: KZSEZEN671A

--HG--
extra : rebase_source : 23a07dd11037943156983d9facc039bb7af51c95
2017-04-13 15:45:51 -04:00
Ryan Hunt
422ca37abb Bug 1356371 - Create a WrExternalImageId because ExternalImageId is not repr(C) r=kats
This is only temporary as ExternalImageId has been made repr(C) upstream.

MozReview-Commit-ID: 1On7fRbNI4o

--HG--
extra : rebase_source : 91cb93829de5ccf0a6f0a05ed0d2169268b6c18c
2017-04-13 15:31:09 -04:00
Ryan Hunt
d2799c4902 Bug 1356371 - Create a WrRenderedEpochs struct r=kats
This helps cbindgen know to generate a opaque struct for WrRenderedEpochs.

MozReview-Commit-ID: 7moOEBjjbOO

--HG--
extra : rebase_source : 49b3887ae21f659ac353b861f3566cc2817103b0
2017-04-13 15:03:44 -04:00
sotaro
43525e6cb0 Bug 1356190 - Fix GetNextExternalImageId() r=jrmuizel 2017-04-14 17:06:09 +09:00
Kartikaya Gupta
a31c603d6e Bug 1355679 - Handle GPU resets more gracefully. r=sotaro
MozReview-Commit-ID: Jwet83crhPW
2017-04-14 00:03:26 -04:00