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

18339 Коммитов

Автор SHA1 Сообщение Дата
Honza Bambas 1b5f4ca60b Bug 1559088 - Fix test_redirect-caching_failure.js to again do what it has to, r=kershaw
Differential Revision: https://phabricator.services.mozilla.com/D43796

--HG--
extra : moz-landing-system : lando
2019-08-30 16:44:11 +00:00
Ehsan Akhgari 625509f19c Bug 1399803 - Consider all IPv4 loopback addresses as secure context; r=bzbarsky,dragana
Differential Revision: https://phabricator.services.mozilla.com/D43633

--HG--
extra : moz-landing-system : lando
2019-08-30 07:57:34 +00:00
Eric Rahm e678238a60 Bug 1569323 - Remove verbose warning in SetUserPass. r=mayhemer
This removes a rather verbose warning during URI mutation. This often
happens for use cases such as attempting to clear the field. Since `Finalize`
is marked as `MOZ_MUST_USE` we can be confident that any failures that used
to be warned about are properly handled.

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

--HG--
extra : moz-landing-system : lando
2019-08-22 14:49:28 +00:00
Ehsan Akhgari d5e2f368cc Bug 1529396 - Fix another test CLOSED TREE
Bug #: 1529396

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

--HG--
extra : amend_source : 7445e9c7c4168365e363731dcc69b76a8bea3c20
2019-08-30 01:50:41 +03:00
Ehsan Akhgari 52b58160a7 Bug 1576109 - Ensure that the content blocking allow list principal is set correctly during HTTP redirects; r=baku,dragana
Differential Revision: https://phabricator.services.mozilla.com/D43541

--HG--
extra : moz-landing-system : lando
2019-08-29 18:48:43 +00:00
Bogdan Tara 3310211997 Backed out changeset a4768bd82d57 (bug 1559088) for test_redirect-caching_failure_wrap.js failures CLOSED TREE 2019-08-29 21:01:38 +03:00
Honza Bambas bcbbd6b737 Bug 1559088 - Fix test_redirect-caching_failure.js to again do what it has to, r=kershaw
Differential Revision: https://phabricator.services.mozilla.com/D43796

--HG--
extra : moz-landing-system : lando
2019-08-29 12:07:54 +00:00
Michal Novotny 19c05de902 Bug 1576826 - Intermittent Assertion failure: isResponse, at NetlinkService.cpp:613, r=kershaw
Obviously broadcasted messages can be multipart too.

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

--HG--
extra : moz-landing-system : lando
2019-08-29 12:08:53 +00:00
Barret Rennie b0cbc31990 Bug 1510569 - Implement serializers for nsITransportSecurityInfo, nsIX509Cert, and nsIX509CertList r=froydnj,keeler,mayhemer
As part of the ongoing effort to port the nsIWebProgress events from
RemoteWebProgress / WebProgressChild to BrowserParent / BrowserChild, we need
to (de)serialize the nsITransportSecurityInfo instance across the IPC layer.
The existing code was calling `NS_SerializeToString` which has the overhead of
(a) allocating a buffer and also performing base64 encoding/decoding. This
patch adds `IPC::ParamTraits` implementations for `nsITransportSecurityInfo`,
`nsIX509Certificate`, and `nsIX509CertList` that (de)serializes the params
directly onto and off of the IPC message so that we don't go through the
overhead of allocating and encoding/decoding an additional buffer.

This (de)serialization will address the performance issues present in the
current implementation.

As a side effect, I also make nsITransportSecurityInfo a builtinclass XPCOM
interface, since the existing serialization code was assuming it was, there is
only one implementation, and it is in C++.

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

--HG--
extra : moz-landing-system : lando
2019-08-28 18:55:31 +00:00
Dorel Luca b09fe526aa Backed out 4 changesets (bug 1510569) for build bustage. CLOSED TREE
Backed out changeset d7db6a1935ce (bug 1510569)
Backed out changeset 03b7cf756a7f (bug 1510569)
Backed out changeset fa318eec0e76 (bug 1510569)
Backed out changeset cecb17bd8c03 (bug 1510569)
2019-08-28 21:46:40 +03:00
Barret Rennie 4ab0fd7d38 Bug 1510569 - Implement serializers for nsITransportSecurityInfo, nsIX509Cert, and nsIX509CertList r=froydnj,keeler,mayhemer
As part of the ongoing effort to port the nsIWebProgress events from
RemoteWebProgress / WebProgressChild to BrowserParent / BrowserChild, we need
to (de)serialize the nsITransportSecurityInfo instance across the IPC layer.
The existing code was calling `NS_SerializeToString` which has the overhead of
(a) allocating a buffer and also performing base64 encoding/decoding. This
patch adds `IPC::ParamTraits` implementations for `nsITransportSecurityInfo`,
`nsIX509Certificate`, and `nsIX509CertList` that (de)serializes the params
directly onto and off of the IPC message so that we don't go through the
overhead of allocating and encoding/decoding an additional buffer.

This (de)serialization will address the performance issues present in the
current implementation.

As a side effect, I also make nsITransportSecurityInfo a builtinclass XPCOM
interface, since the existing serialization code was assuming it was, there is
only one implementation, and it is in C++.

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

--HG--
extra : moz-landing-system : lando
2019-08-28 18:00:16 +00:00
dlee f981c3905f Bug 1575811 - Remove |IsAllowListed| check in UrlClassifierCommon::AnnotateChannel. r=Ehsan
When URL Classifier reports a channel is a tracker, we should only notify the classification
result when it is a third-party channel.
That means, |IsAllowListed| should not take into consideation here.

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

--HG--
extra : moz-landing-system : lando
2019-08-28 13:40:33 +00:00
Henrik Skupin 1803585259 Bug 1570104 - Add shared IPv4 range from RFC 6598 (100.64/10) to allowed list of IP addresses for testing. r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D40167

--HG--
extra : moz-landing-system : lando
2019-08-28 10:58:48 +00:00
Kershaw Chang 5018d39958 Bug 1571987 - Forward proxy check request to parent process r=dragana,bwc
Differential Revision: https://phabricator.services.mozilla.com/D41004

--HG--
extra : moz-landing-system : lando
2019-08-24 05:37:00 +00:00
Paul Bone 08bc01ab37 Bug 1576814 - Skip tests that timeout r=kmag
Depends on D43572

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

--HG--
extra : moz-landing-system : lando
2019-08-27 19:07:43 +00:00
Ehsan Akhgari 6ed82c152f Bug 1540117 - Part 1: Do not generate a console warning when we reject an attempt to retrieve a cookie for a host that has none stored; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D43270

--HG--
extra : moz-landing-system : lando
2019-08-27 15:10:45 +00:00
Noemi Erli d6af4c1426 Backed out 3 changesets (bug 1540117) for failures in browser_storageAccessPrivateWindow.js
Backed out changeset 1dcf5956a3f1 (bug 1540117)
Backed out changeset 1dc867e1d4b2 (bug 1540117)
Backed out changeset c93e83feda5e (bug 1540117)
2019-08-27 18:06:58 +03:00
Ehsan Akhgari 184c0ca703 Bug 1540117 - Part 1: Do not generate a console warning when we reject an attempt to retrieve a cookie for a host that has none stored; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D43270

--HG--
extra : moz-landing-system : lando
2019-08-27 10:36:39 +00:00
Michal Novotny 390918caab Bug 1567616 - network id based on default gateway is wrong when VPN overrides default gateway by more specific routes r=dragana
This patch implements NetlinkService which communicates with kernel via netlink socket. It keeps track of addresses, default routes, interfaces and neighbors and uses it to calculate network ID.

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

--HG--
rename : netwerk/system/linux/nsNotifyAddrListener_Linux.cpp => netwerk/system/linux/nsNetworkLinkService.cpp
rename : netwerk/system/linux/nsNotifyAddrListener_Linux.h => netwerk/system/linux/nsNetworkLinkService.h
extra : moz-landing-system : lando
2019-08-26 21:46:32 +00:00
Andreea Pavel f042d32425 Backed out changeset 22469090e93e (bug 1567616) for build bustages on a CLOSED TREE
--HG--
rename : netwerk/system/linux/nsNetworkLinkService.cpp => netwerk/system/linux/nsNotifyAddrListener_Linux.cpp
rename : netwerk/system/linux/nsNetworkLinkService.h => netwerk/system/linux/nsNotifyAddrListener_Linux.h
2019-08-27 00:30:40 +03:00
Michal Novotny 128254f45e Bug 1567616 - network id based on default gateway is wrong when VPN overrides default gateway by more specific routes r=dragana
This patch implements NetlinkService which communicates with kernel via netlink socket. It keeps track of addresses, default routes, interfaces and neighbors and uses it to calculate network ID.

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

--HG--
rename : netwerk/system/linux/nsNotifyAddrListener_Linux.cpp => netwerk/system/linux/nsNetworkLinkService.cpp
rename : netwerk/system/linux/nsNotifyAddrListener_Linux.h => netwerk/system/linux/nsNetworkLinkService.h
extra : moz-landing-system : lando
2019-08-26 20:03:33 +00:00
Dragana Damjanovic 2826398670 Bug 1575780 - We need a long request's timeout for trronly mode. r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D43410

--HG--
extra : moz-landing-system : lando
2019-08-26 19:52:20 +00:00
Honza Bambas e09f9634c2 Bug 1451714 - Fix comment over LOAD_NO_NETWORK_IO flag, r=michal
Simply removing the confusing and not much info providing sentence.

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

--HG--
extra : moz-landing-system : lando
2019-08-26 13:58:47 +00:00
ffxbld 36f90d0df0 No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D43457

--HG--
extra : moz-landing-system : lando
2019-08-26 14:49:18 +00:00
Nika Layzell bf4d274ec0 Bug 1570369 - Part 15: Use IPDL refcounted for PHttpChannel, r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D40264

--HG--
extra : moz-landing-system : lando
2019-08-16 10:54:23 +00:00
Nika Layzell 696b024d27 Bug 1570369 - Part 14: Use IPDL refcounted for PHttpBackgroundChannel, r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D40263

--HG--
extra : moz-landing-system : lando
2019-08-16 10:50:08 +00:00
Nika Layzell 3538174984 Bug 1570369 - Part 13: Use IPDL refcounted for PFileChannel, r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D40259

--HG--
extra : moz-landing-system : lando
2019-08-16 10:46:30 +00:00
Nika Layzell cac925ef9d Bug 1570369 - Part 12: Use IPDL refcounted for PDataChannel, r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D40257

--HG--
extra : moz-landing-system : lando
2019-08-16 10:45:57 +00:00
Arpit Bharti 214fd3f380 Bug 1563246 - Reload the Public Suffix List when data is updated in profile folder r=leplatrem,kmag
Differential Revision: https://phabricator.services.mozilla.com/D42470

--HG--
extra : moz-landing-system : lando
2019-08-23 10:56:59 +00:00
Arpit Bharti 47dfa3b891 Bug 1563226 - Download the Public Suffix List using Remote Settings r=leplatrem
Differential Revision: https://phabricator.services.mozilla.com/D42469

--HG--
extra : moz-landing-system : lando
2019-08-22 14:09:42 +00:00
Kershaw Chang 89ca1976ab Bug 1570732 - Skip trr when parental control is enabled r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D42489

--HG--
extra : moz-landing-system : lando
2019-08-23 21:17:15 +00:00
Honza Bambas eb406bc935 Bug 1562276 - Proper transaction restart on HTTP_1_1_REQUIRED and h2 proxy, r=dragana.
1. Unsticky connection from a transaction we disable SPDY on to restart
2. Call OnReadSegment from TLSFilterTransaction;FilterOutput to push written data out (renegotiation)
3. Break indefinite loop that may occur during renegotiation by propagating WOULD_BLOCK via mFilterReadCode

Differential Revision; https;\\phabricator.services.mozilla.com\D40409

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

--HG--
extra : moz-landing-system : lando
2019-08-24 13:21:37 +00:00
Kershaw Chang 157eb3caa4 Bug 1574410 - Add tests to check captive portal URL is resolved by native dns r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D42491

--HG--
extra : moz-landing-system : lando
2019-08-23 20:23:12 +00:00
Kershaw Chang fee6e1a70f Bug 1574410 - Directly put the host of captive portal URL to TRR black list r=mt
Differential Revision: https://phabricator.services.mozilla.com/D42280

--HG--
extra : moz-landing-system : lando
2019-08-23 20:23:12 +00:00
Kershaw Chang 1ee6c512c5 Bug 1571356 - Add TRANSPARENT_PROXY_RESOLVES_HOST flag to connection info's hash key r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D43043

--HG--
extra : moz-landing-system : lando
2019-08-22 15:13:36 +00:00
Junior Hsu 0e6b4ffc45 Bug 1574676 - Obtaining COEP from the document through which target is nested r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D42397

--HG--
extra : moz-landing-system : lando
2019-08-22 15:45:19 +00:00
Sebastian Streich 444eb9179d Bug 1536058 - Add Cache-Isolation behind a pref r=ckerschb,Ehsan
***

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

--HG--
extra : moz-landing-system : lando
2019-08-22 15:20:53 +00:00
Christian Holler 1577bd20a8 Bug 1575493 - Create a RequestContext in the HTTP fuzzing target. r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D42815

--HG--
extra : moz-landing-system : lando
2019-08-22 13:38:16 +00:00
Jan de Mooij 28c7a3ddb9 Bug 1547977 - Use JS::DefaultHeapMaxBytes instead of 4 MB for PAC runtime. r=jonco,mayhemer
DefaultHeapMaxBytes is currently 32 MB so it should give us a bit more breathing
room.

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

--HG--
extra : moz-landing-system : lando
2019-08-21 15:21:40 +00:00
Dragana Damjanovic 5b141b34d7 Bug 1575488 - Sent the correct host name for the esni query. r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D42822

--HG--
extra : moz-landing-system : lando
2019-08-21 11:32:33 +00:00
Mike Hommey 66d7fe943e Bug 1575420 - Replace MOZ_WIDGET_TOOLKIT value of "gtk3" with "gtk". r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D42765

--HG--
extra : moz-landing-system : lando
2019-08-21 12:25:42 +00:00
Oana Pop Rus 3223cd3dc2 Backed out 4 changesets (bug 1510569) for causing build bustage on a CLOSED TREE
Backed out changeset eae555c11f25 (bug 1510569)
Backed out changeset 2fb8938d16db (bug 1510569)
Backed out changeset b480af862022 (bug 1510569)
Backed out changeset 642cd6323cdc (bug 1510569)
2019-08-21 22:55:43 +03:00
Junior Hsu cd2404613c Bug 1574603 - recognize COOP:unsafe-allow-outgoing r=kershaw
Differential Revision: https://phabricator.services.mozilla.com/D42367

--HG--
extra : moz-landing-system : lando
2019-08-21 13:37:07 +00:00
Barret Rennie d8a4453540 Bug 1510569 - Implement serializers for nsITransportSecurityInfo, nsIX509Cert, and nsIX509CertList r=froydnj,keeler
As part of the ongoing effort to port the nsIWebProgress events from
RemoteWebProgress / WebProgressChild to BrowserParent / BrowserChild, we need
to (de)serialize the nsITransportSecurityInfo instance across the IPC layer.
The existing code was calling `NS_SerializeToString` which has the overhead of
(a) allocating a buffer and also performing base64 encoding/decoding. This
patch adds `IPC::ParamTraits` implementations for `nsITransportSecurityInfo`,
`nsIX509Certificate`, and `nsIX509CertList` that (de)serializes the params
directly onto and off of the IPC message so that we don't go through the
overhead of allocating and encoding/decoding an additional buffer.

This (de)serialization will address the performance issues present in the
current implementation.

As a side effect, I also make nsITransportSecurityInfo a builtinclass XPCOM
interface, since the existing serialization code was assuming it was, there is
only one implementation, and it is in C++.

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

--HG--
extra : moz-landing-system : lando
2019-08-21 18:24:56 +00:00
Thomas Nguyen cf20303f06 Bug 1528697 - Remove ReferrerPolicy.h and add utils to ReferrerInfo r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D41956

--HG--
extra : moz-landing-system : lando
2019-08-21 12:09:06 +00:00
Thomas Nguyen bbd6f51a56 Bug 1528697 - Add cenum referrerpolicy in ReferrerInfo.idl r=ckerschb,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D41955

--HG--
extra : moz-landing-system : lando
2019-08-21 13:28:23 +00:00
Thomas Nguyen 32ab8293ff Bug 1528697 - Expose ReferrerPolicy.webidl and use referrerpolicy enum r=smaug
ReferrerPolicy gets tossed back and forth as a uint32_t and
ReferrerPolicy enum in header file. Expose ReferrerPolicyValues from
webidl file and use consistently in native code.

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

--HG--
extra : moz-landing-system : lando
2019-08-21 13:24:45 +00:00
Dorel Luca 4bc74d1cc5 Backed out changeset 4e11ff3ee0e7 (bug 1575493) for build bustage on build/src/netwerk/test/fuzz/TestHttpFuzzing.cpp. CLOSED TREE 2019-08-21 14:39:19 +03:00
Christian Holler 284b791163 Bug 1575493 - Create a RequestContext in the HTTP fuzzing target. r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D42815

--HG--
extra : moz-landing-system : lando
2019-08-21 11:12:39 +00:00
Barret Rennie 3f90c2f83f Bug 1564221 - Make nsITransportSecurityInfo builtinclass r=keeler
There are no longer any consumers of the JS-implemented
`FakeTransportSecurityInfo` class, so it can be removed. That removes the last
JS-implemented `nsITransportSecurityInfo` instance and it therefore can be
marked `builtinclass`.

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

--HG--
extra : moz-landing-system : lando
2019-08-20 21:38:24 +00:00