Commit Graph

14554 Commits

Author SHA1 Message Date
Dorel Luca
2f3e1241e7 Merge mozilla-central to autoland. CLOSED TREE
--HG--
extra : amend_source : b3e2947586dd2ed9dbe52aabb06808d4ac8dbfff
2018-05-11 01:02:37 +03:00
Dorel Luca
d32e085275 Merge mozilla-inbound to mozilla-central. a=merge 2018-05-11 00:59:14 +03:00
Csoregi Natalia
88704238f1 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-05-10 19:46:00 +03:00
Jonathan Kew
da3f5d7ce7 Bug 1457266 - Remove the EARLY_BETA_OR_EARLIER condition for default-enabling the font-variations pref, and let it ride the train. r=mreavy 2018-05-10 14:46:38 +01:00
Jonathan Kingston
78f9c0c339 Bug 1460478 - Remove support for AppCache in stable. r=baku
MozReview-Commit-ID: D3NDCWKIA5n

--HG--
extra : rebase_source : 79a60c1d334b3c701225787d47fe76d0d8b92419
2018-05-10 02:24:02 +01:00
Kartikaya Gupta
6eea99c630 Bug 1432515 - Restrict gfx.webrender.{all,enabled} to nightly, and only allow enabling via .all.qualified on beta and release. r=milan
This ensures that only people with qualified hardware can flip prefs to
enable WebRender on beta and release. Nightly users will still be able
enable WebRender on unqualified hardware.

MozReview-Commit-ID: E5sgzZhuX4p

--HG--
extra : rebase_source : a4e85e71e4d85b5d9f1e17c1413ca9690349f75a
2018-05-09 15:24:38 -04:00
Andrew McCreight
45174e0771 Bug 1457281 - Remove dom.ipc.scheduler pref. r=froydnj
The JS engine has changed the APIs that cooperative scheduling relies
on into immediate crashes. Some users seem to set the prefs, and then
we get a lot of crashes on Nightly. This removes the top-level pref to
save them some grief.

I continue to pass the pref as false to the child process to avoid
weirdness if we somehow we get this far when the parent and child have
different versions.

MozReview-Commit-ID: 3o3yV2efx2r

--HG--
extra : rebase_source : 398c4d77ce3f78f3814ac97882b4a5e3190c44f7
2018-04-26 14:21:25 -07:00
Zibi Braniecki
a0b03ccae1 Bug 1457021 - Migrate the JS of Preferences::Blocklists to Fluent. r=flod,Gijs
MozReview-Commit-ID: DlcJNPukzHW

--HG--
extra : rebase_source : cf5385f90381a66408b18ac046eebf2d678a8c18
2018-04-19 16:59:44 -07:00
Valentin Gosu
bd4365d7e7 Bug 1448058 - Remove nsIMutable from URI implementations r=mayhemer
* Also removes NS_TryToMakeImmutable, NS_TryToSetImmutable, URIIsImmutable
* NS_EnsureSafeToReturn, nsINetUtil.toImmutableURI

MozReview-Commit-ID: 5eFtFm2CQt7

--HG--
extra : rebase_source : 1f3d23ec646883e76844d42113bc1c71c01a1ad7
2018-05-09 18:21:24 +02:00
Cosmin Sabou
a916fb7c3e Merge inbound to mozilla-central. a=merge 2018-05-09 20:27:38 +03:00
Andrew Osmond
14160ac3be Bug 1460258 - Re-enable discarding of animated image frames. r=aosmond 2018-05-09 08:42:58 -04:00
Andrew Osmond
d19566e09c Bug 1454149 - Do not advance animated images which are not displayed. r=tnikkel
All animated images on a page are currently registered with the refresh
driver and advance with the tick refresh. These animations may not even
be in view, and if they are large and thus cause redecoding, cause a
marked increase in CPU usage for no benefit to the user.

This patch adds an additional flag, mCompositedFrameRequested, to the
AnimationState used by FrameAnimator. It is set to true each time the
current animated image frame is requested via
FrameAnimator::GetCompositedFrame. It is set to false each time the
frame is advanced in FrameAnimator::AdvanceFrame (via
FrameAnimator::RequestRefresh). If it is true when
FrameAnimator::RequestRefresh is called, then it will advance the
animation according to the normal rules. If it is false, then it will
set the current animation time to the current time instead of advancing.

This should not cause the animation to fall behind anymore or skip
frames more than it does today. This is because if
FrameAnimator::GetCompositedFrame is not called, then the internal state
of the animation is advancing ahead of what the user sees. Once it is
called, the new frame is far ahead of the previously displayed frame.
The only difference now is that we will display the previous frame for
slightly longer until the next refresh tick.

Note that if an animated image is layerized (should not happen today) or
otherwise uses an ImageContainer, this optimization fails. While we know
whether or not we have an image container, we do not know if anything is
actively using it.
2018-05-09 08:04:20 -04:00
Nicholas Hurley
e648506f89 Bug 1460251 - Up cookie limit to 180 per host and expose prefs. r=mcmanus
MozReview-Commit-ID: 1zFMQ4pbntp

--HG--
extra : rebase_source : 3a0537b63bedaa50f8c59985f24ff9f718cd2814
2018-05-08 04:45:20 -07:00
Masayuki Nakano
3323c6674a Bug 1459800 - Add "paper.dropbox.com/doc" into the blacklist to allow to fire keypress events for non-printable keys r=smaug
paper.dropbox.com provides editable and sharable document.  Some editing
shortcut keys in it listens to "keypress" events on Firefox.  Therefore,
we need to add the URL into the blacklist for Nightly testers.

MozReview-Commit-ID: 3bCrjIzP80v

--HG--
extra : rebase_source : 06420cb6a2a9a511edded9a5133d5d07ab240d61
2018-05-08 13:56:32 +09:00
Ryan VanderMeulen
a5b95aa8a5 Bug 1458905 - Update to FreeType 2.9.1. r=jfkthame 2018-05-08 11:48:29 -04:00
Kris Maglione
53c3d346c3 Bug 833098: Part 1 - Remove dead code in xpfe directory viewer. r=Mossop
Most of this module is dead code, intended to convert directory listings into
RDF data sources for a XUL front-end which no longer exists.

Rather than keep the remaining code which still has any effect, I opted to
just replace it with a JS stub, which winds up being much simpler.

MozReview-Commit-ID: CiBpV0mrOo0

--HG--
extra : source : 2ea9f1f5269ed5291275a174a633b23dc92667de
extra : histedit_source : fdc195bff4684a84f610b90c0d9820b860c5ff40
2018-04-28 21:28:03 -07:00
arthur.iakab
2f2f2ffdbf Merge mozilla-central to inbound 2018-05-08 15:44:33 +03:00
Dorel Luca
db79e8d752 Backed out 2 changesets (bug 833098) for depending on bug 1457749
Backed out changeset c00426f6bc7d (bug 833098)
Backed out changeset 2ea9f1f5269e (bug 833098)
2018-05-08 13:47:51 +03:00
Chris Peterson
71422dcaa9 Bug 1457813 - Part 2: Replace non-asserting NS_PRECONDITIONs with MOZ_ASSERTs. r=froydnj
s/NS_PRECONDITION/MOZ_ASSERT/ and reindent

MozReview-Commit-ID: KuUsnVe2h8L

--HG--
extra : source : c14655ab3df2c9b1465dd8102b9d25683359a37b
2018-04-28 12:50:58 -07:00
Kris Maglione
4d240e9137 Bug 833098: Part 1 - Remove dead code in xpfe directory viewer. r=Mossop
Most of this module is dead code, intended to convert directory listings into
RDF data sources for a XUL front-end which no longer exists.

Rather than keep the remaining code which still has any effect, I opted to
just replace it with a JS stub, which winds up being much simpler.

MozReview-Commit-ID: CiBpV0mrOo0

--HG--
extra : rebase_source : 9958bce108ad98a9e3cc1eaae1a0094e71132464
extra : histedit_source : daa889b1d69dcab4518b89d26cfb5ef74824263f
2018-04-28 21:28:03 -07:00
vinoth
1210a8f792 Bug 1456096 - Apply Meta CSP to Content Privileged about:credits and about:logo. r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D1130
2018-05-07 15:04:33 -04:00
Kearwood Gilbert
612a66cbd0 Bug 1459362 - Disable WebVR in release on macOS (Backed out changeset 1b24d52edebb) r=smaug
MozReview-Commit-ID: BMuGwXYP750

--HG--
extra : rebase_source : 504ddec40e851c216dbb4fd0ca95756e3c895ea8
2018-05-04 17:14:39 -07:00
Botond Ballo
030b6ab1a7 Bug 1459293 - Enable new Android fling physics on the Nightly channel. r=kats
MozReview-Commit-ID: EHwhzClIICz

--HG--
extra : rebase_source : fd6651292f1a7bcc4fd4b23c4993d924d57e4914
2018-05-04 14:55:49 -04:00
Dorel Luca
8d9f459c77 Merge mozilla-inbound to mozilla-central. a=merge 2018-05-03 12:58:18 +03:00
Andrew Osmond
e9a9936826 Bug 1454824 - Disable discarding of animated image frames due to high CPU consumption. r=tnikkel 2018-05-02 16:28:52 -04:00
Botond Ballo
9033e3e120 Bug 1458063 - Introduce a new wheel action for pinch-zooming. r=kats
MozReview-Commit-ID: 7DWNvQc2pBE

--HG--
extra : rebase_source : 02d3efe180fb1cd6d49ca9b8a49e4051e6e05cac
2018-05-02 16:51:27 -04:00
Jean-Yves Avenard
5616b876de Bug 1456743 - P3. Add SourceBuffer.changeType experimental method. r=bryce,bz
Non functional code.

SourceBuffer.changeType allows to reconfigure a sourceBuffer so that a new codec type or new container format can be fed later.

The new code is placed behind the media.mediasource.experimental.enabled pref.

MozReview-Commit-ID: 5wj6J4uzLbA

--HG--
extra : rebase_source : b6f57246e0a4c856f6365bb0c8ec8d759a770105
2018-04-30 19:13:15 +02:00
Andreea Pavel
7955752872 Merge mozilla-inbound to mozilla-central. a=merge 2018-05-01 13:13:09 +03:00
arthur.iakab
fe24b0fd35 Merge mozilla-central to autoland 2018-05-01 01:18:08 +03:00
Valentin Gosu
6a2d43d5e7 Bug 1456863 - Backed out bug 356831 (changeset 204bb43af943) for leaks r=me 2018-04-30 15:34:39 +02:00
Andreea Pavel
66f222b56d Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2018-04-28 20:42:49 +03:00
Andreea Pavel
443c91d4b4 Merge inbound to mozilla-central. a=merge 2018-04-28 20:30:18 +03:00
vinoth
6023457cfe Bug 1456151 - Apply Meta CSP to Content Privileged about:cache. r=ckerschb, r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D1013
2018-04-28 09:50:45 -04:00
Csoregi Natalia
96dbf29680 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-04-28 00:56:47 +03:00
Valentin Gosu
d47341a80e Bug 1454100 - Move cookies around every X seconds r=Ehsan,mayhemer
MozReview-Commit-ID: Y1zUvbDgDX

--HG--
extra : rebase_source : e43b03369250dab027287316f778e75ef81e6879
2018-04-26 16:39:13 +02:00
Masayuki Nakano
7e5e537d7c Bug 1456444 - Change "mensuel.framapad.org/p/" in the blacklist for avoiding dispatching keypress events strictly to "*.framapad.org/p/" r=smaug
framapad.org provides a lot of public Etherpad instances even though only
mensuel.framapad.org is listed by Etherpad's information.  Therefore, we should
change the blacklist for avoiding dispatching keypress events strictly from
"mansuel.framapad.org/p/" to "*.framapad.org/p/" to allow any Etherpads in
the subdomains work in Nightly builds.

MozReview-Commit-ID: 9H4oIc2PGal

--HG--
extra : rebase_source : d97bdc89a0a5d2a15c89dd08f995b519fc1ce10c
2018-04-26 18:10:49 +09:00
Gerald Squelart
89f75361b3 Bug 1417761 - Remove "layout.css.text-combine-upright.enabled" pref - r=xidorn
Shipped since Firefox 48, other browsers have similar impls, and the related
spec has been in CR since a while ago.
The syntax of this property as implemented should be considered to be pretty
stable, so we can remove this pref.

MozReview-Commit-ID: H7lDsdbUamD

--HG--
extra : rebase_source : fda63805d9dea49a55d57153c841426508a882f6
2018-04-27 11:31:25 +10:00
Botond Ballo
67bc5921a7 Bug 1448439 - Expose some of the tunable parameters in AndroidFlingPhysics as prefs. r=kats
MozReview-Commit-ID: J4QRmMdGE0l

--HG--
extra : rebase_source : 9acdec2fff2f95057cf2fc4da9fc8e86de4912f0
2018-04-20 18:55:08 -04:00
Botond Ballo
a7f61a775c Bug 1448439 - Add a pref to get APZ to use the Chrome fling physics on Android. r=kats
MozReview-Commit-ID: HDLDlwjov82

--HG--
extra : rebase_source : c454a6769ccd0ca9951c41ef2ea9990c24208373
2018-04-20 18:44:18 -04:00
Bobby Holley
3cbcfdf4cd Bug 1457325 - Expose time to DOMContentFlushed on the timeline. r=bholley,r=mstange
MozReview-Commit-ID: E6QPjgfUKdo
2018-04-27 11:15:27 -07:00
Ryan Hunt
8467b306e9 Bug 1454978 - Enable tiled parallel OMTP when we are using skia on windows on nightly. r=bas
MozReview-Commit-ID: 4zwhIWFMCqv

--HG--
extra : rebase_source : b98990b9c75c609d669250c8b86aeba03a8ee90e
2018-04-25 16:31:43 -05:00
Ryan Hunt
40d71f783f Bug 1454978 - Cleanup tiling prefs in all.js. r=bas
This moves all the tiling prefs into one spot and organizes them a bit. It also fixes a common issue
with `edge-padding` being enabled on windows because it wouldn't be defined in all.js and defaulting
to enabled. Note that `worker-threads` is switched to `-1` by default here instead of just for OSX.
This should have no affect because we don't actually create the threads unless we are tiling, which
only happens right now on OSX.

MozReview-Commit-ID: D8HOs3yv7w0

--HG--
extra : rebase_source : 9b5d2d228af743ea4facd076dfa2f370ea93ebc8
2018-04-25 16:21:26 -05:00
vinoth
092f628b93 Bug 1453560 - Apply Meta CSP to Content Privileged about:certerror and about:neterror. r=ckerschb, r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D918

--HG--
rename : browser/base/content/aboutNetError.xhtml => browser/base/content/aboutNetError.js
2018-04-26 04:07:07 -04:00
Andreea Pavel
a21531022b Merge mozilla-inbound to mozilla-central. a=merge
--HG--
rename : toolkit/components/extensions/test/xpcshell/test_ext_browserSettings.js => toolkit/components/extensions/test/xpcshell/test_ext_proxy_config.js
2018-04-26 09:04:59 +03:00
Jonathan Kew
d0ece8680b Bug 1455785 - Pref-off Variation Font support after early beta. r=mreavy 2018-04-25 21:15:18 +01:00
Masayuki Nakano
dd7832954b Bug 1457247 - Add "www.rememberthemilk.com" into the blacklist to allow to dispatch non-printable keypress events r=smaug
www.remberthemilk.com is a todo app. Its dropdown lists are implemented by
themselves, however, we cannot navigate the dropdown list with ArrowDown
and ArrowUp keys.  For now, we should allow to dispatch non-printable key
events in the domain.

MozReview-Commit-ID: 10iMoRZfB4j

--HG--
extra : rebase_source : 312d38a4f95dfe7553a6762507f2f6fc4fba3e9f
2018-04-27 19:13:19 +09:00
Paul Adenot
19afb72fb1 Bug 1456115 - Increase stack sizes when using audioipc. r=jya
This patch set calls a bit deeper in the audio callback thread (down into opus,
in particular).

MozReview-Commit-ID: 6LWACS6V0Yz

--HG--
extra : rebase_source : a61d08b301d86bf2ce5e965295d5a944a0ebc8d8
2018-04-25 12:28:14 +02:00
Polly Shaw
091db15fe1 Bug 356831 - Proxy autodiscovery doesn't check DHCP (option 252) r=bagder,valentin
This patch addresses an issue with Firefox's proxy detection on networks which
do not have their a proxy auto-configuration (PAC) file hosted at
http://wpad/wpad.dat, and instead make use of DHCP option 252 for broadcasting
the address of the PAC file. See https://findproxyforurl.com/wpad-introduction/
for an introduction to the protocol.

Prior to this patch, proxy auto-detect missed out the DHCP query stage, and just
 looked for a PAC file at http://wpad/wpad.dat


This patch only addresses the issue for Firefox on Windows, although it defines a
DHCP client interface which could be implemented on other platforms.

The high-level components of this patch are:
 * nsIDHCPClient.idl - this is an interface which has been defined for querying the
   DHCP server.
 * nsPACMan.cpp - where previously when the PAC URL was simply set to a constant of
   http://wpad/wpad.dat, it now dispatches an asynchronous command to the proxy
   thread. The class ExecutePACThreadAction has been augmented to include an
   instruction to 'ConfigureWPAD' (Configure Web-proxy auto-detect), and a new class,
   'ConfigureWPADComplete' has been created to relay the result (the URL of the PAC
   file) back to the nsPACMan object.
 * nsProtocolProxyService.cpp
   Minor changes to reflect the fact that the PAC URL not being set does not always
   mean there is no PAC to be used; instead it could be in the process of being
   detected.
 * TestPACMan.cpp
   This is a new file, and tests only the DHCP auto-detect functionality.
   Some tests use multiple threads, as they test the non-blocking proxy detection.
 * DHCPUtils.cpp
   A class containing the main logic for querying DHCP.
 * WindowsNetworkFunctionsWrapper.cpp
   A very thin wrapper around the Windows API calls needed by DHCPUtils.
   This class was introduced so it could be mocked out in tests.
 * nsWindowsDHCPClient.cpp
 * An implementation of the interface defined in nsIDHCPClient.idl. Fairly thin:
   most logic is implemented in DHCPUtils.
 * TestDHCPUtils.cpp
   Tests for DHCPUtils and nsWindowsDHCPClient

MozReview-Commit-ID: HinC1UevOon

--HG--
extra : rebase_source : cf29f76826cc7728fd36505c8271bf50001c644c
2018-04-22 18:13:11 +01:00
Margareta Eliza Balazs
0fe561286b Backed out changeset 2a760b1c0759 (bug 356831) for adding files without having a bugzilla product and component 2018-04-24 19:33:00 +03:00
Polly Shaw
f95f738f4e Bug 356831 - Proxy autodiscovery doesn't check DHCP (option 252) r=bagder,valentin
This patch addresses an issue with Firefox's proxy detection on networks which
do not have their a proxy auto-configuration (PAC) file hosted at
http://wpad/wpad.dat, and instead make use of DHCP option 252 for broadcasting
the address of the PAC file. See https://findproxyforurl.com/wpad-introduction/
for an introduction to the protocol.

Prior to this patch, proxy auto-detect missed out the DHCP query stage, and just
 looked for a PAC file at http://wpad/wpad.dat


This patch only addresses the issue for Firefox on Windows, although it defines a
DHCP client interface which could be implemented on other platforms.

The high-level components of this patch are:
 * nsIDHCPClient.idl - this is an interface which has been defined for querying the
   DHCP server.
 * nsPACMan.cpp - where previously when the PAC URL was simply set to a constant of
   http://wpad/wpad.dat, it now dispatches an asynchronous command to the proxy
   thread. The class ExecutePACThreadAction has been augmented to include an
   instruction to 'ConfigureWPAD' (Configure Web-proxy auto-detect), and a new class,
   'ConfigureWPADComplete' has been created to relay the result (the URL of the PAC
   file) back to the nsPACMan object.
 * nsProtocolProxyService.cpp
   Minor changes to reflect the fact that the PAC URL not being set does not always
   mean there is no PAC to be used; instead it could be in the process of being
   detected.
 * TestPACMan.cpp
   This is a new file, and tests only the DHCP auto-detect functionality.
   Some tests use multiple threads, as they test the non-blocking proxy detection.
 * DHCPUtils.cpp
   A class containing the main logic for querying DHCP.
 * WindowsNetworkFunctionsWrapper.cpp
   A very thin wrapper around the Windows API calls needed by DHCPUtils.
   This class was introduced so it could be mocked out in tests.
 * nsWindowsDHCPClient.cpp
 * An implementation of the interface defined in nsIDHCPClient.idl. Fairly thin:
   most logic is implemented in DHCPUtils.
 * TestDHCPUtils.cpp
   Tests for DHCPUtils and nsWindowsDHCPClient

MozReview-Commit-ID: HinC1UevOon

--HG--
extra : rebase_source : df2b80fcc03948e54f222e11060e1783f3b95421
2018-04-22 18:13:11 +01:00