Commit Graph

19133 Commits

Author SHA1 Message Date
Matt Woodrow
ca24f6fed5 Bug 1607991 - Remove ConfigureChannel. r=kmag
The intent of ConfigureChannel was to be code that needed to be applied to both the DocumentChannelChild in the content process, and the real channel in the parent.

It looks like everything in there is either QI'ing to a sub-type of channel (which won't apply to DocumentChannelChild), or is mutating the loadinfo/loadflags (which only need to be done once).

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

--HG--
extra : moz-landing-system : lando
2020-01-17 02:11:40 +00:00
Michal Novotny
b66b7fa491 Bug 1606207 - Remove first-party cache isolation telemetry r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D59352

--HG--
extra : moz-landing-system : lando
2020-01-14 13:53:01 +00:00
Ting-Yu Lin
4934b1be3e Bug 1308636 Part 1 - Convert -moz-column-span to column-span in a crashtest. r=dbaron
-moz-column-span missed the conversion in Bug 1308587 Part 2.
https://hg.mozilla.org/mozilla-central/rev/bb59a0c37162

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

--HG--
extra : moz-landing-system : lando
2020-01-16 21:45:15 +00:00
Honza Bambas
13a16f0e2d Bug 1596799 - Have a preference to force remote TCP/UDP port remapping for easier local network testing, r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D59917

--HG--
extra : moz-landing-system : lando
2020-01-16 17:22:36 +00:00
Dorel Luca
d29d22d6dc Backed out changeset 84f69fc66690 (bug 1596799) for Browser-chrome failures in /builds/worker/workspace/build/src/netwerk/base/nsSocketTransportService2.cpp. CLOSED TREE 2020-01-15 21:31:46 +02:00
Honza Bambas
0e35da72e0 Bug 1596799 - Have a preference to force remote TCP/UDP port remapping for easier local network testing, r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D59917

--HG--
extra : moz-landing-system : lando
2020-01-15 18:30:42 +00:00
Ehsan Akhgari
338a38518d Bug 1600965 - Add support for blocking on the DNS resolution for HTTP channels; r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D56799

--HG--
extra : moz-landing-system : lando
2020-01-15 14:53:12 +00:00
Matt Woodrow
dc86748b77 Bug 1599438 - Store sandbox flags on the LoadInfo when creating a channel for a docshell, so that we don't read a stale value from the BrowsingContext later. r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D59263

--HG--
extra : moz-landing-system : lando
2020-01-15 08:02:57 +00:00
Narcis Beleuzu
c59ca04e7b Backed out changeset b3538b7016aa (bug 1599438) for bustages on TestHttpFuzzing.cpp . CLOSED TREE 2020-01-15 06:03:55 +02:00
Matt Woodrow
dd0d183cb4 Bug 1599438 - Store sandbox flags on the LoadInfo when creating a channel for a docshell, so that we don't read a stale value from the BrowsingContext later. r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D59263

--HG--
extra : moz-landing-system : lando
2020-01-15 02:05:57 +00:00
Valentin Gosu
885e829202 Bug 1608114 - Diagnose ~20ms delay processing a DoH response r=dragana
* Enables timing for TRR channels and records telemetry with time elapsed
  between the responseEnd and when the listener is notified with the
  nsHostRecord object

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

--HG--
extra : moz-landing-system : lando
2020-01-14 12:11:46 +00:00
Randell Jesup
639b7b7769 Bug 1608523: Add MOZ_LOG_TIME() to allow time ranges for logs r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D59552

--HG--
extra : moz-landing-system : lando
2020-01-14 21:36:19 +00:00
Liang-Heng Chen
e5c5a46210 Bug 1587182 - add limitForeignContexts attribute to support dynamic FPI; r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D58426

--HG--
extra : moz-landing-system : lando
2020-01-14 17:07:48 +00:00
Rob Wu
155bac71f8 Bug 1601499 - Compute baseDomain when cookies are read from the db r=Ehsan
baseDomain is used as a key for cookies in a hashmap. For cookie
operations to work properly, the baseDomain generation must be stable.
This is however not the case, because the result can change by updates
to the public suffix list.

Since the stored baseDomain is not reliable, the value must be
recomputed when the database is read.

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

--HG--
extra : moz-landing-system : lando
2020-01-14 17:17:17 +00:00
Ehsan Akhgari
b2cfa59626 Bug 1607615 - Allow CORS preflights with a default of 5 seconds for expiry if Access-Control-Max-Age hasn't been sent; r=mayhemer
The default expiry value is chosen based on what Chromium uses:
https://source.chromium.org/chromium/chromium/src/+/master:services/network/public/cpp/cors/preflight_result.cc;l=27;drc=529117e5ed802c91a5cf192a72b4097d27fcb928?originalUrl=https:%2F%2Fcs.chromium.org%2F

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

--HG--
extra : moz-landing-system : lando
2020-01-14 17:13:11 +00:00
Ehsan Akhgari
ae823cb5a3 Bug 1484315 - Refactor the third-party checks used in the cookie backend; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D58998

--HG--
extra : moz-landing-system : lando
2020-01-08 10:25:44 +00:00
Dragana Damjanovic
b97060f65e Bug 1609051 - Fix int format in a comment.r=michal
Differential Revision: https://phabricator.services.mozilla.com/D59838

--HG--
extra : moz-landing-system : lando
2020-01-14 11:23:07 +00:00
Valentin Gosu
07bb31d4d8 Bug 1608207 - Make sure TRR requests don't use the HTTP cache r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D59769

--HG--
extra : moz-landing-system : lando
2020-01-14 08:50:07 +00:00
Shane Caraveo
4d3b7a6d20 Bug 1604618 support request cancel reason in webrequest r=rpl,Honza
Support cancel reason so devtools, download panel, etc. can understand that an extension cancelled a request.

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

--HG--
extra : moz-landing-system : lando
2020-01-13 20:30:26 +00:00
Alex Henrie
e71e6666f8 Bug 1608002 - Link to CancelSynchronousIo at compile time. r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D59269

--HG--
extra : moz-landing-system : lando
2020-01-13 18:49:36 +00:00
Eric Rahm
78ee6675cf Bug 1606187 - Part 2b: Update users of nsClassHashtable to handle UniquePtr differences r=KrisWright,froydnj
Differential Revision: https://phabricator.services.mozilla.com/D59042

--HG--
extra : moz-landing-system : lando
2020-01-13 19:18:56 +00:00
Tim Huang
327d5ae1e8 Bug 1599043 - Part 9: Set channel matched info in channels in parent process. r=dimi
This patch makes the matched info also set into the channels in the
parent process. This info is neeced for the ContentBlocking telemetry
and GeckoView also relies on it.

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

--HG--
extra : moz-landing-system : lando
2020-01-13 14:09:03 +00:00
Tim Huang
954fc76e45 Bug 1599043 - Part 4: Notify the OnContentBlockingEvent in the parent process in UrlClassifierCommon. r=dimi,Ehsan
We make the OnContentBlockingEvent to be notified in the parent procees
for UrlClassifierCommon. There are two place would trigger this,
UrlClassifierCommon::SetBlockedContent and
UrlClassifierCommon::AnnotateChannel. But we still send to the child
process to notify the content blocking since we need to update the log
in the content process in this stage.

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

--HG--
extra : moz-landing-system : lando
2020-01-13 14:08:20 +00:00
pbz
c25ee45b34 Bug 1607760 - Remove ConfirmAuth prompt and URI userinfo telemetry. r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D59494

--HG--
extra : moz-landing-system : lando
2020-01-13 09:41:55 +00:00
Matt Woodrow
ce3b50b737 Bug 1607987 - Split DocumentChannelChild into two classes. r=jya
This shouldn't have any functional changes, and adds some new comments to explain the purpose of the classes a bit better.

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

--HG--
rename : netwerk/ipc/DocumentChannelChild.cpp => netwerk/ipc/DocumentChannel.cpp
rename : netwerk/ipc/DocumentChannelChild.h => netwerk/ipc/DocumentChannel.h
extra : source : ca6f43c061311dfe3e45f0216e320872d9d62cd4
2020-01-13 00:28:13 +00:00
Ciure Andrei
c4c26cd32b Backed out changeset ca6f43c06131 (bug 1607987) for causing test_bug369370.html to permafail 2020-01-13 04:10:57 +02:00
Matt Woodrow
8b09f8ec79 Bug 1607987 - Split DocumentChannelChild into two classes. r=jya
This shouldn't have any functional changes, and adds some new comments to explain the purpose of the classes a bit better.

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

--HG--
rename : netwerk/ipc/DocumentChannelChild.cpp => netwerk/ipc/DocumentChannel.cpp
rename : netwerk/ipc/DocumentChannelChild.h => netwerk/ipc/DocumentChannel.h
extra : moz-landing-system : lando
2020-01-13 00:28:13 +00:00
Jan de Mooij
44ec4609e5 Bug 1607494 - Disable Ion for the PAC script thread. r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D59467

--HG--
extra : moz-landing-system : lando
2020-01-10 18:54:42 +00:00
Magnus Melin
d6e6c7dd94 Bug 1607866 - disable netwerk/test/unit/test_trr.js for Thunderbird until bug 1608066 is resolved. r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D59479

--HG--
extra : moz-landing-system : lando
2020-01-10 12:40:34 +00:00
Dragana Damjanovic
8b3ddd9394 Bug 1604683 - Update neqo. r=agrover
Differential Revision: https://phabricator.services.mozilla.com/D59413

--HG--
extra : moz-landing-system : lando
2020-01-09 21:22:11 +00:00
Matt Woodrow
282120e051 Bug 1601779 - Don't process switch when we actually abort a channel load. r=kmag
We currently do a process switch for a failed load so that we show an error page in the right process. This adds an exception for loads that we just explicitly cancelled, since it shouldn't be necessary, and so that tests that use BrowserUtils.waitForDocLoadAndStopIt don't get confused.

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

--HG--
extra : moz-landing-system : lando
2020-01-09 02:40:03 +00:00
Sylvestre Ledru
c521758c5e Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
# ignore-this-changeset

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

--HG--
extra : moz-landing-system : lando
2020-01-09 21:50:11 +00:00
Matt Woodrow
17ad11c1e1 Bug 1607749 - Supporting querying an nsIAuthPrompt from ParentChannelListener. r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D59266

--HG--
extra : moz-landing-system : lando
2020-01-09 21:05:42 +00:00
Junior Hsu
a92a02a283 Bug 1604851, r=dragana
No need to optimize one lock here since telemetry tells us only 1 out of 1m request with alt-svc
https://searchfox.org/mozilla-central/rev/b243debf6235b050b42fd2eb615fdc729636ca6b/netwerk/protocol/http/nsHttpChannel.cpp#6670

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

--HG--
extra : moz-landing-system : lando
2019-12-24 16:14:54 +00:00
Andi-Bogdan Postelnicu
597ca4ed51 Bug 1605659 - fix some errors discovered with -Wdeprecated-copy. r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D59296

--HG--
extra : moz-landing-system : lando
2020-01-09 16:42:15 +00:00
Michal Novotny
4fe21c14b2 Bug 1601712 - Avoid notifying callback directly from InputStreamShim::AsyncWait() r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D59067

--HG--
extra : moz-landing-system : lando
2020-01-08 10:15:48 +00:00
ffxbld
47f9f24123 No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings tld-suffixes - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D59324

--HG--
extra : moz-landing-system : lando
2020-01-09 15:43:49 +00:00
Arthur Iakab
94f5338c33 Backed out 2 changesets (bug 1405971) by request of evilpie.
Backed out changeset 1698a498f801 (bug 1405971)
Backed out changeset 94512ff23703 (bug 1405971)

--HG--
extra : rebase_source : 22b68902af62d1e4f4acd474f21684fce9640666
2020-01-09 17:04:02 +02:00
Valentin Gosu
17e4e93de7 Bug 1607468 - Remove NETWORK_CROSS_ORIGIN_STYLESHEET_CONTENT_TYPE telemetry r=kershaw
Differential Revision: https://phabricator.services.mozilla.com/D59106

--HG--
extra : moz-landing-system : lando
2020-01-08 15:24:34 +00:00
Michal Novotny
40a21eea5b Bug 1519126 - Intermittent GECKO(1168) | Assertion failure: !chunk->IsReady() r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D58533

--HG--
extra : moz-landing-system : lando
2020-01-08 14:09:33 +00:00
Valentin Gosu
16ae7bd480 Bug 1552176 - pass TRRMode into nsHTMLDNSPrefetch methods r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D49159

--HG--
extra : moz-landing-system : lando
2020-01-07 19:33:51 +00:00
Valentin Gosu
90fff44905 Bug 1552176 - Pass TRRMode to nsDNSPrefetch r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D49158

--HG--
extra : moz-landing-system : lando
2020-01-07 19:33:10 +00:00
Valentin Gosu
cbc2554d2d Bug 1552176 - Captive portal domain should not be automatically excluded from TRR r=mayhemer
Previously we had no way from excluding just one channel from TRR mode3.
The solution was to add the captive portal domain to the exclusion list.
Now the captive portal channel is marked with nsIRequest.DISABLE_TRR_MODE so
the exclusion is not necessary anymore.

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

--HG--
extra : moz-landing-system : lando
2020-01-07 19:32:32 +00:00
Valentin Gosu
c7d9b630cb Bug 1552176 - Add nsIRequest.set/getTRRMode r=dragana
* Makes it possible to selectively enable TRR for pbmode/container/window/etc

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

--HG--
extra : moz-landing-system : lando
2020-01-07 20:20:38 +00:00
Valentin Gosu
b52a50f21f Bug 1552176 - Unit test for TRRMode for individual channels r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D48362

--HG--
extra : moz-landing-system : lando
2020-01-07 19:28:16 +00:00
Henrik Skupin
c521cc2ffa Bug 1597227 - Remove forced GC when closing a httpd.js connection. r=froydnj
The forced garbage collection has been added a decade ago for a test that
exhibited a memory increase over time in Firefox. Now that the test is no
longer present in the tree, and the garbage collector got a lot of improvements
over the last years, there is no compelling reason to keep the call to
"forceGC()" in the closing handler of httpd.js.

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

--HG--
extra : moz-landing-system : lando
2020-01-07 20:16:16 +00:00
Matt Woodrow
5913bdc39b Bug 1598523 - Create nsIWrapperChannel so that we can find the inner channel within view-source. r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D57893

--HG--
extra : moz-landing-system : lando
2020-01-08 01:00:35 +00:00
Matt Woodrow
ff5ffc1ea3 Bug 1598523 - Implement nsIChildChannel on nsViewSourceChannel forwarding to the inner channel. r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D57891

--HG--
extra : moz-landing-system : lando
2020-01-08 01:00:37 +00:00
Matt Woodrow
a59b688778 Bug 1598523 - Make DocumentChannelChild/ContentChild QI to the specific interfaces it wants, rather than assuming that only HttpChannelChild will have them. r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D57890

--HG--
extra : moz-landing-system : lando
2020-01-08 01:00:39 +00:00
Matt Woodrow
225eeb216b Bug 1598523 - Improve logging of channel names for DC and view-source. r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D57888

--HG--
extra : moz-landing-system : lando
2020-01-08 01:00:41 +00:00