Razvan Maries
c8e604eb78
Backed out 4 changesets (bug 1660970, bug 1525854, bug 1663657, bug 1645108) for perma failures on test_trr_additional_section.js. CLOSED TREE
...
Backed out changeset ad6c2e8af09b (bug 1663657)
Backed out changeset 419e26e3f452 (bug 1525854)
Backed out changeset 55bf856faf33 (bug 1660970)
Backed out changeset c543a3a008fa (bug 1645108)
2020-09-15 02:35:05 +03:00
Valentin Gosu
6d149e6e7a
Bug 1663657 - Turn IsIpAddr* functions into NetAddr methods r=necko-reviewers,kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D89552
2020-09-14 12:06:27 +00:00
Kershaw Chang
85a40e4ad8
Bug 1658877 - Don't overwrite mContentDispositionHint if it's DISPOSITION_ATTACHMENT r=valentin,Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D88044
2020-09-02 12:58:45 +00:00
Valentin Gosu
685ab937f8
Bug 1626486 - Use structured field value parser for COOP and COEP r=kershaw,annevk,necko-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D88003
2020-09-01 06:18:51 +00:00
Mihai Alexandru Michis
f0475723ee
Backed out changeset ad066d1a0def (bug 1626486) for causing wpt failures in header-parsing.https.html
...
CLOSED TREE
2020-08-31 15:43:47 +03:00
Valentin Gosu
85ab52a052
Bug 1626486 - Use structured field value parser for COOP and COEP r=kershaw,annevk,necko-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D88003
2020-08-25 14:27:34 +00:00
Matt Woodrow
228b3b0a58
Bug 1638422 - Add an option for nsITraceableChannel new listeners to request that content decoding be applied before they are called. r=kmag,necko-reviewers,dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D83595
2020-08-25 23:17:35 +00:00
Kershaw Chang
10d957aaa7
Bug 1652655 - P3: Dispatch the transaction based on HTTPSSVC record, r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D85123
2020-08-21 18:59:15 +00:00
Csoregi Natalia
ff0a68004d
Backed out changeset 7cad986c81a5 (bug 1605305) for failures on test_trr.js. CLOSED TREE
2020-08-18 23:38:17 +03:00
Akihiko Odaki
7f71e11e00
Bug 1605305 - Origin header field is not set to HTTP request in cases where it is required, r=ckerschb,necko-reviewers,JuniorHsu
...
Differential Revision: https://phabricator.services.mozilla.com/D80905
2020-08-18 16:32:43 +00:00
Razvan Maries
44ae0cd57e
Backed out changeset 1047cef8519b (bug 1605305) for perma failures on test_trr.js. CLOSED TREE
2020-08-18 17:39:29 +03:00
Akihiko Odaki
77429bc942
Bug 1605305 - Origin header field is not set to HTTP request in cases where it is required, r=ckerschb,necko-reviewers,JuniorHsu
...
Differential Revision: https://phabricator.services.mozilla.com/D80905
2020-08-18 13:15:27 +00:00
Kris Maglione
3af8c4138c
Bug 1651519: Remove nsIDOMWindowUtils::currentInnerWindowID. r=nika,remote-protocol-reviewers,webcompat-reviewers,whimboo
...
It has some properties which make it footgunny, especially in the face of
Fission. Callers should use WindowGlobalChild.innerWindowId instead.
Differential Revision: https://phabricator.services.mozilla.com/D82801
2020-08-17 20:20:50 +00:00
Dorel Luca
990d081d9f
Backed out 2 changesets (bug 1651519) for WPT failures in webdriver/tests/switch_to_frame/switch.py. CLOSED TREE
...
Backed out changeset 7b973a0e7be9 (bug 1651519)
Backed out changeset 55e9184c5617 (bug 1651519)
2020-07-22 02:47:34 +03:00
Kris Maglione
e7d942c77f
Bug 1651519: Remove nsIDOMWindowUtils::currentInnerWindowID. r=nika,remote-protocol-reviewers,webcompat-reviewers,whimboo
...
It has some properties which make it footgunny, especially in the face of
Fission. Callers should use WindowGlobalChild.innerWindowId instead.
Differential Revision: https://phabricator.services.mozilla.com/D82801
2020-07-21 19:02:27 +00:00
Dorel Luca
d91c6dc40b
Backed out 2 changesets (bug 1651519) for wpt failures in webdriver/tests/switch_to_frame/switch.py. CLOSED TREE
...
Backed out changeset 52317abc5c68 (bug 1651519)
Backed out changeset 45448dca59a4 (bug 1651519)
2020-07-21 21:55:57 +03:00
Kris Maglione
9c2c147159
Bug 1651519: Remove nsIDOMWindowUtils::currentInnerWindowID. r=nika,remote-protocol-reviewers,webcompat-reviewers,whimboo
...
It has some properties which make it footgunny, especially in the face of
Fission. Callers should use WindowGlobalChild.innerWindowId instead.
Differential Revision: https://phabricator.services.mozilla.com/D82801
2020-07-21 16:59:28 +00:00
Marco Bonardo
9717edb569
Bug 1637745. r=Gijs,necko-reviewers,mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D80345
2020-07-17 13:45:58 +00:00
Sebastian Streich
f38f6f0fb1
Bug 1645204 - Fix WebRequest.jsm r=robwu,necko-reviewers,mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D80953
2020-07-16 14:58:03 +00:00
Simon Giesecke
cd8b8939b9
Bug 1648010 - Replace uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals. r=geckoview-reviewers,jgilbert,agi,hsivonen,froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D80860
2020-07-01 08:29:29 +00:00
Andrea Marchesini
4c6f89824d
Bug 1648141 - IPCBlobInputStream to RemoteLazyInputStream - part 8 - mozilla namespace, r=smaug,necko-reviewers,dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D80931
2020-06-29 13:40:27 +00:00
Andrea Marchesini
34cbc7e2ed
Bug 1648141 - IPCBlobInputStream to RemoteLazyInputStream - part 7 - RemoteLazyInputStreamUtils, r=smaug,necko-reviewers,dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D80930
2020-06-29 11:02:59 +00:00
Andrea Marchesini
5fc1253731
Bug 1648141 - IPCBlobInputStream to RemoteLazyInputStream - part 4 - IPDL actors, r=smaug,necko-reviewers,dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D80927
2020-06-29 11:03:02 +00:00
Razvan Maries
f7cb24cc7e
Backed out 8 changesets (bug 1648141) for build bustages on RemoteLazyInputStreamThread.cpp. CLOSED TREE
...
Backed out changeset e9b4ca0ee700 (bug 1648141 )
Backed out changeset b9bb847cee47 (bug 1648141 )
Backed out changeset 11dfce46ec14 (bug 1648141 )
Backed out changeset d824d2f67f27 (bug 1648141 )
Backed out changeset e5b8292e7095 (bug 1648141 )
Backed out changeset c1a3d5fa0c61 (bug 1648141 )
Backed out changeset 24fdb83db3cd (bug 1648141 )
Backed out changeset 749d894dde52 (bug 1648141 )
2020-06-29 13:59:16 +03:00
Andrea Marchesini
c71431ab1b
Bug 1648141 - IPCBlobInputStream to RemoteLazyInputStream - part 8 - mozilla namespace, r=smaug,necko-reviewers,dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D80931
2020-06-29 10:30:00 +00:00
Andrea Marchesini
16339b8334
Bug 1648141 - IPCBlobInputStream to RemoteLazyInputStream - part 7 - RemoteLazyInputStreamUtils, r=smaug,necko-reviewers,dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D80930
2020-06-29 10:29:05 +00:00
Andrea Marchesini
87e1daec9f
Bug 1648141 - IPCBlobInputStream to RemoteLazyInputStream - part 4 - IPDL actors, r=smaug,necko-reviewers,dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D80927
2020-06-29 10:27:20 +00:00
Jean-Yves Avenard
87438519f0
Bug 1637500 - P2. Rename methods as they are not always dealing with "threads". r=froydnj
...
Before P1, GetCurrentThreadSerialEventTarget would have always returned the same data as NS_GetCurrentThread, making the comment incorrect Now it will properly return the running TaskQueue if any.
This change of name more clearly exposes what they are doing, as we aren't always dealing with threads directly; but a nsISerialEventTarget
Differential Revision: https://phabricator.services.mozilla.com/D80354
2020-06-23 05:05:36 +00:00
Eden Chuang
0bd8d68bcb
Bug 1642149 - P1 Fix the web-platform-test html/cross-origin-embedder-policy/require-corp.https.html r=necko-reviewers,valentin
...
Current HttpBaseChannel::ProcessCrossOriginResourcePolicyHeader does not implement the [[ https://wicg.github.io/cross-origin-embedder-policy/#corp-check | corp-check ]] 3.2.1.2.
Differential Revision: https://phabricator.services.mozilla.com/D77594
2020-06-19 13:23:33 +00:00
Coroiu Cristina
541f448731
Backed out 2 changesets (bug 1642149) for perma wpt failures at /fetch/cross-origin-resource-policy/iframe-loads.html
...
Backed out changeset bc5cfb22c1d7 (bug 1642149)
Backed out changeset c7a1a36d6d91 (bug 1642149)
2020-06-19 07:41:47 +03:00
Eden Chuang
85349a441f
Bug 1642149 - P1 Fix the web-platform-test html/cross-origin-embedder-policy/require-corp.https.html r=necko-reviewers,valentin
...
Current HttpBaseChannel::ProcessCrossOriginResourcePolicyHeader does not implement the [[ https://wicg.github.io/cross-origin-embedder-policy/#corp-check | corp-check ]] 3.2.1.2.
Differential Revision: https://phabricator.services.mozilla.com/D77594
2020-06-18 10:01:15 +00:00
Valentin Gosu
4b2dbd9043
Bug 1645715 - Check if uri is null in ComputeCrossOriginOpenerPolicyMismatch r=michal,necko-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D79657
2020-06-17 13:59:53 +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
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
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
Valentin Gosu
90060db218
Bug 1629882 - COEP requires a secure context r=JuniorHsu,necko-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D71617
2020-05-06 11:43:24 +00:00
Simon Giesecke
1b626dfe50
Bug 1626570 - Improve handling of copying arrays in netwerk/protocol/. r=valentin,necko-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D73677
2020-05-06 11:50:57 +00:00
Matt Woodrow
20f213591b
Bug 1624318 - Serialize replacement config input stream as a blob. r=baku,necko-reviewers,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D71872
2020-04-27 04:49:00 +00:00
Brindusan Cristian
0190c3c822
Backed out changeset 5465225cb6fc (bug 1629882) for assertion failures at nsContentUtils.cpp. CLOSED TREE
2020-04-21 17:52:52 +03:00
Valentin Gosu
c0ca503b54
Bug 1629882 - COEP requires a secure context r=JuniorHsu,necko-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D71617
2020-04-20 19:21:45 +00:00
Andrea Marchesini
ebc905d3f2
Bug 1631523 - Remove unused params in nsICookieService methods - setCookieStringFromHttp without first URI, r=dimi
...
Depends on D71611
Differential Revision: https://phabricator.services.mozilla.com/D71612
2020-04-20 18:58:28 +00:00
Andrea Marchesini
4eec356d45
Bug 1631523 - Remove unused params in nsICookieService methods - getCookieStringFromHttp without first URI, r=dimi
...
Depends on D71609
Differential Revision: https://phabricator.services.mozilla.com/D71611
2020-04-20 18:57:04 +00:00
Andrea Marchesini
66bb8c57df
Bug 1631523 - Remove unused params in nsICookieService methods - setCookieStringFromHttp without serverTime, r=dimi
...
Differential Revision: https://phabricator.services.mozilla.com/D71609
2020-04-20 18:56:25 +00:00
Eden Chuang
1ddbdbc6f0
Bug 1575090 - add NS_GetCrossOriginEmbedderPolicyFromHeader r=JuniorHsu,necko-reviewers,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D46178
2020-04-20 17:21:23 +00:00
Eden Chuang
492deaebd5
Bug 1575090 - expose a response's COEP on nsIHttpChannelInternal r=JuniorHsu,necko-reviewers,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D46176
2020-04-20 17:25:59 +00:00
Shane Caraveo
43f7d20087
Bug 1530408 add api on channels to prevent using alt-data cache r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D68892
--HG--
extra : moz-landing-system : lando
2020-04-11 00:18:39 +00:00