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

14505 Коммитов

Автор SHA1 Сообщение Дата
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
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
Johann Hofmann 29d2c4832d Bug 1451486 - Part 1 - Ignore the storage attribute on indexedDB.open() by default. r=asuth,baku
MozReview-Commit-ID: 844FRkx3rKZ

--HG--
extra : rebase_source : 962cd1ade83b34561ebd6cd70365b44b85a3aa95
2018-04-10 23:00:30 +02:00
Kartikaya Gupta cee64af762 Bug 1391318 - Automatically enable async scene building with webrender.all. r=jrmuizel
MozReview-Commit-ID: IRXZq8ynrdt

--HG--
extra : rebase_source : b34691d952138f442fd376cbc5a79f9742e26f6b
2018-04-19 14:10:36 -04:00
Cosmin Sabou 83053e4d44 Backed out changeset c1af8cec18e0 (bug 1455115) for turning mochitest test_bug1166138.html (bug 1240225) into almost permafailure on Android. CLOSED TREE 2018-04-19 23:21:25 +03:00
Bobby Holley bab8415f0b Bug 1455115 - Enable parallel parsing. r=me
MozReview-Commit-ID: CFYYVLjJRKP
2018-04-19 07:52:55 -07:00
Noemi Erli 875e5ed0a1 Merge inbound to mozilla-central. a=merge 2018-04-19 12:53:30 +03:00
Zhang Junzhi f88d5331e5 Bug 1455007 - Temporarily disable the auto-dir feature for redefining the behaviour according to the feedbacks r=kats
MozReview-Commit-ID: A4E6yF9z94g

--HG--
extra : rebase_source : cce10be5bc26adc81db5ab9e7c9b6b743341d85d
2018-04-19 03:33:23 +08:00
Bobby Holley 38a23e8931 Bug 1346988 - Parse sheets on the thread pool. r=bz,r=emilio
Note that we also drop the dead optional aReusableSheets argument from
the async parsing path, since it was always null.

MozReview-Commit-ID: KddpGFdaqEe
2018-04-18 13:52:57 -07:00
Kartikaya Gupta becb26798a Bug 1454465 - Turn some override prefs back into regular prefs. r=jrmuizel
These prefs are on by default now, and so there's no point in keeping them as
override prefs.

MozReview-Commit-ID: Gzs65oS9koD

--HG--
extra : rebase_source : 89d52f7992a0e87f60673f3b7bd6efad627fd040
2018-04-18 15:30:03 -04:00
vinoth e001c8669e Bug 1453933 - Meta CSP applied to content privileged about:rights. r=Gijs, r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D940

--HG--
extra : amend_source : b37097f79ffa12f40dd668d116f94e4a8c57a6fb
2018-04-19 13:40:24 -04:00
Takuro Ashie 956ef94c09 Bug 1306529 - Add initial implementation of PureOmxPlatformLayer r=jya
It's a concrete class of OmxPlatformLayer for accessing OpenMAX IL
libraries directly. It will be usable on various embedded linux systems.
Note that it's not enabled by default yet. Add the following config to
your mozconfig.

  ac_add_options --enable-openmax

TODO: Implement zero-copy mode

MozReview-Commit-ID: EMEXAKzzR64

--HG--
extra : rebase_source : ee6acf7d046e8ce6e18a53988a4ea308b8d4d44f
2018-04-18 11:38:12 +09:00
Kartikaya Gupta 0ded9995cb Bug 1451469 - Complete hooking up of the sampler thread. r=botond,nical
This makes the APZ sampler thread be the render backend thread whenever
webrender is being used (not just when async scene building is enabled).

MozReview-Commit-ID: L9lmopd3pe7

--HG--
extra : rebase_source : a23793bf704a0bf3bc7ba6568ecfe5faa5720415
2018-04-16 17:39:26 -04:00
Andrea Marchesini 423880eafd Bug 1450644 - Better shutdown approach for Workers - part 3 - Preference for time worker timeout, r=asuth 2018-04-17 20:51:04 +02:00
Jeff Muizelaar 4bb17dde09 Bug 1450015. Enable blob invalidation by default. r=gankro 2018-04-17 21:20:51 -04:00
Tiberius Oros 78bac61f63 Backed out 7 changesets (bug 1450644, bug 1454633) for for failing browser_storage_permission.js on a CLOSED TREE
Backed out changeset f4989e0da221 (bug 1454633)
Backed out changeset 08239799d43e (bug 1450644)
Backed out changeset cbe3ad4833b6 (bug 1450644)
Backed out changeset 0d2088370d0c (bug 1450644)
Backed out changeset 246fb3ee14cd (bug 1450644)
Backed out changeset 629e499c0f75 (bug 1450644)
Backed out changeset ed93e3547096 (bug 1450644)
2018-04-18 01:10:26 +03:00
Andrea Marchesini 848a6e4716 Bug 1450644 - Better shutdown approach for Workers - part 3 - Preference for time worker timeout, r=asuth 2018-04-17 20:51:04 +02:00
Ryan VanderMeulen 10fa1dc985 Bug 1454359 - Cherry-pick more upstream FreeType fixes. r=jfkthame
--HG--
extra : rebase_source : 05d3cb3900e2c405ab816f0f8b5532a6ae06f21c
2018-04-16 09:19:00 -04:00
Brindusan Cristian 667fae7dc8 Merge inbound to mozilla-central. a=merge 2018-04-17 12:53:33 +03:00
shindli 805cb19c1d Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-04-17 01:45:58 +03:00
Ryan Hunt d1e87928b5 Bug 1438551 - Add a pref for enabling tiles when we are using skia with parallel painting. r=nical
MozReview-Commit-ID: JVIFr2wUWHD

--HG--
extra : rebase_source : 67cf74011993a971d66d9a7350171f0190ec08cd
2018-04-10 11:29:14 -05:00
Ryan Hunt 4f2811fcda Bug 1438551 - Don't discard the back buffer when we reuse the front buffer. r=nical
It can happen often where we reuse the front buffer for a long paint, and then
the next frame we see that it is still locked, and need to allocate a new buffer
from the texture pool. If this happens we don't need to repaint the new buffer
because the old buffer is still around, but we do need to copy it over and
upload it to texture sources. It seems better to just hold onto the back buffer
and let it accumulate more invalid regions.

MozReview-Commit-ID: 2DQjwAX7ZmM

--HG--
extra : rebase_source : 3077952d3ef56deea6af68492f71bb114d96d84a
2018-04-10 09:27:09 -05:00
Olli Pettay 91a86f87f7 Bug 1454107 - "Re-enable passive touch listeners on window/document/documentElement/body". r=kats 2018-04-13 16:35:00 +03:00
Andrew Swan a46219a92b Bug 1450801 Part 1: Remove front-end (about:addons) support for telemetry experiments. r=kmag
MozReview-Commit-ID: 9J4cPZxG2z0

--HG--
extra : rebase_source : 94ea557ac66d0383421054d085c592acb7d46fec
extra : histedit_source : f8e35b9f477d046e4a1ccff8d16090f45b5d9e46
2018-04-02 14:37:55 -07:00
Masayuki Nakano c389fb3752 Bug 1440189 - Stop dispatching keypress event to the default event group in web content (only Nightly and early Beta) unless web page isn't in blacklist r=smaug
UI Events declares that keypress event should be fired only when the keydown
sequence produces some characters.  For conforming to UI Events and
compatibility with the other browsers, we should stop dispatching keypress
events for non-printable keys.

For getting regression reports, we should enable this new behavior only
on Nightly.

However, some web apps actually broken with the standardized behavior.  For
protecting testers from known broken web apps, this patch introduces a
blacklist to take the traditional behavior under specific domain (and path in
it, optionally).  Currently, docs.google.com and mail.google.com are set by
default.

MozReview-Commit-ID: HSrYX8LUB0p

--HG--
extra : rebase_source : a2677d07410af289534db051767543a25c9a957a
2018-03-23 12:06:55 +09:00
Benjamin Bouvier 2d70c0b1e0 Bug 1445272: Add a pref to enable wasm gc in the browser/shell; r=luke
And a builtin function to test if wasm gc is enabled or not, to make testing
easier.

--HG--
extra : rebase_source : 0e608756d0c5f0231ba31af482c5e343a7119465
2018-03-21 14:32:47 +01:00
Sebastian Hengst 82f65475ee merge mozilla-central to autoland 2018-04-13 16:04:29 +03:00
Sebastian Hengst 0819f35e51 Backed out 4 changesets (bug 525063) on request from Andi. a=backout
Backed out changeset 516c4fb1e4b8 (bug 525063)
Backed out changeset 6ff8aaef2866 (bug 525063)
Backed out changeset bf13e4103150 (bug 525063)
Backed out changeset d7d2f08e051c (bug 525063)
2018-04-13 16:01:28 +03:00
Daniel Stenberg 10036a689e bug 1452616 - make TRR not wait for captive portal on Android by default r=mcmanus
MozReview-Commit-ID: DR3PgYuzZWs

--HG--
extra : rebase_source : 53f8944e1e6a093cf308efbb596f76b5d8a89ec1
2018-04-13 00:56:58 +02:00
Daniel Stenberg 9ad6beb28d bug 1453822 - TRR: add a mode for "explicitly turned off" r=mcmanus
... as opposed to off by default.

MozReview-Commit-ID: EClrW33xGkb

--HG--
extra : rebase_source : aa8de07950f0da41eb8136894b119308b0450319
2018-04-13 00:32:04 +02:00