Christoph Kerschbaumer
23ca5da684
Bug 1673574: Improve Console logging for mixed content auto upgrading. r=freddyb,necko-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D94813
2020-10-28 08:49:02 +00:00
Csoregi Natalia
0038ebdf29
Backed out changeset 6e7c2bd7d2f7 (bug 1673315) for failures on test_dns_override_for_localhost.js. CLOSED TREE
2020-10-27 20:19:36 +02:00
Frederic Wang
1f16e4580e
Bug 1673315 Add a test to ensure loopback host names cannot be overridden, r=valentin,necko-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D94712
2020-10-27 16:11:59 +00:00
Valentin Gosu
7aa8b3a2e4
Bug 1673364 - fix test_dns_disabled.js r=necko-reviewers,dragana
...
The test was using network.dns.localDomains to check that we don't
call into the platform DNS resolver when the network.dns.disabled pref
was set - but since the localDomains pref rewrites hostnames to localhost
and we now don't call into GetAddrInfo for local domains, the test
failed.
I changed it so it uses the NativeDNSResolverOverride to register an IP for
foo.bar instead of relying on localDOmains.
Depends on D94726
Differential Revision: https://phabricator.services.mozilla.com/D94727
2020-10-27 13:25:22 +00:00
Valentin Gosu
d61dc1addb
Bug 1673364 - nsHostResolver::InitLoopbackRecord should not call GetAddrInfo r=necko-reviewers,dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D94726
2020-10-27 13:25:22 +00:00
Valentin Gosu
5c30c09f14
Bug 1556194 - Prevent OCSP Request from blocking TRR-only DNS resolutions r=necko-reviewers,dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D94502
2020-10-27 13:42:58 +00:00
Kershaw Chang
a227c48e26
Bug 1673340 - Revert changes done in Bug 1668851, 1663718 and 1497249 r=necko-reviewers,dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D94808
2020-10-27 11:13:13 +00:00
Henri Sivonen
f48b48fe72
Bug 1671908 - Take ISO-2022-JP ASCII overlap into account when encoding URL query strings. r=necko-reviewers,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D93994
2020-10-27 09:44:00 +00:00
Ricky Stewart
02a7b4ebdf
Bug 1654103: Standardize on Black for Python code in `mozilla-central`.
...
Allow-list all Python code in tree for use with the black linter, and re-format all code in-tree accordingly.
To produce this patch I did all of the following:
1. Make changes to tools/lint/black.yml to remove include: stanza and update list of source extensions.
2. Run ./mach lint --linter black --fix
3. Make some ad-hoc manual updates to python/mozbuild/mozbuild/test/configure/test_configure.py -- it has some hard-coded line numbers that the reformat breaks.
4. Make some ad-hoc manual updates to `testing/marionette/client/setup.py`, `testing/marionette/harness/setup.py`, and `testing/firefox-ui/harness/setup.py`, which have hard-coded regexes that break after the reformat.
5. Add a set of exclusions to black.yml. These will be deleted in a follow-up bug (1672023).
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D94045
2020-10-26 18:34:53 +00:00
Tim Huang
18853bea78
Bug 1670617 - Part 2: Make the CORS preflight cache partitioned by the originAttributes. r=ckerschb,necko-reviewers
...
We want to partition the CORS preflight cache by the network state
partitioning. So, we have done two things in the patch. First, we make
the CORS preflight cache to be aware of the OriginAttributes. Second, we
use the originAttributes of the network state partitioning in the CORS
preflight cache. As the result, the CORS preflight cache will be
partitioned by the originAttributes.partitionKey as well as other
originAttributes fields if present.
Differential Revision: https://phabricator.services.mozilla.com/D93683
2020-10-26 13:39:12 +00:00
Mihai Alexandru Michis
ed42a59568
Backed out changeset b3557a86d1c3 (bug 1663571) for causing mda failures in webrtc/tests/mochitests/test_peerConnection/*
...
CLOSED TREE
2020-10-26 16:50:37 +02:00
Valentin Gosu
2da264ce5c
Bug 1663571 - Resolve single label DNS queries using DnsQuery_A r=necko-reviewers,dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D91117
2020-10-26 11:40:22 +00:00
Bogdan Tara
da1098d4aa
Backed out 10 changesets (bug 1654103, bug 1672023, bug 1518999) for PanZoomControllerTest.touchEventForResult gv-junit failures CLOSED TREE
...
Backed out changeset ff3fb0b4a512 (bug 1672023)
Backed out changeset e7834b600201 (bug 1654103)
Backed out changeset 807893ca8069 (bug 1518999)
Backed out changeset 13e6b92440e9 (bug 1518999)
Backed out changeset 8b2ac5a6c98a (bug 1518999)
Backed out changeset 575748295752 (bug 1518999)
Backed out changeset 65f07ce7b39b (bug 1518999)
Backed out changeset 4bb80556158d (bug 1518999)
Backed out changeset 8ac8461d7bd7 (bug 1518999)
Backed out changeset e8ba13ee17f5 (bug 1518999)
2020-10-24 03:36:18 +03:00
Bogdan Tara
e7ff82d770
Backed out changeset 3da0a14a9999 (bug 1663571) for making wpt tests unable to load initial page CLOSED TREE
2020-10-24 02:38:12 +03:00
Valentin Gosu
3af312e531
Bug 1663571 - Resolve single label DNS queries using DnsQuery_A r=necko-reviewers,dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D91117
2020-10-15 19:31:06 +00:00
Ricky Stewart
c0cea3b0fa
Bug 1654103: Standardize on Black for Python code in `mozilla-central`. r=remote-protocol-reviewers,marionette-reviewers,webdriver-reviewers,perftest-reviewers,devtools-backward-compat-reviewers,jgilbert,preferences-reviewers,sylvestre,maja_zf,webcompat-reviewers,denschub,ntim,whimboo,sparky
...
Allow-list all Python code in tree for use with the black linter, and re-format all code in-tree accordingly.
To produce this patch I did all of the following:
1. Make changes to tools/lint/black.yml to remove include: stanza and update list of source extensions.
2. Run ./mach lint --linter black --fix
3. Make some ad-hoc manual updates to python/mozbuild/mozbuild/test/configure/test_configure.py -- it has some hard-coded line numbers that the reformat breaks.
4. Make some ad-hoc manual updates to `testing/marionette/client/setup.py`, `testing/marionette/harness/setup.py`, and `testing/firefox-ui/harness/setup.py`, which have hard-coded regexes that break after the reformat.
5. Add a set of exclusions to black.yml. These will be deleted in a follow-up bug (1672023).
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D94045
2020-10-23 20:40:42 +00:00
Hubert Boma Manilla
7001145b00
Bug 1666723 - Expose and add a test r=dragana,necko-reviewers
...
Depends on D93137
Differential Revision: https://phabricator.services.mozilla.com/D93922
2020-10-22 23:23:53 +00:00
Valentin Gosu
118fbc2d87
Bug 1671479 - Hold mutex when calling TransportSecurityInfo::Get/SetSucceededCertChain r=keeler,necko-reviewers,kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D93744
2020-10-21 20:04:46 +00:00
Valentin Gosu
237dbb5237
Bug 1672219 - nsServerSocket fd should not be inheritable by the child process r=necko-reviewers,dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D94263
2020-10-23 06:44:33 +00:00
Hubert Boma Manilla
d9a8d96616
Bug 1666723 - Track that http3 is advertised / supported r=dragana,necko-reviewers,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D93137
2020-10-22 23:24:00 +00:00
Michael Kaply
c7c4a35de5
Bug 1559181 - Switch about blocking to use new REJECT_POLICY and cleanup tests r=Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D93390
2020-10-22 19:36:52 +00:00
Valentin Gosu
6754b3b7a0
Bug 1670675 - Add test for loading brotli encoded files over unsecured HTTP r=necko-reviewers,kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D93924
2020-10-21 07:06:39 +00:00
Valentin Gosu
351fc0d2ff
Bug 1569715 - Don't lookup CORS preflight cache when devtools 'Disable cache' is checked r=necko-reviewers,kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D94100
2020-10-22 11:12:30 +00:00
Frédéric Wang
70d15af587
Bug 1220810 - Hardcode localhost to loopback, r=ckerschb,necko-reviewers,dragana
...
This patch make localhost addresses resolve to a loopback address,
thereby ensuring that we can safely treat http://localhost/ and
http://*.localhost/ as "Potentially Trustworthy". This addresses
various bug reports from developers and aligns with specifications.
See https://groups.google.com/g/mozilla.dev.platform/c/sZdEYTiEBdE
Differential Revision: https://phabricator.services.mozilla.com/D92716
2020-10-22 07:36:15 +00:00
Dorel Luca
1ff59cb7a3
Backed out changeset 7558c8821a07 (bug 1654103) for multiple failures. CLOSED TREE
2020-10-22 03:51:06 +03:00
Ricky Stewart
50762dacab
Bug 1654103: Standardize on Black for Python code in `mozilla-central`. r=remote-protocol-reviewers,marionette-reviewers,webdriver-reviewers,perftest-reviewers,devtools-backward-compat-reviewers,jgilbert,preferences-reviewers,sylvestre,maja_zf,webcompat-reviewers,denschub,ntim,whimboo,sparky
...
Allow-list all Python code in tree for use with the black linter, and re-format all code in-tree accordingly.
To produce this patch I did all of the following:
1. Make changes to tools/lint/black.yml to remove include: stanza and update list of source extensions.
2. Run ./mach lint --linter black --fix
3. Make some ad-hoc manual updates to python/mozbuild/mozbuild/test/configure/test_configure.py -- it has some hard-coded line numbers that the reformat breaks.
4. Add a set of exclusions to black.yml. These will be deleted in a follow-up bug (1672023).
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D94045
2020-10-21 21:27:27 +00:00
Kershaw Chang
2c085933ab
Bug 1667775 - Add a telemetry probe for the reason why a transaction is restarted r=necko-reviewers,dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D91595
2020-10-21 15:19:20 +00:00
Andi-Bogdan Postelnicu
bbe7b7b35e
Bug 1671641 - Make `nsICacheInfoChannel.idl` syntax correctly. r=valentin,necko-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D94016
2020-10-21 08:00:18 +00:00
Valentin Gosu
68dfec208f
Bug 1402014 - Make nsAHttpSegmentReader refcounted r=dragana,necko-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D93318
2020-10-21 07:06:35 +00:00
smolnar
b70b9de731
Backed out changeset a5a35a205a44 (bug 1220810) for causing test_dns_offline and fontface-override-descriptor-getter-setter failures. CLOSED TREE
2020-10-21 13:00:01 +03:00
Frédéric Wang
4e6e6c7714
Bug 1220810 - Hardcode localhost to loopback, r=ckerschb,necko-reviewers,dragana
...
This patch make localhost addresses resolve to a loopback address,
thereby ensuring that we can safely treat `http://localhost/ ` and
`http://*.localhost/ ` as "Potentially Trustworthy". This addresses
various bug reports from developers and aligns with specifications.
See https://groups.google.com/g/mozilla.dev.platform/c/sZdEYTiEBdE
Differential Revision: https://phabricator.services.mozilla.com/D92716
2020-10-21 07:42:23 +00:00
Kershaw Chang
6997ac3184
Bug 1667356 - Show the content of HTTPS RRs in about:networking r=necko-reviewers,fluent-reviewers,flod,dragana,webidl,asuth
...
Differential Revision: https://phabricator.services.mozilla.com/D91566
2020-10-21 00:52:46 +00:00
Tim Huang
7ada64860a
Bug 1670820 - Part 2: Use the StoragePrincipalHelper::GetOriginAttributesForHSTS() to get the OA when checking the HSTS for http channels. r=baku,necko-reviewers,dragana
...
The partitionKey for HSTS is always set with 'http' scheme. So, we
should also use 'http' when checking the HSTS for http channels.
Differential Revision: https://phabricator.services.mozilla.com/D93393
2020-10-20 20:55:12 +00:00
Mihai Alexandru Michis
d762ad6f42
Backed out changeset 989a13996999 (bug 1669355
) for causing mochitest failures in test_fetch_event.html
...
CLOSED TREE
2020-10-20 17:13:25 +03:00
Andrew Sutherland
6ee5f4b5c1
Bug 1669355
- Refactor MIME type warnings into base class. r=necko-reviewers,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D93906
2020-10-19 07:00:41 +00:00
Kershaw Chang
c21369d346
Bug 1668828 - Don't set cos flag if transaction is already closed r=necko-reviewers,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D94081
2020-10-20 12:59:31 +00:00
Valentin Gosu
56e20d4de5
Bug 1324247 - Strip whitespace from hash in URL setters r=necko-reviewers,dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D93472
2020-10-16 07:11:55 +00:00
Valentin Gosu
1756a71ac0
Bug 1324247 - Strip whitespace from queries in URL setters r=necko-reviewers,dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D93471
2020-10-16 07:11:42 +00:00
Valentin Gosu
b5dcdc80bb
Bug 1669780 - Backed out changeset 29d1be2b96f9 (Bug 1569715) for causing us to skip CORS preflight cache for POST requests r=necko-reviewers,kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D93746
2020-10-19 07:45:46 +00:00
Dragana Damjanovic
ddaca31b0c
Bug 1671521 - Update neqo to version 0.4.13 r=necko-reviewers,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D93703
2020-10-16 07:13:32 +00:00
ffxbld
db1c8d8a34
No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=jcristau
...
Differential Revision: https://phabricator.services.mozilla.com/D93667
2020-10-15 16:43:04 +00:00
Dan Minor
c7c8e3f274
Bug 1669573 - Rename kTimeFormatSeconds and kTimeFormatNoSeconds; r=zbraniecki
...
This renames kTimeFormatSeconds to kTimeFormatLong and kTimeFormatNoSeconds to
kTimeFormatShort. This is consistent with the naming used for date format
selectors.
Differential Revision: https://phabricator.services.mozilla.com/D93011
2020-10-15 12:20:15 +00:00
Valentin Gosu
99429ed4ed
Bug 1671164 - Make sure lock is held when calling AddrHostRecord::Blocklisted r=necko-reviewers,dragana
...
Depends on D93491
Differential Revision: https://phabricator.services.mozilla.com/D93492
2020-10-15 11:06:09 +00:00
Valentin Gosu
1a306ee2c7
Bug 1671164 - Rename nsHostResolver::Blacklisted to Blocklisted r=necko-reviewers,dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D93491
2020-10-15 11:04:29 +00:00
Dimi Lee
7a61308533
Bug 1669731 - P3. Add Allow API to ChannelClassifierService. r=timhuang,nhnt11
...
UI needs to distinguish the cases when a channel is shimmed and is
unshimmed.
When a channel is unshimmed, we unblock the channel and simply treat the channel as a
non-tracking channel.
When a channel is shimmed, although the channel is unblocked by
URLCLassifier, we still want to show it in the UI. For this case,
URLClassifier will notify a content blocking event when a channel is
unblocked.
This patch adds a new allow API, so the caller can use unblock() or
allow() depending upon the case it requires.
Differential Revision: https://phabricator.services.mozilla.com/D93271
2020-10-14 09:17:04 +00:00
Dimi Lee
d56e33dd5e
Bug 1669731 - P1. Rename STATE_UNBLOCKED_UNSAFE_CONTENT to STATE_UNBLOCKED_TRACKING_CONTENT r=timhuang
...
unsafe content is for Safe Browsing(phishing, malware, etc), we should use tracking content instead.
Differential Revision: https://phabricator.services.mozilla.com/D93269
2020-10-14 09:16:39 +00:00
Valentin Gosu
1f15b5f8cb
Bug 1186737 - nsMultiMixedConv should not hang if it gets no data r=necko-reviewers,dragana
...
Previously it was possible to not have mBoundarySet so we just bailed in
OnStopRequest - but after Bug 1321612 that is not possible, and we
call OnStopRequest with NS_ERROR_CORRUPTED_CONTENT.
This patch removes the check for the boundary, allowing the code to call
`mFinalListener->OnStopRequest(request, aStatus)` instead of hanging.
Differential Revision: https://phabricator.services.mozilla.com/D93340
2020-10-14 07:56:24 +00:00
Olli Pettay
1a587403e7
Bug 1668083 - when redirecting load from post to get, load should become replacing load also in session history, r=peterv
...
Differential Revision: https://phabricator.services.mozilla.com/D93249
2020-10-13 16:36:11 +00:00
Aaron Klotz
865e038207
Bug 1668376: Part 1 - Rename GeckoProcessManager::MarkAsDead to GeckoProcessManager::ShutdownProcess; r=geckoview-reviewers,necko-reviewers,agi,dragana
...
Since the semantics of `ContentParent::MarkAsDead` are significantly different
from `GeckoProcessManager::MarkAsDead`, let's rename the latter to better
reflect what it actually does.
Differential Revision: https://phabricator.services.mozilla.com/D92649
2020-10-06 20:25:02 +00:00
Christoph Kerschbaumer
88e9eb0d02
Bug 1665062: HTTPS-Only: Upgraded website creating HTTP auth prompt gets interrupted by error-page r=necko-reviewers,dragana,JulianWels
...
Differential Revision: https://phabricator.services.mozilla.com/D91908
2020-10-13 14:06:28 +00:00
Dragana Damjanovic
5ee4d78cb9
Bug 1670089 - Fix transactions WriteSegments issue with http3. r=necko-reviewers,valentin
...
The problem occurs when a response does not have a body. In this case the transaction will never be closed. if a transaction only has read headers, WriteSegments will return 0 bytes written(bug 1646701) and WriteSegments will not be called again and the transaction will not pickup the FIN bit.
Some code improvements:
- calling WriteSegments in a loop has been moved to Http3Stream. This is more appropriate place
- remove RECEIVED_RESET, because it is not used
- add test and add head_http3.js for setting up http3 tests (e.g. making sure that an alt-svc mapping is setup)
- fix handling of a response that has more data than its content-length header indicates.
Differential Revision: https://phabricator.services.mozilla.com/D92990
2020-10-13 09:40:24 +00:00
JulianWels
b88cf407ac
Bug 1608074 - Set channel ReferrerInfo in privileged code instead of referrer header r=nchevobbe,mixedpuppy,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D59856
2020-10-13 12:27:26 +00:00
Mihai Alexandru Michis
55dd1dbe43
Backed out changeset b3fb1b5bbe34 (bug 1608074) for causing bustages in XMLHttpRequestMainThread.cpp
...
CLOSED TREE
2020-10-13 14:55:06 +03:00
JulianWels
2ae8134434
Bug 1608074 - Set channel ReferrerInfo in privileged code instead of referrer header r=nchevobbe,mixedpuppy,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D59856
2020-10-13 10:39:11 +00:00
Dragana Damjanovic
2f6b73bd1e
Bug 1670085 - Http3 cannot be dispatch using OnMsgReclaimConnection. r=necko-reviewers,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D93323
2020-10-13 09:10:05 +00:00
Frederik Braun
d0107a4b05
Bug 1641190
- allow requests from systemprincipal for AltSvc request r=necko-reviewers,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D93221
2020-10-13 08:50:31 +00:00
ffxbld
4c9d801663
No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=jcristau
...
Differential Revision: https://phabricator.services.mozilla.com/D93223
2020-10-12 14:35:15 +00:00
Bas Schouten
25a1b0f61f
Bug 1669256 - Part 1: Remove AbstractEventQueue and de-templatize ThreadEventQueue. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D92709
2020-10-09 17:56:34 +00:00
Matt Woodrow
d54cb42cc5
Bug 1642951
- Don't fill the nsBufferedStream buffer when seeking to 0, to avoid opening lazy inner streams. r=baku,necko-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D91362
2020-10-09 04:38:10 +00:00
Kershaw Chang
883455945d
Bug 1668851 - Try to write data to socket directly without waiting r=necko-reviewers,dragana,remote-protocol-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D92442
2020-10-08 13:26:03 +00:00
Christoph Kerschbaumer
faf05f7d19
Bug 1552168: Remove pref security.data_uri.unique_opaque_origin. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D92087
2020-10-08 16:55:25 +00:00
ffxbld
60a6414375
No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=jcristau
...
Differential Revision: https://phabricator.services.mozilla.com/D92940
2020-10-08 14:54:02 +00:00
Dragana Damjanovic
226b522fe0
Bug 1669680 - Read from a neqo stream in a loop until all data re read or thee stream consumer can not handle more data. r=necko-reviewers,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D92753
2020-10-07 18:24:31 +00:00
Razvan Maries
d359081e12
Backed out changeset aaf5c5213d8d (bug 1665062) for perma failures on test_http_background_auth_request.html. CLOSED TREE
2020-10-07 17:51:55 +03:00
Christoph Kerschbaumer
d43cc4af7e
Bug 1665062: HTTPS-Only: Upgraded website creating HTTP auth prompt gets interrupted by error-page r=necko-reviewers,dragana,JulianWels
...
Differential Revision: https://phabricator.services.mozilla.com/D91908
2020-10-07 11:47:07 +00:00
Razvan Maries
f56817ceee
Backed out changeset da4cf62e21fb (bug 1668851) for perma failures on browser_cdp.js. CLOSED TREE
2020-10-07 15:08:01 +03:00
Kershaw Chang
d1927c3c05
Bug 1666620 - Close the transaction when Http3Session::Init failed, r=dragana,necko-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D91115
2020-10-07 08:48:38 +00:00
Kershaw Chang
347295305d
Bug 1652717 - P2: Implement fast fallback when H3 is used r=necko-reviewers,valentin,dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D90998
2020-10-07 08:48:25 +00:00
Kershaw Chang
c35e553d02
Bug 1652717 - P1: Make sure we can connect to Http3 server according to HTTPS RR r=necko-reviewers,valentin,dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D90997
2020-10-07 09:14:59 +00:00
Kershaw Chang
e15e30d8c5
Bug 1665878 - Reset exclusion list when all target names are all excluded, r=dragana,necko-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D90822
2020-10-06 20:06:53 +00:00
Kershaw Chang
beca4c9d74
Bug 1652713 - Implement fallback mechanism when echConfig is enabled, r=dragana,necko-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D90673
2020-10-06 20:06:55 +00:00
Kershaw Chang
003f18dacb
Bug 1668851 - Try to write data to socket directly without waiting r=necko-reviewers,dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D92442
2020-10-07 08:00:56 +00:00
Kershaw Chang
f29527e029
Bug 1656697, r=valentin,necko-reviewers
...
The root cause in this bug is that the connection info used by `SpdyConnectTransaction` is the same instance as the connection info in `nsHttpTransaction`, so we should clone it and let `SpdyConnectTransaction` use the cloned one.
Differential Revision: https://phabricator.services.mozilla.com/D89801
2020-10-06 14:58:30 +00:00
Dorel Luca
5c6d2146ce
Backed out 5 changesets (bug 1652717, bug 1665878, bug 1666620, bug 1652713) for XPCshell failures in components/migration/tests/unit/xpcshell.ini. CLOSED TREE
...
Backed out changeset 6322b86e1df4 (bug 1666620)
Backed out changeset ab09fd84e0e4 (bug 1652717)
Backed out changeset 018c0eebe944 (bug 1652717)
Backed out changeset 1636234a4768 (bug 1665878)
Backed out changeset 395117cd7b25 (bug 1652713)
2020-10-06 22:39:34 +03:00
Sylvestre Ledru
0bb0c0e4cf
Bug 1617369 - Reformat recent rust changes with rustfmt r=emilio,webdriver-reviewers,necko-reviewers,dragana,whimboo
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D92460
2020-10-06 16:12:13 +00:00
Sylvestre Ledru
d9cd198ba1
Bug 1519636 - Reformat recent changes to the Google coding style r=andi,necko-reviewers,dragana
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D92459
2020-10-06 16:12:00 +00:00
Dragana Damjanovic
030fcd3a0e
Bug 1667351 - Process neqo events immediately after a cert authentication is done. r=necko-reviewers,valentin
...
Currently we call ResumeSend() which will not process neqo events. It will only produce new packets. We are relying on other events, like timeout or a receive packet to trigger this.
Differential Revision: https://phabricator.services.mozilla.com/D92113
2020-10-05 19:03:55 +00:00
Dragana Damjanovic
3c5f61beb2
Bug 1669449 - Make sure the output array is empty before calling GetEvent r=necko-reviewers,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D92563
2020-10-06 11:12:13 +00:00
Kershaw Chang
263a19bfb2
Bug 1669270 - Don't call OnProxyConnectComplete if it's websocket over h2 r=necko-reviewers,dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D92494
2020-10-06 08:42:01 +00:00
Kershaw Chang
7b741eaca1
Bug 1668802 - Remove SpdyConnectTransaction::mConnInfo r=necko-reviewers,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D92441
2020-10-05 14:44:03 +00:00
Kershaw Chang
6531bf10b8
Bug 1666620 - Close the transaction when Http3Session::Init failed, r=dragana,necko-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D91115
2020-10-06 10:53:38 +00:00
Kershaw Chang
c8a92b9fee
Bug 1652717 - P2: Implement fast fallback when H3 is used r=necko-reviewers,valentin,dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D90998
2020-10-06 11:26:57 +00:00
Kershaw Chang
24121cf263
Bug 1652717 - P1: Make sure we can connect to Http3 server according to HTTPS RR r=necko-reviewers,valentin,dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D90997
2020-10-06 10:51:58 +00:00
Kershaw Chang
4ab4ff8981
Bug 1665878 - Reset exclusion list when all target names are all excluded, r=dragana,necko-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D90822
2020-10-06 09:48:05 +00:00
Kershaw Chang
99208e5b56
Bug 1652713 - Implement fallback mechanism when echConfig is enabled, r=dragana,necko-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D90673
2020-10-06 09:47:52 +00:00
Bogdan Tara
8391350978
Backed out changeset eff866cb4c66 (bug 1668851) for browser_net-ws-filter-freetext.js failures CLOSED TREE
2020-10-06 13:46:20 +03:00
Kershaw Chang
b98b252e20
Bug 1668851 - Try to write data to socket directly without waiting r=necko-reviewers,dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D92442
2020-10-06 08:18:21 +00:00
julianwels
341416588c
Bug 1653026 - Added HTTPS-Only Mode upgrade info to browser UI state. r=mattwoodrow,necko-reviewers,dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D86566
2020-10-06 00:34:55 +00:00
Brindusan Cristian
876fad947b
Backed out changeset 4dd604f6e395 (bug 1667351) for causing high frequency xpcshell failures at test_altsvc_pref.js. CLOSED TREE
2020-10-05 21:59:35 +03:00
Narcis Beleuzu
025ef5008e
Backed out changeset 71aa02ea22b6 (bug 1666678) for GTest failures on TestCookieMain
2020-10-05 21:32:24 +03:00
Kershaw Chang
71089ed718
Bug 1652677 - P2: Implement necko part of echconfig r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D89455
2020-10-05 15:16:46 +00:00
Kershaw Chang
35c03a8910
Bug 1652677 - P1: Prefer to use records with ECH config r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D89454
2020-10-05 15:16:29 +00:00
Valentin Gosu
1d498c5bad
Bug 1666678 - [cookie] rejected cookie when domain have ipv6 address r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D91246
2020-09-24 13:17:42 +00:00
Valentin Gosu
5b2da268a4
Bug 1669203 - MaybeRenewHostRecord should hold the resolver lock. r=necko-reviewers,kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D92428
2020-10-05 14:23:22 +00:00
Valentin Gosu
f6793cc123
Bug 1668721 - ifdef shlobj_core.h inclusion on mingw32 to fix build r=necko-reviewers,dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D92399
2020-10-05 12:22:12 +00:00
Dragana Damjanovic
0a621956c2
Bug 1667351 - Process neqo events immediately after a cert authentication is done. r=necko-reviewers,valentin
...
Currently we call ResumeSend() which will not process neqo events. It will only produce new packets. We are relying on other events, like timeout or a receive packet to trigger this.
Differential Revision: https://phabricator.services.mozilla.com/D92113
2020-10-02 07:39:28 +00:00
Brindusan Cristian
2a9b39efce
Backed out 2 changesets (bug 1653026) for mochitest failures at WindowGlobalParent.cpp. CLOSED TREE
...
Backed out changeset 54c69c99b241 (bug 1653026)
Backed out changeset e70649f78910 (bug 1653026)
2020-10-03 10:49:04 +03:00
julianwels
30a6225652
Bug 1653026 - Added HTTPS-Only Mode upgrade info to browser UI state. r=mattwoodrow,necko-reviewers,dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D86566
2020-10-03 01:22:19 +00:00
Olli Pettay
5cb8d35726
Bug 1668215 - Bail out loading if the SessionHistoryEntry for LoadingSessionHistoryInfo isn't available anymore, r=peterv
...
I haven't managed to reproduce the crash
Differential Revision: https://phabricator.services.mozilla.com/D92150
2020-10-02 11:53:18 +00:00
Emilio Cobos Álvarez
c1f41f653e
Bug 1668744 - Make fast_is_hex_digit better. r=valentin,necko-reviewers
...
No need to cast a byte as a char to test it against ascii characters.
Depends on D92183
Differential Revision: https://phabricator.services.mozilla.com/D92184
2020-10-02 09:22:24 +00:00
Emilio Cobos Álvarez
78356256dd
Bug 1668744 - Remove useless #[allow()] attributes. r=valentin,necko-reviewers
...
All these functions use snake case so they're not needed.
Depends on D92182
Differential Revision: https://phabricator.services.mozilla.com/D92183
2020-10-02 09:22:34 +00:00
Emilio Cobos Álvarez
1b68ac08c0
Bug 1668744 - Cleanup a bit and use explicit extern function pointer in rust etc/hosts parser. r=valentin,necko-reviewers
...
Using extern fn is needed to avoid a warning, but also this avoids copying the
filename when it's already valid utf-8, and makes some other minor cosmetic
tweaks, like removing useless `move` in lambdas and so on.
Differential Revision: https://phabricator.services.mozilla.com/D92182
2020-10-02 09:26:36 +00:00
ffxbld
98819106f1
No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=RyanVM
...
Differential Revision: https://phabricator.services.mozilla.com/D92065
2020-10-01 14:37:46 +00:00
Valentin Gosu
b9501927ed
Bug 1616252 - Exclude domains in /etc/hosts from using TRR r=necko-reviewers,dragana
...
This patch adds a task that is dispatched to the background thread when TRR
is first enabled. This may mean during the TRRService initialization at
startup or later when the pref is flipped.
The task will call into rust_parse_etc_hosts which does the actual file
opening and parsing. We pass the path to the file, that being either
/etc/hosts or the Windows equivalent obtained by calling
SHGetSpecialFolderPathA.
The rust code opens the file and proceeds to read it line by line while
accumulating all the hostnames in an array. Since these files can be
quite large, on the order of several megabytes, we need to make sure we
don't block shutdown doing this - so once more than 100 domains have
accumulated in the array we call back into C++ code to add them to the
exclusion list. The callback will return true if we should continue to
parse the file or false otherwise.
We also change the tests to use "excluded" rather than localhost when
testing the excluded-domains prefs, since localhost is unually present
in /etc/hosts and may interfere with the test.
We also use an atomic sTRRServicePtr to make sure that we don't have
a data race between the TRRService being freed and the callbacks of the
parsing.
Differential Revision: https://phabricator.services.mozilla.com/D90663
2020-10-01 07:01:58 +00:00
Valentin Gosu
a3a123bcf3
Bug 1667975 - Don't check rcode before parsing packet r=dragana,necko-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D92040
2020-10-01 10:05:03 +00:00
Valentin Gosu
94902b6253
Bug 1668437 - Check return code of NS_NewChannel in SetupIPCheckChannel r=necko-reviewers,dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D92026
2020-10-01 10:06:32 +00:00
Dragana Damjanovic
69a2937932
Bug 1668232 - Add support for draft 30 r=necko-reviewers,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D91912
2020-09-30 12:01:27 +00:00
Bogdan Tara
74125787ad
Backed out changeset bb5d1f8f84de (bug 1656697) on kershaw's request, for causing regression CLOSED TREE
2020-10-01 11:11:57 +03:00
Dragana Damjanovic
ea2de4498b
Bug 1668019 - Neqo offers a new event for the resumption tokens instread of get function. Also expiration tim is decoded. r=necko-reviewers,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D91874
2020-09-30 22:09:30 +00:00
Dragana Damjanovic
cb3f1acfbd
Bug 1668019 - Update neqo to version 0.4.12 r=necko-reviewers,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D91873
2020-09-30 10:51:34 +00:00
Sebastian Hengst
a34f36ddbd
Backed out 2 changesets (bug 1652677) on request from kershaw for causing bug 1667801
...
Backed out changeset 4a66e4016c18 (bug 1652677)
Backed out changeset df6bdf8157b1 (bug 1652677)
2020-09-30 13:14:00 +02:00
Sebastian Hengst
0cf7e55237
Backed out changeset 0b7c8f6349b1 (bug 1667743) on request from kershaw for causing bug 1667801
2020-09-30 13:12:53 +02:00
Dragana Damjanovic
65c57efbc7
Bug 1668021 - Some error types that neqo is returning have changed. We need to adapt the glue code. r=necko-reviewers,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D91870
2020-09-30 07:05:27 +00:00
Valentin Gosu
cd32ff2743
Bug 1589337 - Use nsIClassInfoImpl in nsStandardURL and children r=necko-reviewers,dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D90258
2020-09-29 11:41:44 +00:00
Valentin Gosu
cf8a03778f
Bug 1589337 - Use nsIClassInfoImpl in nsSimpleURI and children r=necko-reviewers,kershaw,xpcom-reviewers,nika
...
Differential Revision: https://phabricator.services.mozilla.com/D90257
2020-09-29 11:41:26 +00:00
Valentin Gosu
e05404b825
Bug 1589337 - Use nsIClassInfoImpl in nsJARURI r=necko-reviewers,kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D90256
2020-09-29 11:40:58 +00:00
Valentin Gosu
2ba638de33
Bug 1589337 - Use nsIClassInfoImpl in nsIconURI r=necko-reviewers,kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D90255
2020-09-29 11:40:43 +00:00
Valentin Gosu
32d406eed2
Bug 1589337 - Use nsIClassInfoImpl in DefaultURI r=necko-reviewers,xpcom-reviewers,kershaw,sg
...
Differential Revision: https://phabricator.services.mozilla.com/D90254
2020-09-29 11:40:28 +00:00
Kershaw Chang
5eabf77a18
Bug 1667743 - Remove unused esni code r=necko-reviewers,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D91571
2020-09-28 17:21:39 +00:00
Dragana Damjanovic
7b69d6c5c8
Bug 1646023 - Fix the transport status events for HTTP3 r=necko-reviewers,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D90761
2020-09-28 21:22:42 +00:00
Dragana Damjanovic
4b8e6b5e79
Bug 1655566 - P3 probe the times blocked by stream limits or flow control as a sender r=necko-reviewers,valentin
...
Depends on D85809
Differential Revision: https://phabricator.services.mozilla.com/D85810
2020-09-28 21:12:49 +00:00
Dragana Damjanovic
b9255ad27d
Bug 1655566 - P2 probe the delay from HTTP3 timers r=necko-reviewers,valentin
...
Depends on D85235
Differential Revision: https://phabricator.services.mozilla.com/D85809
2020-09-18 19:41:04 +00:00
Dragana Damjanovic
d5ceb44d82
Bug 1655566 - P1 probe time to reuse of idle connection, r=dragana,necko-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D85235
2020-09-18 19:41:04 +00:00
Christoph Kerschbaumer
080319086d
Bug 1667329: Remove unnecessary pref respect_document_nosniff. r=necko-reviewers,sstreich,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D91400
2020-09-28 14:28:01 +00:00
ffxbld
49e215ac76
No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=RyanVM
...
Differential Revision: https://phabricator.services.mozilla.com/D91597
2020-09-28 15:02:00 +00:00
Olli Pettay
97778cf44a
Bug 1667449
- Hide fission.sessionHistoryInParent pref getter behind a function r=peterv
...
Differential Revision: https://phabricator.services.mozilla.com/D91462
2020-09-28 12:01:12 +00:00
Christoph Kerschbaumer
f27594d62e
Bug 1667333: Remove unecessary prefs for mime type checking r=necko-reviewers,evilpie,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D91406
2020-09-28 06:35:10 +00:00
Peter Van der Beken
b14a77101d
Bug 1666881 - Make fission.sessionHistoryInParent require a restart when switching. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D91260
2020-09-25 09:03:58 +00:00
Valentin Gosu
fbeb1d188a
Bug 1667085 - Move SendHello out of Http2Session constructor r=dragana,necko-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D91276
2020-09-25 07:56:50 +00:00
Tim Huang
9e8f061119
Bug 1663192 - Part 2: Set the IsThirdPartyToTopWindow in the nsBaseChannel. r=dimi,kershaw,necko-reviewers
...
We should also set IsThirdPartyToTopWindow flag and HasStoragePermission
in loadInfo for channels loading `file:` uri. So, we set this flag in the
nsBaseChannel::AsyncOpen(). This change would affect about: and data:
channels.
Differential Revision: https://phabricator.services.mozilla.com/D91002
2020-09-25 00:08:56 +00:00
Kershaw Chang
93e628b4ae
Bug 1652677 - P2: Implement necko part of echconfig r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D89455
2020-09-25 07:35:04 +00:00
Kershaw Chang
0ec383b700
Bug 1652677 - P1: Prefer to use records with ECH config r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D89454
2020-09-24 19:33:15 +00:00
Csoregi Natalia
2d0fac4d45
Backed out changeset f12c895fc5e7 (bug 1605305) for causing bustage on nsHttpChannel.cpp on mc. CLOSED TREE
2020-09-25 09:58:22 +03:00
Razvan Maries
2e98c304f8
Backed out 2 changesets (bug 1663192) for build bustages on nsHttpChannel.cpp. CLOSED TREE
...
Backed out changeset a12d9ab2562c (bug 1663192)
Backed out changeset b47fca4272fd (bug 1663192)
2020-09-25 02:34:05 +03:00
Razvan Maries
e761feff33
Backed out 2 changesets (bug 1652677) for build bustages on nsHttpConnection.cpp. CLOSED TREE
...
Backed out changeset 7df7bfbfbc6e (bug 1652677)
Backed out changeset 435ff20fa8c6 (bug 1652677)
2020-09-24 22:01:09 +03:00
Kershaw Chang
d12fbcdc43
Bug 1652677 - P2: Implement necko part of echconfig r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D89455
2020-09-24 16:20:04 +00:00
Kershaw Chang
bd99e0b590
Bug 1652677 - P1: Prefer to use records with ECH config r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D89454
2020-09-24 14:29:56 +00:00
Dan Minor
f14a7ca879
Bug 1666570 - Cherrypick ffed0925f27d404173c1e3e750d818f432d2c019 from usrsctp; r=drno
...
Differential Revision: https://phabricator.services.mozilla.com/D91047
2020-09-23 21:52:29 +00:00
Mihai Alexandru Michis
8b9238686c
Backed out changeset 88337b6e4e3e (bug 1666881) for causing failures regarding the fission.autostart pref.
...
CLOSED TREE
2020-09-24 15:41:33 +03:00
Peter Van der Beken
55fdbb4384
Bug 1666881 - Make fission.sessionHistoryInParent require a restart when switching. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D91260
2020-09-24 11:14:51 +00:00
Tim Huang
a5c949a08a
Bug 1663192 - Part 2: Set the IsThirdPartyToTopWindow in the nsBaseChannel. r=dimi,kershaw,necko-reviewers
...
We should also set IsThirdPartyToTopWindow flag and HasStoragePermission
in loadInfo for channels loading `file:` uri. So, we set this flag in the
nsBaseChannel::AsyncOpen(). This change would affect about: and data:
channels.
Differential Revision: https://phabricator.services.mozilla.com/D91002
2020-09-24 09:10:17 +00:00
Valentin Gosu
7822dc93c1
Bug 1666715 - Assert that record is not already in evictionQ r=necko-reviewers,kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D91101
2020-09-23 12:33:33 +00:00
Matt Woodrow
e0be63cf32
Bug 1642951
- Don't open the underlying file unnecessarily when seeking nsFileInputStream to the start. r=baku,necko-reviewers,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D91088
2020-09-23 23:34:19 +00:00
Valentin Gosu
490c8f0c88
Bug 1666711 - Improve TRRDNSListener handling r=necko-reviewers,kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D90980
2020-09-23 09:30:13 +00:00
Akihiko Odaki
857f18b6f5
Bug 1605305 - Origin header field is not set to HTTP request in cases where it is required, r=ckerschb,necko-reviewers,JuniorHsu
...
***
trr debugging
Differential Revision: https://phabricator.services.mozilla.com/D80905
2020-09-23 19:00:10 +00:00
Kris Maglione
061206b7f2
Bug 1646573: Part 3 - Fix OriginalFrameSrcLoad with DocumentChannel. r=mattwoodrow
...
Differential Revision: https://phabricator.services.mozilla.com/D90341
2020-09-23 18:26:25 +00:00
Simon Giesecke
de7bab0f06
Bug 1650145 - Replace all value uses of Empty[C]String by 0-length _ns literals. r=froydnj,geckoview-reviewers,agi
...
Differential Revision: https://phabricator.services.mozilla.com/D82325
2020-09-23 15:17:15 +00:00
Andrea Marchesini
60b6161a74
Bug 1635828 - Isolate HSTS per first-party when privacy.partition.network_state is set to true - part 3 - partition key, r=xeonchen
...
Differential Revision: https://phabricator.services.mozilla.com/D83316
2020-09-20 20:51:12 +00:00
Andrea Marchesini
7c4292e435
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-09-20 20:51:11 +00:00
Christoph Kerschbaumer
c9b352a0f3
Bug 1666751: Use simple and never failing LoadInfo() getter because all channels should have a loadinfo r=freddyb,necko-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D91119
2020-09-23 12:49:40 +00:00
Valentin Gosu
d8fa63f024
Bug 1666249 - Save canonical name when lookup with DNS-over-HTTPS enabled r=necko-reviewers,kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D90979
2020-09-23 09:29:50 +00:00
Butkovits Atila
499dcd036b
Backed out 2 changesets (bug 1666711, bug 1666249) for causing failures at test_trr_additional_section.js. CLOSED TREE
...
Backed out changeset a802f1c429bc (bug 1666711)
Backed out changeset da73031913b7 (bug 1666249)
2020-09-23 11:49:14 +03:00
Valentin Gosu
1348f15dd5
Bug 1666711 - Improve TRRDNSListener handling r=necko-reviewers,kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D90980
2020-09-23 07:56:47 +00:00
Valentin Gosu
df16132ad7
Bug 1666249 - Save canonical name when lookup with DNS-over-HTTPS enabled r=necko-reviewers,kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D90979
2020-09-23 07:56:23 +00:00
Nico Grunbaum
c9ad55f22d
Bug 1664900
- P5 - mv peerconnection to jsapi;r=dminor
...
Differential Revision: https://phabricator.services.mozilla.com/D90951
2020-09-23 04:28:03 +00:00
Nico Grunbaum
54d899d308
Bug 1664900
- move /media/webrtc/signaling/src to /dom/media/webrtc;r=dminor,webidl,smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D90179
2020-09-23 04:22:29 +00:00
Michael Froman
5b942915e9
Bug 1664898 - move media/mtransport to media/transport. r=ng
...
Differential Revision: https://phabricator.services.mozilla.com/D90309
2020-09-22 21:43:49 +00:00
Csoregi Natalia
951443150a
Backed out changeset cd7ec0e4fea4 (bug 1646573) for failures on test_ext_contentscript_activeTab.html. CLOSED TREE
2020-09-23 01:53:37 +03:00
Tarek Ziadé
c7cf4bad66
Bug 1665556 - make the try-platform option handle multiple platforms r=sparky
...
Differential Revision: https://phabricator.services.mozilla.com/D90550
2020-09-22 15:59:15 +00:00
Csoregi Natalia
3efe04d48a
Backed out 2 changesets (bug 1666249) for failures on test_trr_nat64.js. CLOSED TREE
...
Backed out changeset cc8915693d90 (bug 1666249)
Backed out changeset 42106e84c23a (bug 1666249)
2020-09-22 23:30:13 +03:00
Kagami Sascha Rosylight
bcf37d1286
Bug 1658563
- Support .lnk files in file: protocol r=necko-reviewers,dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D90283
2020-09-22 07:26:33 +00:00
Kris Maglione
4f05d51b11
Bug 1646573: Part 3 - Fix OriginalFrameSrcLoad with DocumentChannel. r=mattwoodrow
...
Differential Revision: https://phabricator.services.mozilla.com/D90341
2020-09-22 17:41:39 +00:00
Valentin Gosu
d4e81eabc3
Bug 1666249 - Improve TRRDNSListener handling r=necko-reviewers,kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D90980
2020-09-22 16:33:09 +00:00
Valentin Gosu
22d869c8ba
Bug 1666249 - Save canonical name when lookup with DNS-over-HTTPS enabled r=necko-reviewers,kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D90979
2020-09-22 16:32:46 +00:00
Kershaw Chang
1f856b7a5c
Bug 1665623 - Remove the unnessary lock r=necko-reviewers,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D90672
2020-09-18 09:11:22 +00:00
Andy Grover
99792ccf29
Bug 1649495
- Add network.http.http3.enable_qlog pref r=dragana,necko-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D81949
2020-09-22 08:28:44 +00:00
Dragana Damjanovic
2560f18994
Bug 1666338
- Do not reset the Http3Stream state if 0RTT was accepted. r=necko-reviewers,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D90911
2020-09-22 07:46:02 +00:00
mcccs
c7b6171fd4
Bug 1589781 - NAT64 synthesis for TRR. r=valentin,necko-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D86343
2020-09-22 07:29:34 +00:00
ffxbld
40f2c8cc60
No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=RyanVM
...
Differential Revision: https://phabricator.services.mozilla.com/D90947
2020-09-22 02:55:14 +00:00
Valentin Gosu
e66347e556
Bug 1648147 - Don't retry the connection with RES_DISABLE_TRR when the TRR server returns 0.0.0.0 r=dragana,necko-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D90549
2020-09-21 12:01:50 +00:00
Simon Giesecke
2e065c64d6
Bug 1665614 - Make mozilla::Result work with non-copyable/non-param error types. r=emilio,jandem
...
Among other things, there were some misuses of std::forward, and
GenericErrorResult was (presumably accidentally) instatiated with
references as the template argument type, e.g. const nsresult&,
which circumvented the check for not calling it with NS_OK in
ResultExtensions.h
Differential Revision: https://phabricator.services.mozilla.com/D90561
2020-09-21 13:12:48 +00:00
Butkovits Atila
49f424b435
Backed out changeset f82548378b79 (bug 1649495
) for xpc failures at test_upgrade.js. CLOSED TREE
2020-09-21 15:45:00 +03:00
Butkovits Atila
270e7e2200
Backed out 5 changesets (bug 1665927
, bug 1665614, bug 1665850) for causing bustage on Result.h. CLOSED TREE
...
Backed out changeset 1467e76399e8 (bug 1665927
)
Backed out changeset ebd4dfbc0a88 (bug 1665850)
Backed out changeset 5e23340e3b39 (bug 1665850)
Backed out changeset 5bc547e7a773 (bug 1665850)
Backed out changeset 8d88afb85a78 (bug 1665614)
2020-09-21 15:25:16 +03:00
Simon Giesecke
3b0420646e
Bug 1665614 - Make mozilla::Result work with non-copyable/non-param error types. r=emilio,jandem
...
Among other things, there were some misuses of std::forward, and
GenericErrorResult was (presumably accidentally) instatiated with
references as the template argument type, e.g. const nsresult&,
which circumvented the check for not calling it with NS_OK in
ResultExtensions.h
Differential Revision: https://phabricator.services.mozilla.com/D90561
2020-09-21 10:38:19 +00:00
Andy Grover
63993e1a49
Bug 1649495
- Add network.http.http3.qlog_enabled pref r=dragana,necko-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D81949
2020-09-21 11:00:26 +00:00
Valentin Gosu
1f2f43b047
Bug 1663642 - fix r=necko-reviewers,kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D90070
2020-09-21 07:35:53 +00:00
Valentin Gosu
ea223460f7
Bug 1665979 - Make sure we call MaybeRenewHostRecord when adding additional record r=kershaw,necko-reviewers
...
If we don't, the record may already be on the eviction queue, meaning
we try to remove it twice.
Differential Revision: https://phabricator.services.mozilla.com/D90787
2020-09-21 07:09:05 +00:00
Narcis Beleuzu
4a31045523
Backed out 4 changesets (bug 1635828) for causing Bug 1666083
...
Backed out changeset 1f93614c3fde (bug 1635828)
Backed out changeset 04a8f6581dde (bug 1635828)
Backed out changeset 1bfeca8427e6 (bug 1635828)
Backed out changeset 8ec4db600c1f (bug 1635828)
2020-09-20 20:00:45 +03:00
Sylvestre Ledru
fd8b54c40d
Bug 1617369 - Reformat recent rust changes with rustfmt r=emilio,necko-reviewers,valentin
...
# ignore-this-changeset
Depends on D90793
Differential Revision: https://phabricator.services.mozilla.com/D90794
2020-09-20 16:09:26 +00:00
Sylvestre Ledru
ec8859e69e
Bug 1519636 - Reformat recent changes to the Google coding style r=andi
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D90793
2020-09-20 10:14:09 +00:00
Csoregi Natalia
f040f9c556
Backed out changeset 8c6e791dcb00 (bug 1589781) for xpcshell failures on test_ext_captivePortal.js. CLOSED TREE
2020-09-20 14:36:18 +03:00
mcccs
a748291a86
Bug 1589781 - NAT64 synthesis for TRR. r=valentin,necko-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D86343
2020-09-20 10:43:02 +00:00
Peter Van der Beken
c1d63b8424
Bug 1665918 - Support loads from history in the parent process in DocumentLoadListener. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D90687
2020-09-18 16:59:08 +00:00
Matt Woodrow
9638778ace
Bug 1604447 - Remove channel diversion code. r=dragana,necko-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D90193
2020-09-18 20:56:54 +00:00
Bogdan Tara
8dede7a88d
Backed out changeset 3cb12ccee75a (bug 1604447) for causing build bustage CLOSED TREE
2020-09-18 23:43:46 +03:00
Matt Woodrow
d990dadcc7
Bug 1604447 - Remove channel diversion code. r=dragana,necko-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D90193
2020-09-18 06:56:38 +00:00
Andrea Marchesini
487589caae
Bug 1635828 - Isolate HSTS per first-party when privacy.partition.network_state is set to true - part 3 - partition key, r=xeonchen
...
Differential Revision: https://phabricator.services.mozilla.com/D83316
2020-09-16 14:33:31 +00:00
Andrea Marchesini
60e30534dc
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-08-04 10:39:45 +00:00
Mihai Alexandru Michis
51875c07f4
Backed out changeset 932516ec74bb (bug 1649495
) for causing bustages in nsHttpHandler
...
CLOSED TREE
2020-09-18 15:55:06 +03:00
Andy Grover
96ac4b6334
Bug 1649495
- Add network.http.http3.qlog_enabled pref r=dragana,necko-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D81949
2020-09-18 07:02:15 +00:00
Kershaw Chang
37bd97f6a1
Bug 1656697, r=valentin,necko-reviewers
...
The root cause in this bug is that the connection info used by `SpdyConnectTransaction` is the same instance as the connection info in `nsHttpTransaction`, so we should clone it and let `SpdyConnectTransaction` use the cloned one.
Differential Revision: https://phabricator.services.mozilla.com/D89801
2020-09-16 08:19:17 +00:00
Kershaw Chang
97bba57b62
Bug 1529759 - Don't inline nsHttpChannel::DoConnect r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D89706
2020-09-16 07:34:02 +00:00
Emilio Cobos Álvarez
b1d66c8b2e
Bug 1611933 - Support infallible xpcom methods, and use it for nsIURI.schemeIs. r=nika,xpcom-reviewers
...
I've wanted to use this recently for a couple things. This uses the
same scheme and even templates we use for attributes, so it's mostly
moving code around...
Inverting the code generation so that the implementation is infallible,
and we actually generate the NS_IMETHOD goop inline somehow could be
potentially desirable, though that causes an extra virtual call for
non-C++ callers I guess, so maybe it's not such a great trade-off. Plus
it seems more complicated...
Explicitly forbid mixing infallible with notxpcom (as it doesn't make
sense), and similarly forbid infallible + returning void (as C++ doesn't
allow us to overload a function that differs only on its return type).
Differential Revision: https://phabricator.services.mozilla.com/D90044
2020-09-18 00:24:12 +00:00
ffxbld
3768ca343e
No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=RyanVM
...
Differential Revision: https://phabricator.services.mozilla.com/D90609
2020-09-17 20:20:07 +00:00
Bogdan Tara
8fe09fb514
Backed out changeset 7f4e096d1be6 (bug 1589781) for NetworkConnectivityService tsan failures CLOSED TREE
2020-09-17 19:28:43 +03:00
mcccs
17b4754b7e
Bug 1589781 - NAT64 synthesis for TRR. r=valentin,necko-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D86343
2020-09-17 06:40:19 +00:00
Valentin Gosu
277da76cef
Bug 1629825 - Delete Appcache directory when storage pref is turned off r=necko-reviewers,kershaw
...
This bug was initially about adding a test that we can still clear appcache
data even when the storage pref is off.
However, due to the fact that we only check the pref at startup and then
are unable to access the storage device if disabled, it's best to just
delete the OfflineCache folder shortly after startup.
Differential Revision: https://phabricator.services.mozilla.com/D90395
2020-09-17 08:19:49 +00:00
Kris Maglione
387300d358
Bug 1662855: Remove defunct httpd.manifest file. r=mccr8,necko-reviewers,valentin
...
The manifest file hasn't actually done anything since XPT definitions were
moved to the libxul binary, and now just generates warnings in local builes.
Differential Revision: https://phabricator.services.mozilla.com/D89197
2020-09-17 03:15:11 +00:00
Dorel Luca
d5b7a5666c
Backed out changeset 0a4e7303358b (bug 1662855) for XPCshell failures in netwerk/test/httpserver/test/test_async_response_sending.js. CLOSED TREE
2020-09-17 03:31:11 +03:00
Kris Maglione
fa5c3a435d
Bug 1662855: Remove defunct httpd.manifest file. r=mccr8,necko-reviewers,valentin
...
The manifest file hasn't actually done anything since XPT definitions were
moved to the libxul binary, and now just generates warnings in local builes.
Differential Revision: https://phabricator.services.mozilla.com/D89197
2020-09-16 21:57:29 +00:00