Andrea Marchesini
45f7415671
Bug 1650811 - Make Base64 compatible with ReadSegments() with small buffers, r=asuth,necko-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D82522
2020-07-13 08:34:07 +00:00
Narcis Beleuzu
8981494089
Backed out 5 changesets (bug 1646899) for mochitest failures on DocumentLoadListener.cpp . CLOSED TREE
...
Backed out changeset f41ac122a801 (bug 1646899)
Backed out changeset 86a5e0827050 (bug 1646899)
Backed out changeset d2fd0f955e24 (bug 1646899)
Backed out changeset 7a7194146fe1 (bug 1646899)
Backed out changeset 4731d76dae88 (bug 1646899)
2020-07-13 05:43:30 +03:00
Dan Glastonbury
f5fd7b3d97
Bug 1646899 - P4: Handle object & embed via DocumentChannel. r=mattwoodrow,jya
...
Pass internal content policy type to DLL and switch behavior depending on type
being loaded. This implementation immediately redirects channel back to the
content process for further handling.
Differential Revision: https://phabricator.services.mozilla.com/D80407
2020-07-13 00:48:57 +00:00
Dan Glastonbury
8847465b59
Bug 1646899 - P3: Modify CanUseDocumentChannel to take necessary vars. r=mattwoodrow
...
Allows checking if DocumentChannel can be used with out creating an
nsDocShellLoadState object.
Differential Revision: https://phabricator.services.mozilla.com/D80406
2020-07-13 00:48:54 +00:00
Dan Glastonbury
6bc2c8f1eb
Bug 1646899 - P2: Use named factories to create LoadInfo. r=mattwoodrow
...
LoadInfo has a number of constructors intended to be used in different contexts.
Add named factory functions to make it clearer in which context the returns
LoadInfo is being used.
Differential Revision: https://phabricator.services.mozilla.com/D80405
2020-07-13 00:48:52 +00:00
Dan Glastonbury
98dc480963
Bug 1646899 - P1: Deduplicate initialization of LoadInfo default values. r=necko-reviewers,dragana
...
LoadInfo has a lot of state. Simplify initialization so most have one definition
of truth.
Differential Revision: https://phabricator.services.mozilla.com/D80404
2020-07-13 00:48:45 +00:00
Matt Woodrow
3a2853e4cf
Bug 1649349 - Don't delay rejecting DocumentLoadListener's Open promise when we switch process. r=jya
...
Differential Revision: https://phabricator.services.mozilla.com/D81648
2020-07-12 22:50:34 +00:00
Sylvestre Ledru
f7a0736a34
Bug 1617369 - Reformat recent rust changes with rustfmt r=emilio
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D83259
2020-07-12 17:01:13 +00:00
Valentin Gosu
0475d7a7ba
Bug 1650356 - Call IsExcludedFromTRR in TRR::SendHTTPRequest r=dragana,necko-reviewers
...
Since IsTemporarilyBlocked no longer calls IsExcludedFromTRR we have to do
this explicitly at this call site.
Differential Revision: https://phabricator.services.mozilla.com/D82221
2020-07-11 19:32:57 +00:00
Valentin Gosu
05e121315d
Bug 1650356 - Make the TRRBLStorage a hashtable r=dragana,necko-reviewers
...
We also wrap it in a DataMutex to allow use on any thread
Differential Revision: https://phabricator.services.mozilla.com/D82220
2020-07-11 19:32:45 +00:00
Valentin Gosu
0606ff0236
Bug 1650356 - Rename TRR Blacklist to TRR blocklist r=dragana,necko-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D82219
2020-07-11 19:32:27 +00:00
Valentin Gosu
b91c38a902
Bug 1650356 - Clear TRR blocklist when confirmation is done r=dragana,necko-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D82218
2020-07-11 19:32:15 +00:00
Valentin Gosu
b04567bbc7
Bug 1649143 - Just call NativeLookup when retrying for TTL r=dragana,necko-reviewers
...
There is done in order to make sure we don't go though NameLookup again
and try to figure out why skipped TRR again.
Differential Revision: https://phabricator.services.mozilla.com/D82169
2020-07-11 19:32:07 +00:00
Valentin Gosu
4106c61ff1
Bug 1649143 - Record telemetry with reason we fell back to Do53 r=dragana,necko-reviewers
...
This patch attempts to record the reason why we fall back to DNS.
I considered using categorical probes for this, but they have a max limit of
20 categories, so we have to use a linear probe. I chose 50 buckets to allow
us to add more failure reasons in the future.
The recorded values are defined in nsHostRecord::TRRSkippedReason.
nsHostRecord::RecordReason is called whenever we encounter a condition that
will cause us to skip TRR in nsHostResolver.
For failures that occur inside TRR.cpp, each TRR object holds its own reason
that is recorded in a similar way. When all TRR requests are complete we
report the one that failed (or if both failed we report the one for the A
request).
Due to the fact that we might also follow CNAME requests, and the final
TRR request might not be the one that was issued at first, TRR requests
must pass back the reason as an argument to CompleteLookup.
Finally, this patch records the reason in two probes:
TRR_SKIP_REASON_TRR_FIRST - only reported in TRR-first mode
TRR_SKIP_REASON_DNS_WORKED - only reported in TRR-first mode when the
fallback DNS request succeeded. This allows us to filter for complete
network failures.
Differential Revision: https://phabricator.services.mozilla.com/D82168
2020-07-11 19:32:05 +00:00
Kris Maglione
b6be72f351
Bug 1649554: Part 1 - Move deprecated component registration helpers out of XPCOMUtils. r=mccr8,remote-protocol-reviewers,marionette-reviewers,perftest-reviewers,webcompat-reviewers,whimboo,twisniewski
...
Differential Revision: https://phabricator.services.mozilla.com/D81749
2020-07-10 23:58:30 +00:00
Kris Maglione
9d78661f88
Bug 1649221: Update ChromeUtils.generateQI callers to pass strings. r=mccr8,remote-protocol-reviewers,marionette-reviewers,perftest-reviewers,webcompat-reviewers,geckoview-reviewers,preferences-reviewers,agi,whimboo,Bebe,twisniewski
...
Differential Revision: https://phabricator.services.mozilla.com/D81594
2020-07-10 23:58:28 +00:00
Liang-Heng Chen
e03242ddb4
Bug 1647732 - isolate font cache; r=baku,jfkthame,necko-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D82034
2020-07-10 10:28:40 +00:00
Narcis Beleuzu
f2ba920b49
Backed out 2 changesets (bug 1635828) for mochitest failures on test_sts_privatebrowsing_perwindowpb.html . CLOSED TREE
...
Backed out changeset 52be379dbb20 (bug 1635828)
Backed out changeset c410710919ab (bug 1635828)
2020-07-10 18:43:37 +03:00
Narcis Beleuzu
d27be427c9
Backed out changeset 83749e9e67bd (bug 1220810) for bc failures on browser_fall_back_to_https.js . CLOSED TREE
2020-07-10 18:42:17 +03:00
Andrea Marchesini
205db37114
Bug 1635828 - Isolate HSTS per first-party when privacy.partition.network_state is set to true - part 1 - implementation, r=timhuang,necko-reviewers,dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D74077
2020-07-10 14:33:06 +00:00
Andrea Marchesini
23052342cb
Bug 1220810 - Hardcode localhost to loopback, r=ckerschb,dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D64586
2020-07-10 14:30:58 +00:00
Mihai Alexandru Michis
b62be4d15f
Backed out changeset 1b035d80fb9f (bug 1220810) for causing bustages in netwerk/dns/DNS.cpp
...
CLOSED TREE
2020-07-10 17:17:20 +03:00
Andrea Marchesini
f498accc17
Bug 1220810 - Hardcode localhost to loopback, r=ckerschb,dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D64586
2020-07-10 13:08:14 +00:00
Mihai Alexandru Michis
44cad01e29
Backed out changeset 1b44f13206d0 (bug 1220810) for causing gecko decision task bustages.
...
CLOSED TREE
2020-07-10 15:37:45 +03:00
Andrea Marchesini
2144af13e9
Bug 1220810 - Hardcode localhost to loopback, r=ckerschb,dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D64586
2020-07-10 12:23:46 +00:00
Andrea Marchesini
7e5c0a3709
Bug 1649673 - Isolate speculative connections per first-party when privacy.partition.network_state is set to true, r=mayhemer,necko-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D81810
2020-07-10 11:54:34 +00:00
Mihai Alexandru Michis
61006875dd
Backed out changeset 36f368ba214c (bug 1220810) for causing gecko decision task bustages.
...
CLOSED TREE
2020-07-10 15:00:15 +03:00
Andrea Marchesini
f36d351374
Bug 1220810 - Hardcode localhost to loopback, r=ckerschb,dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D64586
2020-07-10 11:34:10 +00:00
Honza Bambas
2b6e822019
Bug 1650613 - Fix about:cache appcache listing, let AppCacheStorage be visited with null load context info, r=michal,necko-reviewers
...
Depends on D81885
Differential Revision: https://phabricator.services.mozilla.com/D82542
2020-07-10 11:21:14 +00:00
Dragana Damjanovic
6621d5958e
Bug 1642559 - Initiate a variable to fix SPDY_REQUEST_PER_CONN_2 r=necko-reviewers,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D80413
2020-06-23 02:53:52 +00:00
Dragana Damjanovic
7ab560a9be
Bug 1651489 - Update neqo. r=agrover
...
Bug 1651489 - Update neqo_glue to support new neqo API(neqo version 0.4.6).
Differential Revision: https://phabricator.services.mozilla.com/D82932
2020-07-10 04:35:17 +00:00
Kris Maglione
a1cb850855
Bug 1464542: Part 3c - Change Services.jsm to use the C++-implemented services cache. r=mccr8
...
Differential Revision: https://phabricator.services.mozilla.com/D81420
2020-07-09 21:42:53 +00:00
Kris Maglione
6a39211860
Bug 1464542: Part 3b - Add existing Services.jsm registrations to the new services cache. r=mccr8,geckoview-reviewers,agi
...
Differential Revision: https://phabricator.services.mozilla.com/D81419
2020-07-09 21:42:25 +00:00
Kris Maglione
4200cb539c
Bug 1464542: Part 2 - Add infrastructure for defining named services exposed to JS. r=mccr8
...
This builds on the existing static components infrastructure to allow defining
a Services.jsm-type services cache with no runtime memory overhead for any
services until they're accessed.
Any class entry with a 'js_name' attribute automatically becomes available on
the services cache with that name, and any interfaces listed in its
'interfaces' list are automatically queried on it.
Differential Revision: https://phabricator.services.mozilla.com/D81417
2020-07-09 20:42:50 +00:00
Andrea Marchesini
3c1b71a6e4
Bug 1651618 - Use cookie 'SameSite' attribute with capital 'S' everywhere, r=flod,fluent-reviewers,remote-protocol-reviewers,marionette-reviewers,perftest-reviewers,whimboo,sparky
...
Differential Revision: https://phabricator.services.mozilla.com/D82872
2020-07-09 20:40:15 +00:00
Dimi Lee
c8306bf2d9
Bug 1447935 - P2. Use fission-compatible third-party checks r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D80187
2020-07-09 20:10:18 +00:00
Dimi Lee
5c5dfa4064
Bug 1447935 - P1. CreatePairwiseEntitylist uses loading principal when a channel doesn't have an associated top-level window r=baku
...
loads in appcache doesn't have a top-level window, use loading principal
instead.
Differential Revision: https://phabricator.services.mozilla.com/D80186
2020-07-09 20:10:16 +00:00
Csoregi Natalia
b355fcc4bf
Backed out 6 changesets (bug 1464542) for xpcshell failures on test_Services.js. CLOSED TREE
...
Backed out changeset b50af9005851 (bug 1464542)
Backed out changeset 9d3a0ea2cf65 (bug 1464542)
Backed out changeset 71c3475fcbc2 (bug 1464542)
Backed out changeset 51ff93220a95 (bug 1464542)
Backed out changeset e84de1547c09 (bug 1464542)
Backed out changeset bbecc16d08eb (bug 1464542)
2020-07-09 23:19:26 +03:00
Kris Maglione
b787b84e52
Bug 1464542: Part 3c - Change Services.jsm to use the C++-implemented services cache. r=mccr8
...
Differential Revision: https://phabricator.services.mozilla.com/D81420
2020-07-09 17:59:22 +00:00
Kris Maglione
d09458dc51
Bug 1464542: Part 3b - Add existing Services.jsm registrations to the new services cache. r=mccr8,geckoview-reviewers,agi
...
Differential Revision: https://phabricator.services.mozilla.com/D81419
2020-07-09 17:59:16 +00:00
Kris Maglione
0ae37bde4e
Bug 1464542: Part 2 - Add infrastructure for defining named services exposed to JS. r=mccr8
...
This builds on the existing static components infrastructure to allow defining
a Services.jsm-type services cache with no runtime memory overhead for any
services until they're accessed.
Any class entry with a 'js_name' attribute automatically becomes available on
the services cache with that name, and any interfaces listed in its
'interfaces' list are automatically queried on it.
Differential Revision: https://phabricator.services.mozilla.com/D81417
2020-07-09 17:59:11 +00:00
James Willcox
ea767e5869
Bug 1626335 - Don't treat any URI as third party for system principal r=baku,ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D78151
2020-07-09 09:23:52 +00:00
Kershaw Chang
b280988bb5
Bug 1647759
- P3: Send init attributes to socket process r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D82353
2020-07-09 15:15:13 +00:00
Kershaw Chang
18a55ef0fd
Bug 1647759
- P2: Send connectivity status to socket process r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D82352
2020-07-09 12:56:00 +00:00
Kershaw Chang
3e2bb60df1
Bug 1647759
- P1: Make nsIOService::mOffline and nsIOService::mConnectivity atomic r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D82351
2020-07-09 12:56:03 +00:00
Andrea Marchesini
9d5e2e6db9
Bug 1650211 - Ignore cookie settings during the shutdown, r=mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D82498
2020-07-09 14:14:41 +00:00
Lennart Grahl
c1c91eceec
Bug 1646715 - Bump usrsctp version to ea345b6d0c8a0f8701cf49445dba5ec8d34e2305 r=bwc
...
Differential Revision: https://phabricator.services.mozilla.com/D81713
2020-07-09 13:24:23 +00:00
Lennart Grahl
6fd4323032
Bug 1646715 - Simplify usrsctp build file and remove unused Android patch r=bwc
...
Differential Revision: https://phabricator.services.mozilla.com/D81712
2020-07-09 13:24:23 +00:00
Andrea Marchesini
c69f56d7dd
Bug 1650656 - Call CookieCommons::SchemeToSchemeType only when the scheme is supported, r=mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D82491
2020-07-09 11:05:58 +00:00
Razvan Maries
cb161b6b55
Backed out 2 changesets (bug 1447935) for perma failures on test_headless.js. CLOSED TREE
...
Backed out changeset 0332d1b01f63 (bug 1447935)
Backed out changeset bcf6ab4e4f50 (bug 1447935)
2020-07-09 15:53:12 +03:00