Butkovits Atila
e3dce68834
Backed out 3 changesets (bug 1643289, bug 1642949) for causing failure at test_headless_screenshot.html. CLOSED TREE
...
Backed out changeset 98c420f73380 (bug 1643289)
Backed out changeset 9447ea8910aa (bug 1643289)
Backed out changeset 0c827da9d847 (bug 1642949)
2020-06-10 10:07:23 +03:00
Simon Giesecke
d419f0ff08
Bug 1642949 - Replace uses of RemoveElementAt by RemoveLastElement/PopLastElement where possible. r=necko-reviewers,froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D78027
2020-06-10 05:49:28 +00:00
Junior Hsu
58f2c8bc94
Bug 1638513
- P3 strip request body header for preflight, r=valentin,necko-reviewers
...
(a) Steal nsCORSListenerProxy::UpdateType since the whole usage is removed
by bug 1312864. Now I'm using it to indicate if the headers should be
stripped.
(b) Intentionally to let HttpBaseChannel strip the header to save one
headers copy. It's set via idl, hence I don't think it's moveable.
Differential Revision: https://phabricator.services.mozilla.com/D78831
2020-06-09 18:38:50 +00:00
Junior Hsu
c967db3c67
Bug 1638513
- P2 let nsIHttpChannel implement shouldStripRequestBodyHeader, r=valentin,necko-reviewers
...
We need to extract the common method into the idl since the connection between necko
and XHR is idl. Need to import the whole necko if we do something like
`#include "HttpBaseChannel.h"
Differential Revision: https://phabricator.services.mozilla.com/D78830
2020-06-09 18:20:15 +00:00
Junior Hsu
b7d7ea4350
Bug 1638513
- P1 extract parsing method, r=valentin,necko-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D78829
2020-06-09 18:19:42 +00:00
Dorel Luca
b4228601a2
Backed out 2 changesets (bug 1642667) for XPCShell failures on netwerk/test/unit/test_http2-proxy.js. CLOSED TREE
...
Backed out changeset ff7fab70e315 (bug 1642667)
Backed out changeset 368a7cd06c69 (bug 1642667)
2020-06-08 20:21:20 +03:00
Andrea Marchesini
bbe813fabe
Bug 1642667 - Isolate alt-srv and connection pool per first-party when privacy.partition.network_state is set to true - part 1 - implementation, r=dragana,necko-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D78082
2020-06-08 16:22:22 +00:00
Valentin Gosu
cc46191834
Bug 1640091 - Make sure we TRRServiceChannel::mProxyRequest is initialized and used r=kershaw,necko-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D78525
2020-06-08 11:38:22 +00:00
Mihai Alexandru Michis
b0a610bce5
Backed out 3 changesets (bug 1640091) for causing xpcshell failures in nsCOMPtr.h
...
CLOSED TREE
Backed out changeset 03c4c517ee37 (bug 1640091)
Backed out changeset a1d86c177d79 (bug 1640091)
Backed out changeset f481d4ec255a (bug 1640091)
2020-06-08 12:51:42 +03:00
Simon Giesecke
13502cf27c
Bug 1642991 - Use RemoveElementsBy where easily possible. r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D78055
2020-06-08 09:01:48 +00:00
Valentin Gosu
42d7490489
Bug 1640091 - Make sure we TRRServiceChannel::mProxyRequest is initialized and used r=kershaw,necko-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D78525
2020-06-08 06:57:23 +00:00
Kershaw Chang
e6bff0a49c
Bug 1641496 - P5: Make nsHttpActivityDistributor::AddObserver work if socket process is not ready r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D77276
2020-06-04 22:56:40 +00:00
Kershaw Chang
cba8b4bdfc
Bug 1641496 - P4: Send request size in OnStopRequest message r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D77275
2020-06-04 22:56:43 +00:00
Kershaw Chang
ef6ab5d3fb
Bug 1641496 - P3: Avoid ODA message being processed when the channel is already failed r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D77274
2020-06-04 22:56:45 +00:00
Csoregi Natalia
63635ef2aa
Backed out 7 changesets (bug 1641496) for failures on test_trr.js. CLOSED TREE
...
Backed out changeset 1c927e612dda (bug 1641496)
Backed out changeset 0f1ba77e3942 (bug 1641496)
Backed out changeset a626e86ce5c9 (bug 1641496)
Backed out changeset 196381953eac (bug 1641496)
Backed out changeset 70b0af678bfd (bug 1641496)
Backed out changeset bf41bd8ca89c (bug 1641496)
Backed out changeset 745da0e1cb80 (bug 1641496)
2020-06-05 01:39:19 +03:00
Kershaw Chang
57cbc05cf3
Bug 1641496 - P5: Make nsHttpActivityDistributor::AddObserver work if socket process is not ready r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D77276
2020-06-04 11:49:40 +00:00
Kershaw Chang
fb7f2879f7
Bug 1641496 - P4: Send request size in OnStopRequest message r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D77275
2020-06-04 12:23:57 +00:00
Kershaw Chang
f677ce3a79
Bug 1641496 - P3: Avoid ODA message being processed when the channel is already failed r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D77274
2020-06-04 11:49:18 +00:00
Liang-Heng Chen
01f8cce7e1
Bug 1640135 - P4: update usage of PartitionKey; r=timhuang
...
Differential Revision: https://phabricator.services.mozilla.com/D77917
2020-06-04 10:51:21 +00:00
Andy Grover
95b90fb23e
Bug 1633006
- Update to Neqo 0.4.0 r=dragana,necko-reviewers
...
Document qlog uses 2 clause bsd license.
Adapt to API changes in glue and http3server
Differential Revision: https://phabricator.services.mozilla.com/D77903
2020-06-02 21:28:31 +00:00
Valentin Gosu
243786d713
Bug 1640867 - Add new HTTP_CHANNEL_ONSTART_SUCCESS_TRR probe r=dragana,tdsmith,necko-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D77127
2020-05-30 08:39:17 +00:00
Honza Bambas
cbb21fd55a
Bug 1605895 - Advance the diagnostic assertion to check status of channel event queues, r=michal,necko-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D77687
2020-06-01 21:35:03 +00:00
Jon Bauman
a311412e9e
Bug 1641208 - `Accept` header does not include `image/avif` even when `image.avif.enable` is set. r=mattwoodrow,aosmond,necko-reviewers,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D77371
2020-06-01 22:21:05 +00:00
Valentin Gosu
555823e361
Bug 1641901 - Check the type of OutboundMessage::mMsg before using r=michal,necko-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D77546
2020-05-30 06:53:02 +00:00
Dorel Luca
12d676daa0
Backed out changeset e4b730f2d853 (bug 1641208) for Browser-chrome failures in dom/tests/browser/browser_persist_image_accept.js
2020-05-30 07:10:09 +03:00
Jon Bauman
f43c78c21f
Bug 1641208 - `Accept` header does not include `image/avif` even when `image.avif.enable` is set. r=mattwoodrow,aosmond,necko-reviewers,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D77371
2020-05-29 22:18:59 +00:00
Dorel Luca
ca47e808e1
Backed out 2 changesets (bug 1640867) for Network failures on multipe platforms. CLOSED TREE
...
Backed out changeset 75a1f56ff1ee (bug 1640867)
Backed out changeset a4c770a70516 (bug 1640867)
2020-05-30 02:02:33 +03:00
Valentin Gosu
5a7c7bf9ec
Bug 1640867 - Add new HTTP_CHANNEL_ONSTART_SUCCESS_TRR probe r=dragana,tdsmith,necko-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D77127
2020-05-29 21:23:50 +00:00
Alexis Beingessner
5013279fa5
Bug 1637727 - convert network.http.rcwn prefs to StaticPrefs. r=KrisWright,necko-reviewers,valentin
...
converts:
* network.http.rcwn.enabled
* network.http.rcwn.cache_queue_normal_threshold
* network.http.rcwn.cache_queue_priority_threshold
* network.http.rcwn.small_resource_size_kb
* network.http.rcwn.min_wait_before_racing_ms
* network.http.rcwn.max_wait_before_racing_ms
Differential Revision: https://phabricator.services.mozilla.com/D77108
2020-05-29 07:54:24 +00:00
Alexis Beingessner
32ab7a7bc4
Bug 1637727 - convert network.http.sanitize-headers-in-logs to a StaticPref. r=KrisWright,necko-reviewers,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D77107
2020-05-29 07:56:48 +00:00
prathiksha
f247187965
Bug 1634947 - Update the TLS deprecated error message in Firefox. r=johannh,necko-reviewers,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D77021
2020-05-27 21:58:30 +00:00
Eden Chuang
612b473d45
Bug 1634419 - Skip CORP checking for TYPE_WEBSOCKET loading r=necko-reviewers,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D74655
2020-05-27 21:29:32 +00:00
Emilio Cobos Álvarez
54fd961a29
Bug 1641245 - Make string comparators not virtual. r=froydnj,necko-reviewers,geckoview-reviewers,jgilbert,agi,valentin
...
There's no use case for stateful comparators, so they can be just plain
function pointers.
This is used in some hot places like CSS selector matching.
Differential Revision: https://phabricator.services.mozilla.com/D77084
2020-05-27 18:11:12 +00:00
Eden Chuang
8ec5c50a7f
Bug 1575095 - P2 Apply COOP switch with InterceptedHttpChannel in DocumentLoadListener r=necko-reviewers,valentin,mattwoodrow
...
The response from ServiceWorker might also be COOP mismatched, such that the document/sub-document loading need to be performed on another process.
However, DocumentLoadListener only works with nsHttpChannel.
This patch would like to support InterceptedHttpChannel in DocumentLoadListener.
Differential Revision: https://phabricator.services.mozilla.com/D76841
2020-05-27 15:37:21 +00:00
Eden Chuang
a570025eed
Bug 1575095 - P1 Move CrossOriginXXXHeaders checking into HttpBaseChannel and apply CrossOriginXXXHeaders in InterceptedHttpChannel. r=valentin
...
Move COOP, COEP, and CORP checking into HttpBaseChannel, and apply these checking on InterceptedHttpChannel.
Differential Revision: https://phabricator.services.mozilla.com/D54224
2020-05-27 15:37:09 +00:00
Dorel Luca
cb70b659d6
Backed out changeset 0440fa5863b2 (bug 1634947) for Devtools failures in browser_webconsole_certificate_messages.js . CLOSED TREE
2020-05-27 17:52:28 +03:00
prathiksha
18ae80df9c
Bug 1634947 - Update the TLS deprecated error message in Firefox. r=johannh,necko-reviewers,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D77021
2020-05-27 11:43:20 +00:00
Kershaw Chang
eb032f3176
Bug 1602832 - P1: Run xpcshell tests without e10s with socket process r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D58110
2020-05-26 14:30:09 +00:00
Butkovits Atila
f167b5c275
Backed out 6 changesets (bug 1602832) for causing perma failure at test_trr_case_sensitivity.js. CLOSED TREE
...
Backed out changeset 0e9c378df995 (bug 1602832)
Backed out changeset 534fedb3836e (bug 1602832)
Backed out changeset db012c05d64e (bug 1602832)
Backed out changeset ca0c207dca21 (bug 1602832)
Backed out changeset bea1f3aeea49 (bug 1602832)
Backed out changeset 2d54acd78124 (bug 1602832)
2020-05-26 13:09:07 +03:00
Kershaw Chang
ad95a84c3b
Bug 1602832 - P1: Run xpcshell tests without e10s with socket process r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D58110
2020-05-26 08:35:02 +00:00
Dimi Lee
1bd66e58e7
Bug 1637634 - Update IsOnContentBlockingAllowList in nsHttpChannel::AsyncOpen r=timhuang,necko-reviewers
...
This patch removes the assertion that ensures the channel is
top-level via BrowsingContext.
This is because more than one testcases creates a TYPE_DOCUMENT channel
to test.
Differential Revision: https://phabricator.services.mozilla.com/D76152
2020-05-26 06:52:39 +00:00
Csoregi Natalia
60c1f31133
Backed out changeset b42b355fc457 (bug 1637634) for crashes on UpdateIsOnContentBlockingAllowList. CLOSED TREE
2020-05-25 23:54:18 +03:00
Dimi Lee
ed4c44789a
Bug 1637634 - Update IsOnContentBlockingAllowList in nsHttpChannel::AsyncOpen r=timhuang,necko-reviewers
...
This patch removes TYPE_DOCUMENT test in test_shouldclassify because the
testcase creates a non-top level channel with TYPE_DOCUMENT flag (this is wong!),
which triggers the assertion in UpdateIsOnContentBlockingAllowList.
File a follow-up bug 1640715 to add TYPE_DOCUMENT test back.
Differential Revision: https://phabricator.services.mozilla.com/D76152
2020-05-25 18:30:43 +00:00
Kershaw Chang
80a7a8303b
Bug 1546358 - Forward cache entry check to parent process r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D75941
2020-05-25 11:07:07 +00:00
Christoph Kerschbaumer
6ae4ad1947
Bug 1422284 - Upgrade insecure requests should only apply to top-level same-origin redirects. r=baku,valentin,necko-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D75259
2020-05-25 08:14:10 +00:00
Kershaw Chang
24d1611207
Bug 1629457 - Make sure TRRServiceChannel is released on target thread r=dragana
...
The reason of this crash is because that `TRRServiceChannel` is released on the wrong thread. Bug 1616014 fixed a possible case that makes `TRRServiceChannel` release on main thread, but there could be other hidden cases that we are not aware of. To be on the safe side, we should consider to take this future-proof patch.
Differential Revision: https://phabricator.services.mozilla.com/D75973
2020-05-20 09:09:10 +00:00
Chris Peterson
bb83eb2360
Bug 1640097 - Remove unused function nsHttpHandler::Get32BitsOfPseudoRandom(). r=necko-reviewers,JuniorHsu
...
Differential Revision: https://phabricator.services.mozilla.com/D76446
2020-05-22 16:16:23 +00:00
Mihai Alexandru Michis
f8bf0815ae
Backed out changeset efd4bcfa61dc (bug 1637634) for causing failures in ContentBlockingAllowList.cpp
...
CLOSED TREE
2020-05-23 01:53:36 +03:00
Dimi Lee
4438bd81db
Bug 1637634 - Update IsOnContentBlockingAllowList in nsHttpChannel::AsyncOpen r=timhuang,necko-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D76152
2020-05-22 22:19:57 +00:00
Junior Hsu
7d2a5e55c5
Bug 1638313 - Let devtool show CORS rejected requests correctly r=necko-reviewers,mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D76255
2020-05-22 02:21:25 +00:00