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

13024 Коммитов

Автор SHA1 Сообщение Дата
Carsten "Tomcat" Book e1e203f1f5 Merge mozilla-central to autoland 2017-04-27 16:36:41 +02:00
Tobias Schneider c9fe88b8b0 Bug 1321865 - Enable IntersectionObserver. r=jet
MozReview-Commit-ID: JUq9Hk7jars
2017-04-27 00:17:16 -07: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
Francois Marier de63d72150 Bug 1352618 - Enable network de-prioritization based on tracking annotations. r=cpeterson
MozReview-Commit-ID: 7YJSatboA0

--HG--
extra : rebase_source : db8483260f321bb6a26b2eaf52d70045a753165c
2017-04-11 13:21:26 -07:00
Nicholas Nethercote 625d4520a7 Bug 1357298 - Remove the 'layers.frame-counter' option. r=mstange,mattwoodrow.
This option turns on a frame counter that is shown in the top left corner via a
QR code. It was designed to be used in video recordings of B2G phones.

It no longer seems useful, so this patch removes it.
* * *
Bug 1357298 - Remove all traces of frame numbers and power from the profiler output. r=mstange.

--HG--
extra : rebase_source : 0ce87963ce375df64bb8d80ef2b5d40ea507bc7c
2017-04-18 15:40:24 +10:00
Jonathan Kew 23d97b6f9d Bug 1253919 - Enable support for the logical values of CSS 'float' and 'clear' properties for all channels. r=dbaron 2017-04-21 16:01:04 +01:00
Carsten "Tomcat" Book 248cf7f04f Merge mozilla-central to mozilla-inbound 2017-04-21 11:43:14 +02:00
Ehsan Akhgari c303c8121a Bug 1358004 - Remove the REMOTE_JAR_PROTOCOL_USED telemetry; r=jduell
In bug 1353123 it was decided to not extend this telemetry, so it will
expire in this release.  Given that, and the fact that bug 1329336 has
disabled the feature already, it's time to remove the probe.
2017-04-21 02:44:03 -04:00
Daosheng Mu b4fb3b9c83 Bug 1353523 - Add adjustable threshold value for VR controller trigger inputs; r=kip
MozReview-Commit-ID: KQMccZeE2IK

--HG--
extra : rebase_source : b8c60e59c7f9678fdb15f3dcc6770198ec35b82a
2017-04-19 13:14:13 +08:00
Wes Kocher 5ce5528fb1 Merge inbound to m-c a=merge
MozReview-Commit-ID: DQDuEiYLWCO
2017-04-20 15:30:43 -07:00
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
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
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