Commit Graph

12976 Commits

Author SHA1 Message Date
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