shindli
eefe251a54
Backed out 4 changesets (bug 1502025) for X failures in netwerk/test/unit/test_network_connectivity_service.js CLOSED TREE
...
Backed out changeset bf4254adcdfe (bug 1502025)
Backed out changeset 731cbca9930d (bug 1502025)
Backed out changeset 9bfdb64bf81e (bug 1502025)
Backed out changeset 99eed75874f1 (bug 1502025)
2018-12-01 01:14:34 +02:00
Valentin Gosu
5370164dcb
Bug 1502025 - Add IPv6 support to httpd.js r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D13335
--HG--
extra : moz-landing-system : lando
2018-11-30 17:25:46 +00:00
Valentin Gosu
0e209b80b8
Bug 1502025 - Use captive portal endpoints for connectivity checks r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D13334
--HG--
extra : moz-landing-system : lando
2018-11-30 17:25:33 +00:00
Valentin Gosu
fa9c4b4c54
Bug 1502025 - Remove failure counters from nsSocketTransport2 r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D13333
--HG--
extra : moz-landing-system : lando
2018-11-30 17:25:19 +00:00
Valentin Gosu
451ad2389e
Bug 1502025 - Add NS_HTTP_DISABLE_IPV4 and NS_HTTP_DISABLE_IPV6 flags r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D13332
--HG--
extra : moz-landing-system : lando
2018-11-30 17:25:15 +00:00
Sylvestre Ledru
265e672179
Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
...
# ignore-this-changeset
--HG--
extra : amend_source : 4d301d3b0b8711c4692392aa76088ba7fd7d1022
2018-11-30 11:46:48 +01:00
Andreea Pavel
50096c9761
Backed out 3 changesets (bug 1509493) for failng win xpcshell at netwerk/test/unit/test_mozTXTToHTMLConv.js on a CLOSED TREE
...
Backed out changeset 05562b7d3eff (bug 1509493)
Backed out changeset 6498765e1d65 (bug 1509493)
Backed out changeset 5e4a5cf81c26 (bug 1509493)
2018-11-29 20:54:22 +02:00
Fabian Henneke
51d3d2f9c6
Bug 1509493 - Fix markup generation for nested email addresses r=BenB
...
In mozTXTToHTMLConv, FindURL is not able to correctly calculate replaceBefore for nested email addresses/URLs such as john@doe.org}john@doe.org. As a workaround, we keep track of the end of the last URL HTML markup in the output string and skip any subsequent URLs whose replaceBefore would cut into this markup.
Differential Revision: https://phabricator.services.mozilla.com/D13391
--HG--
extra : moz-landing-system : lando
2018-11-29 15:49:29 +00:00
Fabian Henneke
a898f276d0
Bug 1509493 - Do not include unmatched ')' in email addresses r=BenB
...
Differential Revision: https://phabricator.services.mozilla.com/D13390
--HG--
extra : moz-landing-system : lando
2018-11-29 14:04:57 +00:00
Fabian Henneke
bc7746f52d
Bug 1509493 - Provide basic test coverage for email address parsing r=BenB
...
Differential Revision: https://phabricator.services.mozilla.com/D13389
--HG--
extra : moz-landing-system : lando
2018-11-29 15:49:31 +00:00
Dragana Damjanovic
f4cda9e92e
Bug 1502462 - The altSrv checker does not build a uri correctly if origin is ipv6 address. r=valentin
...
AltSvcMapping::ProcessHeader should use GetAsciiHost instead of GetHost.
Differential Revision: https://phabricator.services.mozilla.com/D13066
--HG--
extra : moz-landing-system : lando
2018-11-29 10:15:13 +00:00
Ehsan Akhgari
490e611801
Bug 1508472 - Part 5: Fifth batch of comment fix-ups in preparation for the tree reformat r=sylvestre
...
This is a best effort attempt at ensuring that the adverse impact of
reformatting the entire tree over the comments would be minimal. I've used a
combination of strategies including disabling of formatting, some manual
formatting and some changes to formatting to work around some clang-format
limitations.
Differential Revision: https://phabricator.services.mozilla.com/D13371
--HG--
extra : moz-landing-system : lando
2018-11-29 10:30:46 +00:00
Coroiu Cristina
e92b0f1d7f
Merge inbound to mozilla-central a=merge
2018-11-29 06:27:40 +02:00
Gabriele Svelto
19e52bebd4
Bug 1510582 - Remove useless inclusions of Services.h r=erahm
...
Differential Revision: https://phabricator.services.mozilla.com/D13240
--HG--
extra : moz-landing-system : lando
2018-11-28 17:25:23 +00:00
Siddhant085
87b814fa1e
Bug 1453264 - Dropping nsIBrowserSearchService::currentEngine in favour of defaultEngine. r=Standard8
...
All instances of nsIBrowserSearchService::currentEngine have been replaced by nsIBrowserSearchService::defaultEngine. Dropping this variable now.
Differential Revision: https://phabricator.services.mozilla.com/D12223
--HG--
extra : moz-landing-system : lando
2018-11-28 15:21:11 +00:00
Cosmin Sabou
e1e8f2ea69
Merge mozilla-inbound to mozilla-central. a=merge
2018-11-28 06:08:19 +02:00
Dragana Damjanovic
71d81618b1
Bug 1497868 - In nsFtp, close data pipe as well. r=mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D12740
--HG--
extra : moz-landing-system : lando
2018-11-27 19:48:20 +00:00
arthur.iakab
af07f9b9d4
Backed out 13 changesets (bug 1500948, bug 1509362, bug 1509591, bug 1448426, bug 1500949, bug 1487249, bug 1509930, bug 1500950, bug 1500944) for causing crashes and assertion failures on PBackgroundParent.cpp:696 CLOSED TREE
...
Backed out changeset c3fe435e473a (bug 1509362)
Backed out changeset 6494840edc17 (bug 1509591)
Backed out changeset 123b5d5a3637 (bug 1509591)
Backed out changeset bce195f98895 (bug 1509930)
Backed out changeset 66db13126408 (bug 1500950)
Backed out changeset 3b5fffae2d2b (bug 1500949)
Backed out changeset 71c3b3677db8 (bug 1500948)
Backed out changeset 784b3b56e2ab (bug 1500944)
Backed out changeset 0bad27401ddb (bug 1500944)
Backed out changeset e0f95dd96d54 (bug 1448426)
Backed out changeset c60fa11538db (bug 1487249)
Backed out changeset 0190d4ffa54f (bug 1487249)
Backed out changeset 3cd10aba9130 (bug 1487249)
2018-11-28 02:57:32 +02:00
Nika Layzell
6bda5576a0
Bug 1509591 - Part 2: Remove now-unnecessary mIPCOpen variable, r=mccr8
...
This should eliminate most variables which can be replaced with IPCOpen().
Differential Revision: https://phabricator.services.mozilla.com/D12957
2018-11-27 18:09:51 -05:00
Ehsan Akhgari
691c192f43
Bug 1509047 - Part 1: Add a permission manager API for enumerating all permissions with a type prefix r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D12862
--HG--
extra : source : f8fc57f3ab6450a5f32e282c4f0d02cc8a9eb73e
2018-11-27 16:50:39 +00:00
Andreea Pavel
eb6a42f46f
Backed out changeset f8fc57f3ab64 (bug 1509047) for build bustages on a CLOSED TREE
2018-11-27 19:10:44 +02:00
Ehsan Akhgari
491663338c
Bug 1509047 - Part 1: Add a permission manager API for enumerating all permissions with a type prefix r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D12862
--HG--
extra : moz-landing-system : lando
2018-11-27 16:50:39 +00:00
Ehsan Akhgari
486b276941
Bug 1509555 - Part 4: Remove nsIWebProgressListener::STATE_BLOCKED_SLOW_TRACKING_CONTENT r=baku
...
Depends on D12830
Differential Revision: https://phabricator.services.mozilla.com/D12831
--HG--
extra : moz-landing-system : lando
2018-11-27 08:56:39 +00:00
Ehsan Akhgari
e8df714b7c
Bug 1509555 - Part 3: Remove reporting of tracker statistics to docshell which was added for fastblock r=valentin,baku
...
Depends on D12829
Differential Revision: https://phabricator.services.mozilla.com/D12830
--HG--
extra : moz-landing-system : lando
2018-11-27 08:55:36 +00:00
Ehsan Akhgari
b0af8bcf40
Bug 1509555 - Part 2: Remove the core fastblock code r=valentin
...
Depends on D12828
Differential Revision: https://phabricator.services.mozilla.com/D12829
--HG--
extra : moz-landing-system : lando
2018-11-26 11:37:01 +00:00
Ehsan Akhgari
15bf246249
Bug 1509555 - Part 1: Remove the telemetry probe for measuring the rate at which popular analytics providers get blocked by fastblock r=baku,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D12828
--HG--
extra : moz-landing-system : lando
2018-11-27 08:50:36 +00:00
Gabriele Svelto
566f669d07
Bug 1509450 - Remove unnecessary inclusions of ContentParent.h and ContentChild.h r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D12728
--HG--
extra : moz-landing-system : lando
2018-11-26 14:49:44 +00:00
Dragana Damjanovic
2e0854b645
Bug 1481947 - When getting eTLD+1 fails, check if uri is an ip literal or localhost. r=asuth
...
Differential Revision: https://phabricator.services.mozilla.com/D12739
--HG--
extra : moz-landing-system : lando
2018-11-26 19:43:57 +00:00
Ehsan Akhgari
2aea5bbb1a
Bug 1508044 - Part 4: Make nsChannelClassifier use nsContentUtils::IsThirdPartyWindowOrChannel() in order to avoid having duplicated logic r=francois
...
Depends on D12853
Differential Revision: https://phabricator.services.mozilla.com/D12854
--HG--
extra : moz-landing-system : lando
2018-11-27 00:46:50 +00:00
Valentin Gosu
a6efc6d0af
Bug 1260527 - Change HttpChannelChild to open IPDL earlier than AsyncOpen r=kershaw,dragana
...
Since we need the loadInfo to set up the IPDL connection, we move the logic to
do so from HttpChannelChild::AsyncOpen to HttpChannelChild::SetLoadInfo
via InitIPCChannel.
It would have been nicer to do so in HttpChannelChild::Init, but
I ran into issues with view-source channels, which required an ugly hack.
Also note that RemoteChannelExists() preserves the existing contract - it is
true between asyncOpen and onStopRequest - but the name is slightly off, as
the channel has already been open by the time we call asyncOpen. We will fix
this in a follow-up.
Differential Revision: https://phabricator.services.mozilla.com/D12419
--HG--
extra : moz-landing-system : lando
2018-11-26 17:38:42 +00:00
Valentin Gosu
66d5164c37
Bug 1502097 - (Part 2) Define IDN blocklist as ranges of characters [ {firstChar, lastChar}* ] r=jfkthame,dragana
...
* Changes the format of the blocklist from a list of characters to a list of
character ranges. Binary search still works, and it is easier to include
large ranges of characters in the blocklist.
* Moves logic for handling the blocklist to IDNBlocklistUtils.h/.cpp
* Changes NS_EscapeURL to take a function that determines if a character
is blocked. This way the type of the array doesn't matter.
Differential Revision: https://phabricator.services.mozilla.com/D12210
--HG--
extra : moz-landing-system : lando
2018-11-24 12:04:34 +00:00
Valentin Gosu
5f1a383a19
Bug 1502097 - (Part 1) Move pref network.IDN.blacklist_chars to separate hardcoded file IDNCharacterBlocklist.inc r=jfkthame,dragana
...
* Moves the value of the pref and also the fallback definition in nsTextToSubURI.cpp to a separate file.
* The file has better formatting, so we may follow its history more easily. Each range of consecutive values is defined on a separate line.
* Renames `blacklist` to `blocklist` for pref and variable names (for this individual pref. network.IDN.whitelist.* needs to be handled in a separate bug)
* Changes nsIDNService::mIDNBlocklist from being an nsString to sorted nsTArray<char16> and uses mozilla::BinarySearch() to check for characters.
Differential Revision: https://phabricator.services.mozilla.com/D12209
--HG--
extra : moz-landing-system : lando
2018-11-23 22:40:29 +00:00
Valentin Gosu
8e3e7b2a3e
Bug 1510715 - Backed out changeset d15f0ac561d9 (bug 1260527) a=backout
2018-11-28 21:40:35 +01:00
Andrea Marchesini
a91ebb7cd1
Bug 1510580 - Use nsIURIFixup in netwerk/protocol/http, r=valentin
2018-11-28 18:05:52 +01:00
Cosmin Sabou
1b7e778d69
Merge mozilla-central to mozilla-inbound.
2018-11-28 00:04:55 +02:00
Razvan Maries
a6f88b57a1
Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE
2018-11-27 19:38:10 +02:00
Geoff Brown
172d5d491d
Bug 1507207 - Skip some tests on Android/e10s; r=snorp
...
When the Android harness e10s support was fixed, a few crashtests started failing.
2018-11-27 09:41:13 -07:00
Eric Rahm
78491d6518
Bug 1435899 - Use nsStringStream for the data channel buffer. r=bz
...
A pipe is no longer used for the input stream, instead we use a string stream
which in most cases will be able to share the string data buffer rather than
copying it.
--HG--
extra : rebase_source : 592af1d2f55b7964d2b84c8e6f3def310557a866
2018-02-02 12:42:55 -08:00
Ehsan Akhgari
c964f1264c
Bug 1508044 - Check the return values of mozIThirdPartyUtil::IsThirdPartyFoo() in IsThirdParty() inside nsChannelClassifier.cpp r=francois
...
Differential Revision: https://phabricator.services.mozilla.com/D12784
--HG--
extra : moz-landing-system : lando
2018-11-24 00:49:03 +00:00
Byron Campen [:bwc]
e6218aee8a
Bug 1494312 - Part 2: Make the internal PC stats API based on MozPromise. r=mjf,mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D11776
--HG--
extra : moz-landing-system : lando
2018-11-23 16:46:52 +00:00
Byron Campen [:bwc]
69e7155b3a
Bug 1494312 - Part 1: Remove unused nsresult returns from MediaTransportHandler. r=mjf
...
Differential Revision: https://phabricator.services.mozilla.com/D11775
--HG--
extra : moz-landing-system : lando
2018-11-23 16:46:23 +00:00
Peter Van der Beken
025219f350
Bug 1507604 - Remove nsINetworkProperties. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D12135
--HG--
extra : moz-landing-system : lando
2018-11-23 15:53:01 +00:00
Nazım Can Altınova
5b5f30a1bb
Bug 1507043 - Add profiler labels to annotate some HttpChannelChild methods with profiler category NETWORK r=mstange
...
Differential Revision: https://phabricator.services.mozilla.com/D12568
--HG--
extra : moz-landing-system : lando
2018-11-22 10:02:15 +00:00
Valentin Gosu
e823bab3cc
Bug 1487964 - Do not report resource-timing subdocument loads triggered by that subdocument r=bzbarsky
...
Differential Revision: https://phabricator.services.mozilla.com/D9503
--HG--
extra : moz-landing-system : lando
2018-11-21 16:28:20 +00:00
Cosmin Sabou
79b7d9fe91
Backed out changeset 395b95afd795 (bug 1487964) for mochitest failures on test_resource_timing_nocors.
2018-11-21 17:14:29 +02:00
Dragana Damjanovic
1687671372
Bug 1508288 - nsHostResolver::mOriginSuffix is not used, we should remove it. r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D12301
--HG--
extra : moz-landing-system : lando
2018-11-20 21:58:17 +00:00
Valentin Gosu
a80d7bf63e
Bug 1487964 - Do not report resource-timing subdocument loads triggered by that subdocument r=bzbarsky
...
Differential Revision: https://phabricator.services.mozilla.com/D9503
--HG--
extra : moz-landing-system : lando
2018-11-17 19:30:36 +00:00
Ehsan Akhgari
9459a6554e
Bug 1506947 - Part 1: Add a pref for site-specific workarounds for blocking cookies from trackers; r=francois
...
Differential Revision: https://phabricator.services.mozilla.com/D11979
2018-11-20 23:00:30 -05:00
Ehsan Akhgari
5a990aab93
Bug 1504728 - Part 1: Add a content blocking notification for indicating when a top-level page is using cookies or site data r=baku,valentin,johannh
...
Differential Revision: https://phabricator.services.mozilla.com/D11122
--HG--
extra : moz-landing-system : lando
2018-11-20 14:34:49 +00:00
Boris Zbarsky
9691e7ba88
Bug 1507540 part 3. Use more notxpcom attributes in netwerk/. r=valentin
2018-11-19 20:17:53 -05:00