Commit Graph

14539 Commits

Author SHA1 Message Date
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
Masayuki Nakano
b05875b49a Bug 1456038 - Add inbox.google.com to blacklist of strict keypress dispatching r=smaug
Google Inbox also has specific subdomain and it handles shortcut keys with
keypress events on Firefox.  So, let's include inbox.google.com into the
blacklist to allow to dispatch non-printable keypress events in it.

MozReview-Commit-ID: 98Ocm2AnAG1

--HG--
extra : rebase_source : 8a0970881079bff5b3a778215b62c430beb31adc
2018-04-23 18:32:36 +09:00
Mathieu Leplatre
04d2fc7cd4 Bug 1455249 - Enable signature verification by default in RemoteSettings r=mgoodwin
MozReview-Commit-ID: IsJUXgptEMl

--HG--
extra : rebase_source : 156030a6302cb485400219bd0baf1e74b94d9884
2018-04-19 16:16:08 +02:00
Masayuki Nakano
40075884e2 Bug 1455218 - Add public Etherpad URIs into the blacklist to take back the legacy keypress event behavior r=smaug
Etherpad has some bugs of handling non-printable key events.
https://github.com/ether/etherpad-lite/issues/3383

Unfortunately, Etherpad can be installed into any URI.  So, we cannot include
all of the instances into the blacklist but we should add URIs in the list
of Etherpad:
https://github.com/ether/etherpad-lite/wiki/Sites-that-run-Etherpad-Lite

I hope that Nightly testers don't use private Etherpad or non-listed Etherpad.

MozReview-Commit-ID: HSAVwGHhW75

--HG--
extra : rebase_source : bd1e579997c773de27476630a097bda70031107f
2018-04-19 16:24:00 +09:00
Masayuki Nakano
b2591d7753 Bug 1455229 - Add keep.google.com into the blacklist to take back legacy keypress event behavior r=smaug
With the strict keypress event dispatching mode, cannot navigate between
list items in keep.google.com.  So, until they fix this issue, we should
include keep.google.com into the blacklist for Nightly testers.

MozReview-Commit-ID: CXNoirrgeR

--HG--
extra : rebase_source : 62af31e7bb6d8070bb57430fdbc847d5d44c0125
2018-04-19 16:59:40 +09:00
Masayuki Nakano
5aebfb1bc2 Bug 1454833 - Allow to use legacy keypress event behavior in hangouts.google.com r=smaug
hangouts.google.com is used Hangouts in Gmail window.  In this window, shortcut
keys are handled with keypress event for Gecko.  Therefore, we need to add
hangouts.google.com into the blacklist.

MozReview-Commit-ID: 607imegrmwj

--HG--
extra : rebase_source : c17890b5fd4fed54302fc2d8ecd40b1801f37520
2018-04-18 14:12:30 +09:00
Brad Werth
31c41c52e0 Bug 1353631 Part 1: Set preference default to true in Nightly for layout.css.shape-outside.enabled. r=dholbert
MozReview-Commit-ID: 5L6FCfLWM3E

--HG--
extra : rebase_source : f7134acf9bf8a90aac52927c0db8ace9ab0eeda5
2018-04-20 15:56:05 -07:00
Andreea Pavel
6ce889bcd3 Backed out 2 changesets (bug 1353631) for failing | devtools/shared/tests/unit/test_css-properties-db.js on a CLOSED TREE
Backed out changeset 6a0c361f18ff (bug 1353631)
Backed out changeset fd5bd538bfe7 (bug 1353631)
2018-04-23 21:44:43 +03:00
Brad Werth
4fd50e13c0 Bug 1353631 Part 1: Set preference default to true in Nightly for layout.css.shape-outside.enabled. r=dholbert
MozReview-Commit-ID: 5L6FCfLWM3E

--HG--
extra : rebase_source : 40bf335ff2a4bb469df61a4be51ed5c2cad467c3
2018-04-20 15:56:05 -07:00
vinoth
50f1e29000 Bug 1453989 - Apply Meta CSP to Content Privileged about:checkerboard. r=ckerschb,Gijs
Reviewers: ckerschb, Gijs

Reviewed By: ckerschb, Gijs

Subscribers: Gijs, ckerschb

Bug #: 1453989

Differential Revision: https://phabricator.services.mozilla.com/D944

--HG--
extra : rebase_source : 9d6a668ee4e1da7ae19e9141d7303ee0abf8cf35
2018-04-21 02:16:30 +03:00
Dorel Luca
bf907dfb4d Backed out changeset 2dad6e7f5092 (bug 1353631) for XPCShell failures on devtools/shared/tests/unit/test_css-properties-db.js 2018-04-21 06:57:36 +03:00
Brad Werth
a8f721358b Bug 1353631: Set preference default to true in Nightly for layout.css.shape-outside.enabled. r=dholbert
MozReview-Commit-ID: 5L6FCfLWM3E

--HG--
extra : rebase_source : 0cc49199d614d89fff4937e53f9d3106ec969111
2018-04-20 15:56:05 -07:00
Gurzau Raul
6ef84d63ec Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-04-20 12:15:48 +03:00
Kris Maglione
219ed0cc06 Bug 1454813: Part 2b - Rename SpawnTask.js to AddTask.js. r=florian
The old name no longer makes sense, since it no longer exports an spawn_task
symbol, and add_task is what we really care about.

MozReview-Commit-ID: IE7B8Czv8DH

--HG--
rename : testing/mochitest/tests/SimpleTest/SpawnTask.js => testing/mochitest/tests/SimpleTest/AddTask.js
extra : rebase_source : 03bca5aa69a7625a49b4455a6c96ce4c59de3a5a
2018-04-18 11:43:45 -07:00
Bobby Holley
bd13c12e06 Bug 1455115 - Enable parallel parsing. r=me
MozReview-Commit-ID: CFYYVLjJRKP
2018-04-19 18:10:18 -07:00
Cosmin Sabou
5e9d16a446 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-04-20 01:37:07 +03:00