Tom Schuster
02af40ca25
Bug 1510225 - Refresh script MIME type telemetry again. r=dveditz datareview=chutten
...
Differential Revision: https://phabricator.services.mozilla.com/D14762
--HG--
extra : rebase_source : 7263d071a281c518cd2220fe2fe938f52265249b
2018-12-17 17:59:48 +01:00
Dragana Damjanovic
2ebce46fd8
Bug 1415625 - Use Telemetry::CanRecordPreReleaseData instead of toolkit.telemetry.enabled. Remove network.allow-experiments because it is not used. r=michal
...
Differential Revision: https://phabricator.services.mozilla.com/D12745
--HG--
extra : moz-landing-system : lando
2018-12-18 17:19:29 +00:00
Honza Bambas
25a593d03e
Bug 1506821 - Redirect content is shown when redirecting to a blacklisted port. r=dragana
2018-12-14 09:25:00 -05:00
Andrea Marchesini
6b9fe3a6cf
Bug 1511436 - Cleanup URL-Classifier code - part 3 - AsyncUrlChannelClassifier, r=dimi
2018-12-14 12:40:17 +01:00
Andrea Marchesini
69926deea6
Bug 1511436 - Cleanup URL-Classifier code - part 1 - nsIUrlClassifierFeature, r=dimi
...
--HG--
rename : netwerk/base/nsChannelClassifier.cpp => netwerk/url-classifier/nsChannelClassifier.cpp
rename : netwerk/base/nsChannelClassifier.h => netwerk/url-classifier/nsChannelClassifier.h
rename : netwerk/base/nsIURIClassifier.idl => netwerk/url-classifier/nsIURIClassifier.idl
2018-12-14 12:40:16 +01:00
Andrea Marchesini
cdd5a7b12c
Bug 1511436 - Cleanup URL-Classifier code - part 0 - use of StaticPrefs, r=dimi
2018-12-14 12:40:16 +01:00
Bogdan Tara
724c256428
Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE
2018-12-14 07:45:04 +02:00
Jean-Yves Avenard
95d598e69b
Bug 1513677 - only initialize UserAgentOverrides.jsm once. r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D14305
--HG--
extra : moz-landing-system : lando
2018-12-13 15:19:33 +00:00
Cosmin Sabou
0bb1749356
Bug 1507467 - Make sure mAfterOnStartRequestBegun is true for channels loaded with LOAD_ONLY_IF_MODIFIED, r=valentin
...
This patch ensures that mAfterOnStartRequestBegun is set to true before notifying stream listener.
2018-12-12 21:02:18 +02:00
Honza Bambas
7c45d38957
Bug 1513470 - Block redirect content from being shown when target data URL is broken, r=dragana
2018-12-12 11:10:00 +02:00
Jean-Yves Avenard
a73ddb5ad2
Bug 1512456 - P5. Refactor WaitForBgParent. r=gerald
...
Differential Revision: https://phabricator.services.mozilla.com/D14028
--HG--
extra : moz-landing-system : lando
2018-12-11 10:46:29 +00:00
Valentin Gosu
ec72bc563e
Bug 1380148 - Assert if securityInfo deserialization fails r=mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D14056
--HG--
extra : moz-landing-system : lando
2018-12-10 21:20:02 +00:00
Valentin Gosu
4a2272c90f
Bug 1506965 - Add assertions that members in bitfields are only used on the main thread r=mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D13245
--HG--
extra : moz-landing-system : lando
2018-12-05 15:58:46 +00:00
Valentin Gosu
bf8dd3ab51
Bug 1506965 - Make variables atomic to avoid data race r=mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D13243
--HG--
extra : moz-landing-system : lando
2018-12-05 15:58:21 +00:00
Valentin Gosu
e9a56d9090
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-12-02 23:28:52 +00:00
Tooru Fujisawa
7983faeb5d
Bug 1511393 - Use c-basic-offset: 2 in Emacs mode line for C/C++ code. r=nbp
2018-12-01 04:52:05 +09:00
Benjamin Bouvier
a7f1d173a0
Bug 1511383: Update vim modelines after clang-format; r=sylvestre
...
- modify line wrap up to 80 chars; (tw=80)
- modify size of tab to 2 chars everywhere; (sts=2, sw=2)
--HG--
extra : rebase_source : 7eedce0311b340c9a5a1265dc42d3121cc0f32a0
extra : amend_source : 9cb4ffdd5005f5c4c14172390dd00b04b2066cd7
2018-11-30 16:39:55 +01: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
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
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
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
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
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
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
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
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
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
Gurzau Raul
6d17917258
Merge mozilla-central to autoland. a=merge CLOSED TREE
2018-11-16 19:54:35 +02:00
Kershaw Chang
1d281934cf
Bug 1452535 - Move some logs to level 1 r=mayhemer
...
WPT parses HTTP log and create a HAR file. To reduce the overhead of logging, this patch moves some logs that are used by WPT parser to level 1.
Differential Revision: https://phabricator.services.mozilla.com/D8986
--HG--
extra : moz-landing-system : lando
2018-11-16 16:35:52 +00:00
Dragana Damjanovic
37b8159b48
Bug 1506612 - Check whether the tunnel connection is initiated. r=bagder
...
Differential Revision: https://phabricator.services.mozilla.com/D12003
--HG--
extra : moz-landing-system : lando
2018-11-16 10:42:56 +00:00
Narcis Beleuzu
c8215609ff
Backed out 2 changesets (bug 1504728, bug 1505198) for xpcshell failures on test_WebExtensionContentScript.js. CLOSED TREE
...
Backed out changeset 26318538f077 (bug 1505198)
Backed out changeset fc39602006be (bug 1504728)
2018-11-16 02:34:15 +02:00
Junior Hsu
f6d5762e57
Bug 1503736 - Origin header honors network.http.referer.hideOnionSource r=ckerschb,dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D11265
--HG--
extra : moz-landing-system : lando
2018-11-14 21:39:13 +00:00
Csoregi Natalia
c9b70719c8
Merge mozilla-central to autoland. CLOSED TREE
2018-11-16 00:19:45 +02:00
Ehsan Akhgari
7f3a7b13de
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-14 17:19:25 +00:00
Kershaw Chang
f0bd5e236c
Bug 1504512 - Do not delete mTrailers explicitly, r=valentin
...
Since mTrailers is nsAutoPtr, there is no need to delete it explicitly.
--HG--
extra : rebase_source : 0928c18382ef4820ca7379810becacfd7e18eff0
2018-11-09 02:53:00 +02:00
Randell Jesup
8773e64196
Bug 1505948: Add cache info to network profiler markers r=mstange,nwgh
2018-11-14 15:54:22 -05:00
Ciure Andrei
92c9686945
Backed out changeset e157b95e9b5e (bug 1505948) for HttpChannelChild.cpp build bustages CLOSED TREE
2018-11-14 23:41:01 +02:00
Randell Jesup
286dfeada3
Bug 1505948: Add cache info to network profiler markers r=mstange,nwgh
2018-11-14 15:54:22 -05:00
Nicholas Hurley
a4d48c1eb9
Bug 1505867 - Add pref for hpack table dumps. r=bagder
...
Now that h2 is pretty well stable, and we're fairly confident in our hpack table implementation, it's worth hiding this logging without some extra hoops, as it's just a lot of noise in logs.
Differential Revision: https://phabricator.services.mozilla.com/D11406
--HG--
extra : moz-landing-system : lando
2018-11-09 07:23:17 +00:00
Dorel Luca
2f261feba3
Backed out changeset 365e0d2414bf (bug 1504728) for browser-chrome failures. CLOSED TREE
2018-11-09 18:48:39 +02:00