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

13121 Коммитов

Автор SHA1 Сообщение Дата
Chris Peterson 870028fdbf Bug 1356843 - Fix -Wcomma warning in modules/libjar/nsZipArchive.cpp. r=aklotz
clang's -Wcomma warning warns about suspicious use of the comma operator such as between two statements or to call a function for side effects within an expression.

modules/libjar/nsZipArchive.cpp:651:25 [-Wcomma] possible misuse of comma operator here

MozReview-Commit-ID: 9PjB915D81f

--HG--
extra : rebase_source : c494c2f4a8291d6c08f02765e988c1fd14079e54
extra : source : 3643e37b615c4461b6a9359856731252acc36465
2017-03-27 21:39:36 -07:00
Arthur Edelstein 07b1d25b5a Bug 1357247 - Fix comment for network.http.referer.hideOnionSource. r=mcmanus
DONTBUILD
2017-04-19 17:08:00 -04:00
Carsten "Tomcat" Book 87edaf78ee Merge mozilla-central to autoland
--HG--
extra : rebase_source : 46bdde97ce6567ce8a06b1609de547ef11b24c2a
2017-04-20 13:06:52 +02:00
Valentin Gosu 0a4d506e21 Bug 1354349 - Add nsIChannel.isDocument that checks if LOAD_DOCUMENT_URI is set, or if LOAD_HTML_OBJECT_DATA and the channel has the appropriate MIME type r=mcmanus,mystor
MozReview-Commit-ID: K28Opd9JTr2

--HG--
extra : rebase_source : d1a786d9b4318be15f195fdc330489121ebd6ece
2017-04-20 10:15:06 +08:00
Jim Porter 3517459260 Bug 1352069 - Introduce a pref that allows for disabling cosmetic animations r=jaws
This rolls browser.tabs.animate, browser.fullscreen.animate, and
alerts.disableSlidingEffect into a single pref; if any of these are disabled,
we'll disable the new pref too (toolkit.cosmeticAnimations.enabled). Most
future animations will also be subject to this pref.

MozReview-Commit-ID: 77pLMtERDna

--HG--
extra : rebase_source : 8939e453c2277caa4a90123ae09bb542aaa421ed
2017-04-11 13:47:31 -05:00
Aryeh Gregor 247ef5209d Bug 1357482 - Disable editor.use_div_for_default_newlines for beta and later; r=masayuki
Per discussion on dev.platform, this is risk-prone, and we want more
time baking on nightlies and early betas to see if it causes problems.

MozReview-Commit-ID: CaprjWxYfbC

--HG--
extra : rebase_source : d8adf27d78ea258af88d4f05d87cd0caf9c5bdb9
2017-04-18 20:25:50 +03:00
Gerald Squelart 58096b0b9e Bug 1357297 - Restrict media decode issues that show user notification - r=jwwang
The media prefs "media.decoder-doctor.decode-{errors,warnings}-allowed" list
which decode issue codes will show the "Report Site Issue" notification.

Default: NS_ERROR_DOM_MEDIA_DEMUXER_ERR and NS_ERROR_DOM_MEDIA_METADATA_ERR,
which are the kinds of errors we currently care most about, and have more
chance to fix.

MozReview-Commit-ID: JbY2pwv4TXP

--HG--
extra : rebase_source : 65809f5eb3ace85e25b01c0d1cdfdd068c467ca0
2017-04-19 09:42:45 +12:00
Mike Hommey 360f6a5284 Bug 1355671 - Build the brotli command line tool as a host program. r=gps
--HG--
extra : rebase_source : eab3f25b3052a12debf4fbd2adc3d05940afbc6a
2017-04-07 17:02:54 +09:00
Mike Hommey 202ee4cc41 Bug 1355671 - Import brotli encoder and command line tool code. r=gps
--HG--
extra : rebase_source : 1f8536a985a33fc8bbce0f8df93c3d4ca282e05c
2017-04-07 15:57:31 +09:00
Sebastian Hengst ecfcb4d087 Backed out changeset 820a15b7a5dd (bug 1355671) for Windows static failures. r=backout 2017-04-19 00:03:35 +02:00
Sebastian Hengst 7d76905046 Backed out changeset 5dd97d010a17 (bug 1355671) 2017-04-19 00:03:01 +02:00
Mike Hommey d45031b1f1 Bug 1355671 - Build the brotli command line tool as a host program. r=gps
--HG--
extra : rebase_source : 5d8712966146986fce343bb6fa2886fb84e92ee0
2017-04-07 17:02:54 +09:00
Mike Hommey 057318a71f Bug 1355671 - Import brotli encoder and command line tool code. r=gps
--HG--
extra : rebase_source : f7a1326a7d39a34828b596140da8482718828352
2017-04-07 15:57:31 +09:00
Mike Hommey 8f667a0d22 Bug 1355661 - Add support for brotli streams in Jar archives. r=aklotz
Modern compression algorithms are better than zlib both in terms of
space and time. The jar format, used for e.g. omni.ja, addons, etc.
could benefit from using such modern algorithms, but the format only
allows a limited set of compression algorithms.

However, the format in itself is flexible, in that it can be extended
with arbitrary compression algorithms. This breaks compatibility with
programs like unzip, obviously, but we've never promised the files
shipped with Firefox will always remain "valid" zips (which they already
aren't, but they currently work with most zip readers).

With this change, we allow those archives to contain brotli streams,
using an arbitrary large value for the compression type in the Zip local
file header. This only allows to read such archives, but not to produce
them, and, for now, support for brotli streams is kept Nightly-only,
until everything is pieced together and we're happy to ship it.

--HG--
extra : rebase_source : fa637251f460ad0d91d5f5bec392c6e59555e80d
2017-04-07 14:48:25 +09:00
Mike Hommey af3b61e59a Bug 1355661 - Continue inflating even when the Fd was closed, as long as there is still output pending. r=aklotz
This appears to have been "broken" since bug 510844, for some value of
broken where it doesn't actually cause any problem in practice because
of how zlib behaves.

That is, in practice, we always still have input to process when there's
pending output. But while that's true with zlib, that's not necessarily
true for other decompressors (e.g. brotli).

--HG--
extra : rebase_source : 7572139f8e2b3df8c6b68123c0a14524dddb3faf
2017-04-07 14:05:23 +09:00
Francois Marier 6321486d37 Bug 1354713 - Make use of the application reputation allow list on OSX and Linux. r=gcp
Since the allow list contains both hostnames and certificate hashes, it makes sense
to use it on all platforms.

MozReview-Commit-ID: 1icRFYhhnAY

--HG--
extra : rebase_source : bcb6113090546cdca2b4f2dd120db98ffb511b0d
2017-04-07 16:07:41 -07:00
Aryeh Gregor bf0619d365 Bug 1354060 - Put defaultParagraphSeparator default change behind pref; r=masayuki
This is regression-prone, so dev.platform discussion concluded we want
it behind a pref.  We might turn the pref off for beta and/or release
for now as well.

MozReview-Commit-ID: 2H2et3RElZx

--HG--
extra : rebase_source : baf7e679ca1ee16016666d7697990c4f64ecf83e
2017-04-06 15:02:42 +03:00
Carsten "Tomcat" Book 7ba1b88f0b Backed out changeset ec9fb39f7133 (bug 1354349) for bustage 2017-04-18 08:52:14 +02:00
Valentin Gosu 8f33abcc56 Bug 1354349 - Add nsIChannel.isDocument that checks if LOAD_DOCUMENT_URI is set, or if LOAD_HTML_OBJECT_DATA and the channel has the appropriate MIME type r=mcmanus,mystor
MozReview-Commit-ID: K28Opd9JTr2

--HG--
extra : rebase_source : 226ef1e6685a9608aa7c07d3c83b048d6e1e7278
2017-04-18 11:25:47 +08:00
DimiL a1e69433d3 Bug 1329817 - Enable V4 lookups. r=francois
After this patch is introduced, url-classifier will return merged classify result
from V2 and V4.

--HG--
extra : rebase_source : 1940f8617547878b87a5808479ef9d46e6722a92
2017-04-17 08:51:16 +08:00
Markus Stange 43a18179f1 Bug 1356751 - Remove unused pref layout.frame_rate.precise. r=mchang
MozReview-Commit-ID: 2QjinjJHzUh

--HG--
extra : rebase_source : ab4514e5354b77f3a80ef8f1bdf5e6ba73cc4739
2017-04-15 00:23:08 -04:00
Chris Pearce ce7bb69227 Bug 1358373 - Handle underestimating how many shmems the CDM needs to return decoded video frames to Gecko. r=gerald
The CDM process can't allocate shmems itself because it's sandboxed, so we
pre-allocate shmems in the content process and send them to the GMP process for
the CDM to use. Some sites seem to have encoded their content in such a way as
to cause the CDM to allocate and hang onto more frames than we pre-allocate; so
we run out of shmems in the GMP process, and the CDM can't allocate further
buffers to return output, and we fail.

So change the ChromiumCDMChild to allocate non-shmem-backed buffers if it runs
out of shmems, and return the result to the content process as an nsTArray.
Upon receiving that, the parent will send an extra shmem to the child, to
hopefully avoid the slow path again.

Also increase media.eme.chromium-api.video-shmems to 4, so that we're less
likely to hit this slow path in the wild. I've seen that Lightbox.co.nz and
Microsoft's EME test-drive require 4 shmems.

MozReview-Commit-ID: ISQYDkTj5uY

--HG--
extra : rebase_source : 92870f1adc7ae68e58b15443e4223012bdf0e39a
2017-04-26 15:46:09 +12:00
Iris Hsiao c43c229375 Backed out changeset 0b8bf5cb743f (bug 1358373) for build bustage. a=backout
CLOSED TREE

--HG--
extra : amend_source : f6fd0c93b8b1ff9cc111cc4bc7776dd8e2a383d0
2017-04-27 10:10:47 +08:00
Chris Pearce ecfe3c34c4 Bug 1358373 - Handle underestimating how many shmems the CDM needs to return decoded video frames to Gecko. r=gerald
The CDM process can't allocate shmems itself because it's sandboxed, so we
pre-allocate shmems in the content process and send them to the GMP process for
the CDM to use. Some sites seem to have encoded their content in such a way as
to cause the CDM to allocate and hang onto more frames than we pre-allocate; so
we run out of shmems in the GMP process, and the CDM can't allocate further
buffers to return output, and we fail.

So change the ChromiumCDMChild to allocate non-shmem-backed buffers if it runs
out of shmems, and return the result to the content process as an nsTArray.
Upon receiving that, the parent will send an extra shmem to the child, to
hopefully avoid the slow path again.

Also increase media.eme.chromium-api.video-shmems to 4, so that we're less
likely to hit this slow path in the wild. I've seen that Lightbox.co.nz and
Microsoft's EME test-drive require 4 shmems.

MozReview-Commit-ID: ISQYDkTj5uY

--HG--
extra : rebase_source : 4beba0212411a0f5867feb506bbf732f5a934fa9
2017-04-26 15:46:09 +12:00
Andrew Swan ab7396c05a Bug 1356027 Add pref to disable non-MPC extensions r=mossop
MozReview-Commit-ID: 9TdZf3hnLZl

--HG--
extra : rebase_source : bebe88b10ff9afe7b4fda93025cd85435ad16913
2017-04-12 22:13:49 -07: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
Shawn Huang 3ee2d007ef Bug 1286717 - Part 2: Add mochitests for persist/persisted functions, r=janv 2017-04-17 15:06:39 +08:00
JW Wang 7c42af4b6f Bug 1347174 - per comment 10, limit the readahead size to prevent cache thrashing. r=cpearce
MozReview-Commit-ID: Ellinh8JIYE

--HG--
extra : rebase_source : 8f63ba1fd29e631cdafd5e56dbab958e7b044f0f
extra : intermediate-source : 0fe99aa9945fa33925a7885643af92bc007c338b
extra : source : f729d3953b822b5ecc208b46ac9fc0505aa69332
2017-04-27 10:35:08 +08:00
Wes Kocher 75c2b7a481 Merge m-c to autoland, a=merge
MozReview-Commit-ID: 3BrkDVl7521
2017-05-08 16:24:51 -07:00
Johann Hofmann b7bb50ba55 Bug 1337246 - Part 2 - Detect local IP addresses to ignore for insecure password warnings. r=MattN
MozReview-Commit-ID: 2IWvOJNTnNB

--HG--
extra : rebase_source : db9a82f764fddbd9cbd8fd625fa8e4caf6b77577
2017-05-08 14:58:53 -04:00
Bobby Holley f9bb028811 Bug 1364428 - Add a separate define for enabling stylo; r=rillian
This completes the separation between "build stylo" and "enable stylo"
that we started in the build system a few commits ago.
2017-05-18 18:39:39 -04:00
Florian Queze f935ddc4b3 Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws. 2017-04-14 21:51:39 +02:00
Florian Queze 37ff4fc7cc Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Sebastian Hengst a07223d699 Backed out changeset 322fde2d53bf (bug 1356569) so bug 1355161 can be backed out. r=backout 2017-04-14 23:39:22 +02:00
Sebastian Hengst 738d097aae Backed out changeset 55f3df15eaa6 (bug 1356569) 2017-04-14 23:39:17 +02:00
Florian Queze 3c564a2b02 Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws. 2017-04-14 21:51:39 +02:00
Florian Queze 95d4d20c17 Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Phil Ringnalda 8f80a596ae Backed out changeset 25b64d100bda (bug 1321865) for test_intersectionobservers.html failures
CLOSED TREE
2017-04-13 19:25:35 -07:00
Tobias Schneider 3479fc4282 Bug 1321865 - Enable IntersectionObserver and tests. r=smaug, r=jet
--HG--
extra : source : cd23e1fc730bb549e4a227e3616a730aab1907f3
extra : intermediate-source : 83041db77fcfc47c97f6fa2142ad0538940349b2
2017-01-11 13:07:18 -08:00
Sebastian Hengst 30174eeecb Backed out changeset 83041db77fcf (bug 1321865) for frequently failing test_intersectionobservers.html. r=backout 2017-04-13 23:53:12 +02:00
Masatoshi Kimura 81f44024c4 Bug 1353936 - Use PREF_RegisterPriorityCallback from Add*VarCache. r=froydnj
MozReview-Commit-ID: LOxPTBqol9X

--HG--
extra : rebase_source : a91abf88ac69c4b402d04795ed8bbadadcbea3e9
2017-04-12 00:17:52 +09:00
Masatoshi Kimura 8bac3aec08 Bug 1353936 - Implement PREF_RegisterPriorityCallback. r=froydnj
MozReview-Commit-ID: 1tdE6boBUVO

--HG--
extra : rebase_source : 904bc4b8700fa89bf3e3f638a8a5a09d0c6955ac
2017-04-12 21:10:57 +09:00
Masatoshi Kimura c23a3b0c04 Bug 1353936 - Test to ensure var caches are updated before any other ExactMatch callbacks. r=froydnj
MozReview-Commit-ID: KWNxdpFwsjq

--HG--
extra : rebase_source : f64f97af0d5fd0eddb974b186a7a5adfd468645f
extra : source : c8d89377e1842d584889c926e8dfa47d2bd6b12d
2017-04-08 23:45:10 +09:00
Kearwood Gilbert 0a3160aef4 Bug 1343368 - [webvr] Enable WebVR 1.1 By Default on Windows in Release r=daoshengmu
MozReview-Commit-ID: 21qcbKyNfNY

--HG--
extra : rebase_source : 79cf8174363d4c90f7a5381a47d6e01f92ec53fb
2017-04-13 01:05:11 -07:00
Honza Bambas c195f6ee04 Bug 1348061 - When an HTTP channel is throttled, stop reading from the socket when using HTTP/1. r=mcmanus 2017-04-13 05:26:00 -04:00
Tobias Schneider b57619bbdc Bug 1321865 - Enable IntersectionObserver and tests. r=smaug, r=jet
--HG--
extra : source : cd23e1fc730bb549e4a227e3616a730aab1907f3
extra : intermediate-source : 718fb66559f71d1838b3bc6b187e050d44e3f566
2017-01-11 13:07:18 -08:00
Patrick McManus b4f95d2524 Bug 1355875 - tweak network.http.spdy.timeout to align with google.com r=nwgh
MozReview-Commit-ID: VibLlH8wXW

--HG--
extra : rebase_source : 95abd6dc55217c57879e0baf2d279f706197e51a
2017-04-13 10:50:13 -04:00
Wes Kocher 2986c817dc Merge autoland to central, a=merge CLOSED TREE 2017-04-12 15:13:30 -07:00
Wes Kocher 25d50f2c30 Merge inbound to central, a=merge 2017-04-12 14:39:09 -07:00
Iris Hsiao d13a81eccb Merge mozilla-central to mozilla-inbound 2017-04-12 11:24:24 +08:00
Iris Hsiao 944f87c575 merge mozilla-inbound to mozilla-central a=merge 2017-04-12 11:16:46 +08:00
Petr Sumbera 19ea5cacf5 Bug 1350355 - fdlibm should provide definition for u_int32_t and u_int64_t. r=arai
--HG--
extra : rebase_source : ef6ae7b88fd98d8e6e7d37f5ebbb1b56f3c669ac
2017-03-27 03:33:34 -07:00
Nathan Froyd d337918230 Bug 1355097 - adjust asserts in Preferences::InitStaticMembers to account for Stylo; r=Manishearth 2017-04-11 09:39:32 -04:00
Jim Mathies 0c32abc1ad Bug 1340934 - Enable flash async drawing on release channels. r=bsmedberg
MozReview-Commit-ID: 6SmdWRrGmEI
2017-03-15 09:28:55 -05:00
Florian Queze b5916a37c7 Bug 1355216 - Mark last parameters that are almost always falsy as optional, r=froydnj. 2017-04-12 00:07:30 +02:00
Eric Rahm 200e538796 Bug 1354613 - Part 3: Stop mutating the pref branch name when retrieving it. r=froydnj
This adds a PrefName wrapper that allows use to avoid copying the pref name
string in the fast root pref branch case, but also allows to create a new
string in the slower non-root pref branch case. By creating a new string we
avoid the odd behavior of mutating the pref branch name with each retrieval.

MozReview-Commit-ID: HGCLbpGmKrr
2017-04-11 14:00:19 -07:00
Eric Rahm 7ab6120424 Bug 1354613 - Part 2: Fix GetFloatPref on non-root branches. r=bsmedberg
MozReview-Commit-ID: 1NLBQQ40sae
2017-04-11 14:00:17 -07:00
Eric Rahm 591d767fd9 Bug 1354613 - Part 1: Fix the observer portion of test_libPrefs.js. r=bsmedberg
This updates test_libPrefs.js so that it actually runs all the observer
portion of it's tests. Previously the observer callback would get hit before
the next do_test_pending call could be run, thus causing the test to end.

An additional test was added to confirm that registering for multiple prefs on
a non-root pref branch works as intended.
2017-04-11 14:00:16 -07:00
Kearwood Gilbert 9b5d5e89c3 Bug 1343374 - Enable OpenVR by default on Windows r=daoshengmu
MozReview-Commit-ID: F3ShbndkAHb

--HG--
extra : rebase_source : 1a22a32ad850383e40c0f8d8c325db900c9cef3e
2017-04-11 16:02:59 -07:00
Fischer.json 2f7b2ff390 Bug 1309123 - Show persistent-storage permission request notification, r=florian
MozReview-Commit-ID: H3YAalEyWME

--HG--
extra : rebase_source : 486c5ed353d048c832baf3d6ec81e74c617b5761
2017-04-11 12:07:29 +08:00
Kearwood Gilbert 8cedccb89e Bug 1341423 - Integrate OpenVR binding library r=daoshengmu
MozReview-Commit-ID: GaUnfbXgh9L

--HG--
rename : gfx/vr/openvr/openvr.h => gfx/vr/openvr/headers/openvr.h
extra : rebase_source : e7a0983371c1ed381ddf431e2d5a814c510d4967
2017-02-27 16:59:30 -08:00
Iris Hsiao 05ad633169 Merge mozilla-central to autoland
--HG--
extra : rebase_source : 191c554cc14a76f0df547033c99e201d1ce7d915
2017-04-12 11:18:49 +08:00
Gerald Squelart 4101482ad6 Bug 1343437 - 'media.playback.warnings-as-errors' pref - r=jya
If 'media.playback.warnings-as-errors' is true, demuxing and decoding warnings
(i.e., non-fatal errors) will be treated as errors, causing playback to fail.

Currently set to false by default.

This could be later changed to catch and diagnose more issues.

MozReview-Commit-ID: BTaZ6TbIbNG

--HG--
extra : rebase_source : bacc24a46f588dd344e6d46178ae2d2c58882fcb
2017-03-03 16:10:48 +11:00
Valentin Gosu 223b5464d4 Bug 1325341 - Query the cache index to get if the entry has alt data and its fileSize r=michal
MozReview-Commit-ID: 6wqsexqJq3u
2017-04-10 14:22:23 +03:00
Valentin Gosu 8460873144 Bug 1325341 - Racing cache with network should be disabled by default r=michal
MozReview-Commit-ID: CjidldaaJvQ
2017-04-10 14:22:21 +03:00
Valentin Gosu 484c99c581 Bug 1325341 - Add code that triggers racing the network and cache requests r=michal
The racing algorithm is quite simple at this point:
If racing is enabled, the request is allowed to hit the network, and the cache queue size is bigger than a certain threshold, then we trigger the network right before we query the cache.

MozReview-Commit-ID: JklG4P1eRyO
2017-04-10 14:22:20 +03:00
Manish Goregaokar 7bb5610731 Bug 1351200 - Part 1: stylo: Allow fetching prefs on servo traversal threads; r=froydnj
MozReview-Commit-ID: 7MMWyX1t5CR
2017-04-10 09:17:40 +08:00
Sebastian Hengst ed655b907f merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-04-08 22:56:39 +02:00
Sebastian Hengst 6a5fe3bae0 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: IkoXCAwjjKu
2017-04-08 22:49:04 +02:00
Timothy Nikkel d8324680ad Bug 686905. Enable the pref image.mem.animated.discardable to allow discarding of animated images. r=aosmond 2017-04-07 01:53:36 -05:00
Phil Ringnalda 7f3c345b30 Backed out changeset 50aee6c86901 (bug 686905) for not getting its test failure dependency fixed
CLOSED TREE
2017-04-07 21:34:00 -07:00
Boris Zbarsky ca77a52851 Bug 1353150. Add a preference that controls whether named properties object properties are exposed on Xrays, with a default of "not exposed in web extension content scripts". r=bholley
MozReview-Commit-ID: E8CqW16uH3M
2017-04-08 13:03:12 -04:00
Bill McCloskey 172e502215 Revert "Bug 1340719 - Throw an exception if accessing Xray from wrong docgroup (r=bholley)"
This reverts commit ff10f4faedd42f13ed2899cf4ea05c47411aba95.
2017-04-07 14:23:06 -07:00
Timothy Nikkel bd202cc8d5 Bug 686905. Enable the pref image.mem.animated.discardable to allow discarding of animated images. r=aosmond 2017-04-07 01:53:36 -05:00
Carsten "Tomcat" Book 3a762886de Merge mozilla-central to mozilla-inbound 2017-04-07 15:33:03 +02:00
Carsten "Tomcat" Book 4498986a6c Backed out changeset 445859a4438c (bug 686905) for frequent failures in test_discardAnimatedImage.html 2017-04-07 14:15:19 +02:00
Joel Maher 1d28e958d8 Bug 1313972 - backout bug 1321865 for extremely high test failure rate. r=me
MozReview-Commit-ID: 365ppF9DbRb
2017-04-07 05:09:47 -04:00
Timothy Nikkel af5d5edd3b Bug 686905. Enable the pref image.mem.animated.discardable to allow discarding of animated images. r=aosmond 2017-04-07 01:53:36 -05:00
Ting-Yu Lin 867c2263f2 Bug 1312328 - Remove CSS variables preference "layout.css.variables.enabled". r=xidorn
MozReview-Commit-ID: HwYpwbhQkZj

--HG--
extra : rebase_source : 245d116b1fef01fa1db11eef70aa0379e8a9c9e9
2017-04-07 00:29:39 +08:00
Mike Hommey d6aaa996f4 Bug 1353990 - Stop exporting brotli headers. r=gps
They have generic names, and are potentially conflicting with
in-tree headers with the same name (which is true for at least port.h).

There aren't enough users of brotli to want to avoid LOCAL_INCLUDES
in the directories that use it.

--HG--
extra : rebase_source : 82531ac5961ad80e1b3d0c1484a2f146be194411
2017-04-06 13:44:47 +09:00
Mike Hommey a1829611bc Bug 1353990 - Stop exporting woff2 headers. r=gps
woff_out.h includes port.h (actually, worse, "./port.h"), and in
dist/include, port.h is actually *not* the one from woff2...

We've just been lucky it's worked so far.

--HG--
extra : rebase_source : 65537c1f6c0ba540e0c93ef2c8ba587e5903d273
2017-04-06 13:42:27 +09:00
Kearwood Gilbert 9466b8b744 Bug 1350076 - Add a preference to allow proximity sensor triggering of vrdisplayactivate and vrdisplaydeactivate r=daoshengmu
MozReview-Commit-ID: CIPwXAofYhD

--HG--
extra : rebase_source : ed592a84b721fdba407175ada1abf831eb785357
2017-04-04 11:28:56 -07:00
Carsten "Tomcat" Book 1aa7e647b7 Merge mozilla-central to autoland 2017-04-06 13:11:40 +02:00
Carsten "Tomcat" Book 207b516e89 merge mozilla-inbound to mozilla-central a=merge 2017-04-06 12:50:50 +02:00
Kearwood Gilbert f12b0d6228 Bug 1353481 - When vrdisplayactivate is triggered by link traversal, VRDisplay.requestPresent should relax the user gesture requirement r=daoshengmu
MozReview-Commit-ID: 8viFBiY8A6m

--HG--
extra : rebase_source : 67ad50e7c6389d2fa6406aef4a979a50fc744c8d
2017-04-04 11:27:14 -07:00
Chris Pearce 291619f045 Bug 1353929 - Enable new Chromium Widevine IPC protocol. r=gerald
This gives us simpler code, and eliminates some extra frame copies.

MozReview-Commit-ID: 10N0O9Pn0Kw

--HG--
extra : rebase_source : 8c99178ac94b3f580772598766b2e701da7cfe2c
extra : intermediate-source : 6d6877aa1d1905a2bc05dbf77bb4122af1722719
extra : source : 05f80a9025abea168ca2ee649316422418d08dc0
2017-03-08 17:24:28 +13:00
Chris Pearce 967567edb5 Bug 1351953 - Pre-allocate shmems for the CDM process to use for storing decrypted and audio samples. r=gerald
Makes transfer of samples between the content and CDM processes use shmems.

The Chromium CDM API requires us to implement a synchronous interface to supply
buffers to the CDM for it to write decrypted samples into. We want our buffers
to be backed by shmems, in order to reduce the overhead of transferring decoded
frames. However due to sandboxing restrictions, the CDM process cannot allocate
shmems itself.  We don't want to be doing synchronous IPC to request shmems
from the content process, nor do we want to have to do intr IPC or make async
IPC conform to the sync allocation interface. So instead we have the content
process pre-allocate a set of shmems and give them to the CDM process in
advance of them being needed.

When the CDM needs to allocate a buffer for storing a decrypted sample, the CDM
host gives it one of these shmems' buffers. When this is sent back to the
content process, we copy the result out (uploading to a GPU surface for video
frames), and send the shmem back to the CDM process so it can reuse it.

We predict the size of buffer the CDM will allocate, and prepopulate the CDM's
list of shmems with shmems of at least that size, plus a bit of padding for
safety. We pad frames out to be the next multiple of 16, as we've seen some
decoders do that.

Normally the CDM won't allocate more than one buffer at once, but we've seen
cases where it allocates two buffers, returns one and holds onto the other. So
the minimum number of shmems we give to the CDM must be at least two, and the
default is three for safety.


MozReview-Commit-ID: 5FaWAst3aeh

--HG--
extra : rebase_source : a0cb126e72bfb2905bcdf02e864dc654e8340410
2017-03-28 18:59:11 +13:00
Wes Kocher 264adb55c2 Merge m-c to autoland, a=merge 2017-04-05 14:20:01 -07:00
Carsten "Tomcat" Book c5364b4b43 Merge mozilla-central to mozilla-inbound 2017-04-05 14:50:28 +02:00
Carsten "Tomcat" Book 7a670cdd01 merge mozilla-inbound to mozilla-central a=merge 2017-04-05 14:33:35 +02:00
Tom Ritter 3dae79d1cd Bug 1329336 Block remote jar files by default r=valentin
MozReview-Commit-ID: CqmTk9ICHVF

--HG--
extra : rebase_source : bb0c71a40e301ddd08a5718a4998d3656273c371
2017-04-05 11:18:34 -05:00
bechen adb93a2342 Bug 1318542 - Add preference "media.webvtt.pseudo.enabled". r=rillian
MozReview-Commit-ID: BrdCPgapAYi

--HG--
extra : rebase_source : fdfd90313373394f2dc7f36c61a3a3fbd06c70f3
2017-04-05 10:48:49 +08:00
Wes Kocher bceaacd2b8 Merge inbound to central, a=merge 2017-04-04 11:25:13 -07:00
Carsten "Tomcat" Book a0fea1ad49 Merge mozilla-central to mozilla-inbound 2017-04-04 12:37:56 +02:00
Gabor Krizsanits e15a95ff00 Bug 1304546 - Turning on e10s-multi in Aurora. r=mrbkap 2017-04-04 10:30:27 +02:00
Carsten "Tomcat" Book 68008bab43 Backed out changeset a52e75fdda07 (bug 1277709) for 10.10 xpcshell failures 2017-04-04 09:55:54 +02:00
L. David Baron 0b145fb182 Bug 1277709 - Make threadsafe reference counting use the minimum memory sychronization needed. r=froydnj
This uses std::atomic rather than mozilla::Atomic since mozilla::Atomic
does not support using different memory synchronization for different
atomic operations on the same variable.

The added comments could use careful review since, while they reflect my
understanding of the issue, I don't consider myself an expert on the
topic.

MozReview-Commit-ID: 7xByCXt17Dr

--HG--
extra : transplant_source : 8%8Ci%CC%EA%0F%CF%C7%3E%F1%93%F5%C9%ED9%84%F9%3Evx
2017-04-03 20:43:29 -07:00
Wes Kocher 53dde6a1d2 Merge inbound to central, a=merge 2017-04-03 14:50:18 -07:00
Bob Owen bb2896c875 Bug 1352359: Set dom.ipc.processCount.file to 1. r=gabor
MozReview-Commit-ID: 2KDYLhr8U6W
2017-04-03 15:20:21 +01:00
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
Masayuki Nakano adf635abc7 Bug 1344990 part.2 Set each "font.name.*" to empty string which means "default" and move the values to first item of "font.name-list.*" on any platforms r=jfkthame
This patch sets all "font.name.*" prefs to empty string which will mean "default".

And also existing values of "font.name.*" prefs are moved to the first item of "font.name-list.*".  The first item should be used when "font.name.*" is "default".

MozReview-Commit-ID: JxgiCSc1mka

--HG--
extra : rebase_source : 7e87916cebb7735b899fa1bc789b86d2e80b95f8
2017-04-03 20:22:31 +09:00
Martin Stransky 55a8aace48 Bug 1158076 - add prefs to enable GTK dark themes in each process, r=karlt
Add two new prefs (widget.chrome.allow-gtk-dark-theme and widget.content.allow-gtk-dark-theme) to enable dark
themes in chrome and content when e10s is enabled.

When e10s is disabled then widget.chrome.allow-gtk-dark-theme controls both chrome and web content settings.

That may be a bit confusing but it's going to be here for two releases only (Firefox 57 is going to have e10s enabled by default) and actually matches recent state when only one ENV pref is used for both chrome and web content.

The existing MOZ_ALLOW_GTK_DARK_THEME environment variable is still considered, but, now is like widget.chrome.allow-gtk-dark-theme, no longer affecting separate content processes.

MozReview-Commit-ID: CCwriA66CNj

--HG--
extra : rebase_source : 93e9a504af3e7570f82ddaf0890e374fe939e919
2017-03-31 10:40:07 +02:00
Masayuki Nakano b281092f52 Bug 548311 Change Japanese default fonts only on early Beta and Nightly r=emk,jfkthame,m_kato
This should ride the train at 57.  Until then, we should keep watching the feedback from testers.

This patch changes Japanese default fonts as:

Serif => "Yu Gothic" if available, otherwise, "MS PMincho".
Sans-serif => "Meiryo" if available, otherwise, "Yu Gothic" if available.  Finally, "MS PGothic".

Note that on non-Japanese Windows, only "Yu Gothic" may be installed.

Additionally, this patch changes font.name-list.*.ja as getting similar result to default font settings.

MozReview-Commit-ID: AsT1DaXY9dA

--HG--
extra : rebase_source : 8a9d379d6b2ebcd067ac2b6ad54117152b86673a
2017-04-04 14:02:50 +09:00
Wes Kocher c19b596225 Merge m-c to autoland, a=merge 2017-04-03 14:51:25 -07:00
Gijs Kruitbosch 8a8722824e Bug 1352513 - re-add the hidden window exception behind a pref, r=bholley
MozReview-Commit-ID: 3q1CZ5QCuus

--HG--
extra : rebase_source : adb93e2ee26e17f8ce03023deebc85d657dfe498
2017-04-03 11:47:22 +01:00
Stone Shih c2ff93f196 Bug 1345398 - Fire WidgetMouseEvent by handling pen generated mouse messages to get Windows native dnd supports. r=jimm
Due to Windows doesn't support dnd in the pen message handler, we can't handle and consume WM_POINTER* to fire WidgetMouseEvent. On the other hand, we can't get some pen related attributes from Windows mouse messages. This patch gets and caches the attributes by handling WM_POINTER* but not fire WidgetMouseEvent to support dnd and pen related attributes. When handling the subsequent Windows mouse messages, we use the cached attributes to fire WidgetMouseEvent. Considering we might need to use WM_POINTER* someday, use a preference to control the behavior.

MozReview-Commit-ID: 5E60KO1zo0W
2017-03-13 15:40:52 +08:00
L. David Baron 24bffb840f Bug 1277709 - Make threadsafe reference counting use the minimum memory sychronization needed. r=froydnj
This uses std::atomic rather than mozilla::Atomic since mozilla::Atomic
does not support using different memory synchronization for different
atomic operations on the same variable.

The added comments could use careful review since, while they reflect my
understanding of the issue, I don't consider myself an expert on the
topic.

MozReview-Commit-ID: 7xByCXt17Dr

--HG--
extra : transplant_source : %8DM%88%E8%B7%B4%D8a%D6%F5%3F%9B%DC%09X%F3%7C%98%DE%21
2017-04-04 20:59:20 -07:00
Eric Rahm d98d879754 Bug 1353143 - Part 3: Switch PR_ASSERT usage to MOZ_ASSERT. r=froydnj 2017-04-04 14:36:17 -07:00
Patrick McManus 06bd9a4bae Bug 1337791 - Part 2: http/2 origin frame extension. r=nwgh 2017-04-03 17:23:55 -04:00
Gijs Kruitbosch 290c64c982 Bug 1309946 - remove all traces of add-on performance monitoring, r=Yoric
This removes all the code for add-on performance watching from the
perfmonitoring component. This should mean that for add-on
compartments, we no longer trigger jank or CPOW monitoring in the JS
engine. This should result in minor performance improvements. As a
result, about:performance no longer reports on add-on performance
(but still reports on web page performance).

It also removes the AddonWatchers.jsm module and the related Nightly-
only UI (disabled in the parent commit) and strings. This UI wasn't
ready for release, there wasn't sufficient data it was creating
value for users, and there was some evidence that it didn't always
correctly identify the cause of performance issues, thus potentially
leading to user confusion or annoyance. Removing it therefore seemed
the right thing to do.

MozReview-Commit-ID: LsRwuaUtq6L

--HG--
extra : rebase_source : 92d4b775a7a7cbb5793e74eea471be81be974dda
2017-03-29 11:03:47 +01:00
Gijs Kruitbosch df4c4fd5f5 Bug 1309946 - disable addonwatcher for easy uplift, r=Yoric
MozReview-Commit-ID: 1mjO3oPhSOw

--HG--
extra : rebase_source : 189e36fc00428000fc66dbd3087e94293b6a4f23
2017-03-28 18:34:44 +01:00
Carsten "Tomcat" Book 24a3095c04 Merge mozilla-central to autoland 2017-03-31 14:49:11 +02:00
Carsten "Tomcat" Book 095969b8ee merge mozilla-inbound to mozilla-central a=merge 2017-03-31 14:45:33 +02:00
Felipe Gomes 93b3d9b7c7 Bug 1350381 - Define this pref so that the test doesn't fail. r=me a=test-fix
MozReview-Commit-ID: hwIFebaw3B

--HG--
extra : source : 1edf2dfa3809bdaaa83a3b8914fe80d4fe91a912
2017-03-30 23:08:30 -03:00
Eric Rahm 0b32fdd753 Bug 1351804 - Switch libpref over to ArenaAllocator. r=froydnj
MozReview-Commit-ID: 4GovbBFUBb9
2017-03-30 16:48:32 -07:00
Munro Mengjue Chiang 5907cfe44d Bug 1265755 - Implement remote vp8 encoder and enable/disable them with pref; r=jolin
MozReview-Commit-ID: JZ1eUZNLAKq

--HG--
extra : rebase_source : 3d0da18ab91239db56d5425889d638b184e02b82
2017-03-30 09:00:13 +08:00
Alastor Wu 17e20d08f6 Bug 1352014 - add the flag 'RELEASE_OR_BETA' for the pref 'media.block-autoplay-until-in-foreground'. r=bwu
Put this feature only on Aurora and Nightly until it's stable enough.

MozReview-Commit-ID: 4jl9gZO3wtt

--HG--
extra : rebase_source : 952f2718d77ff3bc48a92152fbfa290798db33c6
2017-03-30 17:50:57 +08:00
Tobias Schneider 91a8006388 Bug 1321865 - Enable IntersectionObserver and tests. r=smaug, r=jet
--HG--
extra : rebase_source : c7d90f6b41e28c8d736511acb7eabd130919631b
extra : source : cd23e1fc730bb549e4a227e3616a730aab1907f3
2017-01-11 13:07:18 -08:00
Bill McCloskey fcdb251c4b Bug 1340719 - Throw an exception if accessing Xray from wrong docgroup (r=bholley)
MozReview-Commit-ID: BBrRsk3KvGb
2017-04-05 13:26:20 -07:00
Eric Rahm 863c5ed327 Bug 1351801 - Switch libjar over to ArenaAllocator. r=bsmedberg
This converts libjar over to using ArenaAllocator instead of plarena.h. All
files can now be built in unified mode.

MozReview-Commit-ID: Ev8yyhxqRr7
2017-04-05 11:16:43 -07:00
Kearwood Gilbert 09a9e040fa Bug 1351687 - Correct and Enable Pose Prediction for Oculus r=daoshengmu
MozReview-Commit-ID: Cl6DufZGxgQ

--HG--
extra : rebase_source : c76a20d8d5e582028c5216d5b839e0a4de0959f2
2017-03-30 15:27:50 -04:00
Timothy Nikkel 7e9f01203e Backed out changeset 80bea9982b5f (bug 686905) 2017-03-30 03:16:46 -05:00
Timothy Nikkel 4e95a79d21 Bug 686905. Enable the pref image.mem.animated.discardable to allow discarding of animated images. r=aosmond 2017-03-30 00:06:21 -05:00
Wes Kocher 8e0bc97954 Merge inbound to central, a=merge 2017-03-29 15:41:57 -07:00
Kartikaya Gupta 317d304694 Merge m-c to graphics
MozReview-Commit-ID: 9kxCUtDZT9J
2017-03-29 10:24:15 -04:00
Sotaro Ikeda d4d0425579 Bug 1323316 - Use ANGLE for WebRender on Windows. r=jrmuizel,kats
MozReview-Commit-ID: Fg5GEWNRtIu
2017-03-29 10:14:19 -04: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
Amy Chung 9d5b5e4ec2 Bug 1348041 - Change default value of network.http.max-urgent-start-excessive-connections-per-host to 3. r=mayhemer 2017-03-29 01:47:18 +08:00
Jonathan Watt 745e3eb3b3 Bug 1058040, part 16 - Set the pref svg.context-properties.content.enabled in all.js so reftests can use it. r=dholbert
MozReview-Commit-ID: 6hBAe3CMRDc
2017-03-03 13:51:24 +00:00
Timothy Nikkel be03cf37a5 Backed out changeset 6bd536e0571d (bug 686905) 2017-03-28 03:06:57 -05:00
Timothy Nikkel 6b9305b646 Bug 686905. Enable the pref image.mem.animated.discardable to allow discarding of animated images. r=aosmond 2017-03-28 01:12:24 -05:00
Wes Kocher c802acc868 Merge m-c to inbound, a=merge
MozReview-Commit-ID: L6QuPmxL0XP
2017-03-27 17:18:39 -07:00
Mason Chang 3b2070933d Bug 1350182 - Enable button border display items by default. r=ethlin 2017-03-27 13:09:55 -07:00
Kartikaya Gupta ec69fdebcf Merge m-c to graphics
MozReview-Commit-ID: I4ehbSXNLmS
2017-03-27 09:18:34 -04:00
Ethan Lin adb68a37f8 Bug 1348755 - Part2. Turn the pref on by default and set fuzzy for some reftests. r=mattwoodrow 2017-03-27 16:17:45 +08:00
Kershaw Chang 99ed04a411 Bug 1312782 - Part 1: Implement window id to pending transactions table. r=honzab 2017-03-27 04:09:00 -04:00
Kartikaya Gupta 07d2a35e4a Bug 1349949 - Convert another pref to an override pref as part of merging m-c to graphics. r=me
MozReview-Commit-ID: DvIXvd2NxAb
2017-03-24 10:12:22 -04:00
Kartikaya Gupta 3956a6bca3 Merge m-c to graphics
MozReview-Commit-ID: FT418lFT961
2017-03-24 10:10:11 -04:00
Carsten "Tomcat" Book 7419b36815 merge mozilla-inbound to mozilla-central a=merge 2017-03-24 14:24:21 +01:00
Mason Chang 0a7d4083ce Bug 1349843 - Enable inset box shadows by default in webrender. r=jrmuizel 2017-03-23 09:16:01 -07:00
Kartikaya Gupta 0fee7584e7 Merge m-c to graphics
MozReview-Commit-ID: 1rTRVEHequ9
2017-03-23 10:01:31 -04:00
Kartikaya Gupta 9608ac4946 Merge m-c to graphics
MozReview-Commit-ID: Ci50iHfzKbA
2017-03-22 09:55:38 -04:00
Carsten "Tomcat" Book 62f6c37109 merge mozilla-inbound to mozilla-central a=merge 2017-03-22 14:26:27 +01:00
Kartikaya Gupta 0a0a696241 Merge m-c to graphics
MozReview-Commit-ID: 2CbNs260zlf
2017-03-20 10:07:29 -04:00
Mason Chang f47b17cdff Bug 1347727. Detect box shadow outer cases that WR doesn't support and don't enable a layer for it in WR. r=rhunt 2017-03-17 15:06:57 -07:00
Carsten "Tomcat" Book 3e0a5441c6 Merge mozilla-central to mozilla-inbound 2017-03-17 14:55:15 +01:00
Ehsan Akhgari 3c91e7a4b7 Bug 1348168 - Disable Mozilla custom ImageBitmap extensions that didn't go through proper API review; r=bzbarsky 2017-03-17 00:10:37 -04:00
Mats Palmgren 590ab00036 Bug 1333482 part 3 - [css-ui] Put 'appearance' and '-moz-appearance' behind separate prefs. Enable both by default. r=dholbert
MozReview-Commit-ID: 7f5jqm8z3Vy
2017-03-23 22:11:20 -07:00
Kartikaya Gupta b6566b9f0c Bug 1349949 - Turn some advanced layers prefs into override prefs. r=mchang
This allows us to remove the #ifdef MOZ_ENABLE_WEBRENDER for the advanced layers
prefs from all.js. As additional advanced layers are turned on for webrender (or
non-webrender) they can be converted into override prefs without affecting the
call sites.

MozReview-Commit-ID: F9tMc23ow8A

--HG--
extra : rebase_source : 2244cb000711496ce5b7f1b50ef0314e1c312d94
2017-03-23 16:29:54 -04:00