Commit Graph

8830 Commits

Author SHA1 Message Date
Simon Giesecke
ca94ec101e Bug 1691894 - Simplify uses of GetOrInsert where non-default-constructed entries are eventually inserted. r=xpcom-reviewers,necko-reviewers,nika,valentin
Differential Revision: https://phabricator.services.mozilla.com/D104674
2021-02-15 16:37:52 +00:00
Simon Giesecke
780a1636a9 Bug 1691894 - Replace several suboptimal uses of Put after Get by GetOrInsertWith or WithEntryHandle. r=xpcom-reviewers,necko-reviewers,kmag,valentin,geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D104849
2021-02-15 15:12:17 +00:00
smolnar
1afbbe67e1 Backed out 5 changesets (bug 1691894) for causing hazard failures in nsXULPrototypeCache. CLOSED TREE
Backed out changeset 22dc870ee609 (bug 1691894)
Backed out changeset 58c31e9d6ae3 (bug 1691894)
Backed out changeset 7483e84149d8 (bug 1691894)
Backed out changeset f977d6cfa973 (bug 1691894)
Backed out changeset db4503476f34 (bug 1691894)
2021-02-15 16:43:23 +02:00
Simon Giesecke
3c29a68440 Bug 1691894 - Make Put accept DataType instead of wrapping UserDataType. r=xpcom-reviewers,necko-reviewers,nika
Differential Revision: https://phabricator.services.mozilla.com/D104850
2021-02-15 10:04:46 +00:00
Simon Giesecke
8973094ec1 Bug 1691894 - Replace several suboptimal uses of Put after Get by GetOrInsertWith or WithEntryHandle. r=xpcom-reviewers,necko-reviewers,kmag,valentin,geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D104849
2021-02-15 10:04:45 +00:00
Sylvestre Ledru
b4f9be25d4 Bug 1519636 - Reformat recent changes to the Google coding style r=andi,necko-reviewers
Updated with clang-format version 11.0.1 (taskcluster-B6bdwSKDRF-luRQWXBuzpA)

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D105158
2021-02-15 08:49:20 +00:00
Dragana Damjanovic
efa5705d23 Bug 1690615 - Move DNS lookup into DnsAndConnectSocket r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D104464
2021-02-12 14:57:09 +00:00
Emilio Cobos Álvarez
083c73b4a1 Bug 1690775 - Fix code to parse the remaining header to actually finish consuming it. r=dragana,necko-reviewers
The code enters that function with a non-empty mLineBuf (mLineBuf =
"BODY"), and we just add a single "\n", so we never really end up
finishing the header section, and fetch code asserts and reads uninit
memory afterwards. Bad!

The intention of that code is to finish parsing the headers section, so
it should make sure to handle it properly if we have a partial line
already read. For that we need two newlines.

Differential Revision: https://phabricator.services.mozilla.com/D104773
2021-02-11 18:16:01 +00:00
Dragana Damjanovic
229df1b9b6 Bug 1690615 - Improve DnsAndConnectSocket part 2 r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D104006
2021-02-11 16:04:45 +00:00
Dragana Damjanovic
d8207168ec Bug 1690615 - Improve DnsAndConnectSocket r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D103960
2021-02-11 16:04:45 +00:00
Dragana Damjanovic
b36f91fa41 Bug 1690615 - Rename HalfOpen into DnsAndConnectSocket r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D103932
2021-02-11 16:04:45 +00:00
Mihai Alexandru Michis
d5b753448d Backed out changeset 4ffa919d35f9 (bug 1687364) as requested by kershaw.
CLOSED TREE
2021-02-10 16:47:51 +02:00
M. Sirringhaus
9ea20acd3b Bug 1666725 - Make gvfs e10s compatible r=valentin,necko-reviewers
Split channel into parent/child to be able to use dbus in the content sandbox

Differential Revision: https://phabricator.services.mozilla.com/D92206
2021-02-10 07:29:38 +00:00
Simon Giesecke
5ab2e2fc52 Bug 1688833 - Migrate LookupForAdd to WithEntryHandle in netwerk. r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D104197
2021-02-09 18:19:37 +00:00
Nika Layzell
63fd915bfb Bug 1689147 - Part 1: Add extended attribute syntax to IPDL, r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D103366
2021-02-09 16:50:21 +00:00
Kershaw Chang
fac6f12751 Bug 1691484 - Avoid crashing when we don't have other service mode records to retry r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D104451
2021-02-09 15:33:44 +00:00
Andreea Pavel
74d8a6339f Backed out changeset 29cd566d3c08 (bug 1666725) for build bustages at PNecko.ipdl on a CLOSED TREE 2021-02-09 15:11:47 +02:00
M. Sirringhaus
86e1612919 Bug 1666725 - Make gvfs e10s compatible r=valentin,necko-reviewers
Split channel into parent/child to be able to use dbus in the content sandbox

Differential Revision: https://phabricator.services.mozilla.com/D92206
2021-02-09 12:52:22 +00:00
Kershaw Chang
baf2bcca71 Bug 1686421 - Add probes to understand the usage of https rr r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D103784
2021-02-09 11:03:32 +00:00
Dragana Damjanovic
cca5369888 Bug 1688091 - Improve the telemetry for the HTTP3 connection close reasons. r=necko-reviewers,valentin
neqo now exposes a better info about the close reason and should use it.

Differential Revision: https://phabricator.services.mozilla.com/D102653
2021-02-09 09:51:02 +00:00
Kershaw Chang
3555325696 Bug 1686421 - Add probes to understand how HTTPS RR is used r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D101631
2021-02-09 09:11:45 +00:00
Dragana Damjanovic
d6e65e8711 Bug 1688850 - Telemetry about HTTP3 0RTT usage r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D103049
2021-02-09 08:44:18 +00:00
Kershaw Chang
22a60154b9 Bug 1685942 - Only fallback to original conn info when network error happens r=necko-reviewers,valentin,dragana
Differential Revision: https://phabricator.services.mozilla.com/D102703
2021-02-08 11:46:51 +00:00
Kershaw Chang
f5f947be77 Bug 1689018 - Convey content disposition information to new redirect channel r=necko-reviewers,Gijs,valentin
Differential Revision: https://phabricator.services.mozilla.com/D104061
2021-02-05 09:52:30 +00:00
Kershaw Chang
8373d6cfc5 Bug 1682555 - Add a probe for echConfig sucessful rate r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D103340
2021-02-04 10:49:35 +00:00
Kershaw Chang
d2340e9ce4 Bug 1690220 - Don't query https rr when proxy CONNECT is in use r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D103781
2021-02-03 10:32:34 +00:00
Dorel Luca
9604c3539b Backed out changeset ca3e129f7a36 (bug 1682555) for XPCshell failures in netwerk/test/unit/test_http2-proxy.js. CLOSED TREE 2021-02-04 05:56:53 +02:00
Kershaw Chang
9fcee5ebcf Bug 1682555 - Add a probe for echConfig sucessful rate r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D103340
2021-02-03 21:43:30 +00:00
Dragana Damjanovic
9ff2575792 Bug 1689604 - Remove TCPFastOpen part 3 r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D103517
2021-02-03 17:23:45 +00:00
Dragana Damjanovic
7c8dca3ea6 Bug 1689604 - Remove TCPFastOpen part 1 r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D103470
2021-02-03 17:08:18 +00:00
Kershaw Chang
4e494b48f7 Bug 1687320 - Avoid doing 0RTT again if the transaction will be restarted r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D103479
2021-02-03 10:02:11 +00:00
Kershaw Chang
5c2914628b Bug 1687364 - Authorization header can't be wildcarded for Access-Control-Allow-Headers r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D102932
2021-02-02 18:39:32 +00:00
Kershaw Chang
a04bced733 Bug 1690008 - Clear npnToken when we want to create a non-http3 connection info r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D103690
2021-02-01 21:09:45 +00:00
Kershaw Chang
98f3b6821b Bug 1687413 - Iteratively parse cache-control header to avoid stack overflow r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D103635
2021-02-01 20:47:06 +00:00
Dragana Damjanovic
8d28f38460 Bug 1690000 - Always reset ConnInfo if it is using Http3. r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D103634
2021-02-01 14:05:31 +00:00
Kershaw Chang
6cc1ec1655 Bug 1688945 - Make sure we don't query HTTPS RR when we already have one r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D103348
2021-01-28 19:34:41 +00:00
Valentin Gosu
7086937608 Bug 1689208 - Don't race for LINK_TYPE_UNKNOWN on Android r=necko-reviewers,kershaw
Depends on D103305

Differential Revision: https://phabricator.services.mozilla.com/D103306
2021-01-28 16:59:09 +00:00
Benjamin Beurdouche
13d4b68816 Bug 1687701 - Remove IsCertificateDistrustImminent. r=keeler,necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D102416
2021-01-27 18:05:24 +00:00
Dorel Luca
155fbede67 Backed out changeset 831388d8f118 (bug 1687701) for Build bustages. CLOSED TREE 2021-01-27 19:08:38 +02:00
Benjamin Beurdouche
207e18f326 Bug 1687701 - Remove IsCertificateDistrustImminent. r=keeler,necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D102416
2021-01-27 16:38:37 +00:00
Valentin Gosu
2d8c4e4c26 Bug 1687618 - Remove implementation of IsIsolated and TopWindowOrigin r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D102715
2021-01-26 10:32:43 +00:00
Valentin Gosu
53b6dbb8ec Bug 1687618 - Remove isolated and topWindowOrigin from altServices r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D102714
2021-01-26 11:08:46 +00:00
Valentin Gosu
77df497a8e Bug 1687618 - Remove topWindowOrigin from nsHttpConnectionInfo r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D102713
2021-01-26 10:57:40 +00:00
Valentin Gosu
e1ed055c88 Bug 1687618 - Remove isolated bit from nsHttpConnectionInfo r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D102712
2021-01-26 10:32:14 +00:00
Valentin Gosu
d2046a6e97 Bug 1687618 - Remove browser.cache.cache_isolation r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D102711
2021-01-26 10:32:07 +00:00
Kershaw Chang
19e0167786 Bug 1684040 - P1: Introduce new ODoH class for sending ODoH queries r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D101682
2021-01-26 14:19:09 +00:00
Mihai Alexandru Michis
51b7d9634a Backed out 3 changesets (bug 1684040) for causing bustages in DNSPacket.cpp
CLOSED TREE

Backed out changeset 3c771d45563a (bug 1684040)
Backed out changeset 76e79151d53c (bug 1684040)
Backed out changeset 7a993eb7bfde (bug 1684040)
2021-01-26 16:15:12 +02:00
Kershaw Chang
cffa2368ca Bug 1684040 - P1: Introduce new ODoH class for sending ODoH queries r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D101682
2021-01-26 12:41:40 +00:00
Hubert Boma Manilla
acacfc9462 Bug 1674116 - Check that the connection is not HTTP3 r=dragana,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D102309
2021-01-25 22:13:18 +00:00
smolnar
4bdd1a3ecd Backed out 5 changesets (bug 1687618) for causing mochitest failures in browser_networkIsolation. CLOSED TREE
Backed out changeset afb6bcdbdf4f (bug 1687618)
Backed out changeset b67677b3f710 (bug 1687618)
Backed out changeset 0cb1cb5bf7a8 (bug 1687618)
Backed out changeset 5308d27acd05 (bug 1687618)
Backed out changeset 984a9f8e8b5e (bug 1687618)
2021-01-26 11:36:32 +02:00