Nika Layzell
667f8e129d
Bug 1566643 - Part 3: Remove CPM::GetTabContextByContentProcess, r=kmag
...
Differential Revision: https://phabricator.services.mozilla.com/D39258
--HG--
extra : moz-landing-system : lando
2019-08-08 16:07:30 +00:00
Andrea Marchesini
cef26c06c6
Bug 1567892 - PeerConnectionMedia should use nsIProtocolProxyService on the parent process - PProxyConfigLookup IPC protocol, r=bwc,kershaw,jld
...
Differential Revision: https://phabricator.services.mozilla.com/D39010
--HG--
extra : moz-landing-system : lando
2019-07-29 12:27:59 +00:00
Andreea Pavel
14071390d5
Backed out 2 changesets (bug 1567892) for build bustages on a CLOSED TREE
...
Backed out changeset edcdfaa8a2b1 (bug 1567892)
Backed out changeset 3aef1ee02e9b (bug 1567892)
2019-07-25 08:26:29 +03:00
Andrea Marchesini
00f3ae963f
Bug 1567892 - PeerConnectionMedia should use nsIProtocolProxyService on the parent process - part 2 - PProxyConfigLookup IPC protocol, r=bwc,kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D39010
--HG--
extra : moz-landing-system : lando
2019-07-25 04:51:00 +00:00
Bogdan Tara
e50924670e
Backed out 2 changesets (bug 1567892) for build bustages complaining about PNecko.ipdl CLOSED TREE
...
Backed out changeset 18a1d7fe61e0 (bug 1567892)
Backed out changeset b1b922fe6c11 (bug 1567892)
2019-07-24 18:59:39 +03:00
Andrea Marchesini
9876c2f82a
Bug 1567892 - PeerConnectionMedia should use nsIProtocolProxyService on the parent process - part 2 - PProxyConfigLookup IPC protocol, r=bwc,kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D39010
--HG--
extra : moz-landing-system : lando
2019-07-24 15:28:56 +00:00
Andrea Marchesini
f8565bf748
Bug 1320404 - Remove appId from origin attributes - part 1 - OriginAttributes and nsIPrincipal, r=Ehsan,flod
...
Differential Revision: https://phabricator.services.mozilla.com/D29353
--HG--
extra : moz-landing-system : lando
2019-05-03 17:13:17 +00:00
Bogdan Tara
386d23bfe7
Backed out 4 changesets (bug 1320404) for test_permmanager_load_invalid_entries.js failures
...
Backed out changeset 7c2f4e64d38e (bug 1320404)
Backed out changeset a7e7c0251179 (bug 1320404)
Backed out changeset dd741b25a244 (bug 1320404)
Backed out changeset de9073c57d20 (bug 1320404)
2019-05-03 06:12:25 +03:00
Andrea Marchesini
138cee6dea
Bug 1320404 - Remove appId from origin attributes - part 1 - OriginAttributes and nsIPrincipal, r=Ehsan,flod
...
Differential Revision: https://phabricator.services.mozilla.com/D29353
--HG--
extra : moz-landing-system : lando
2019-05-02 17:24:51 +00:00
Cosmin Sabou
a884fb99d8
Backed out 4 changesets (bug 1320404) for xperf failures on permissions.sqlite-journal.
...
Backed out changeset fbacf18b6532 (bug 1320404)
Backed out changeset fed7c475d75c (bug 1320404)
Backed out changeset 557b586f774a (bug 1320404)
Backed out changeset 5a20b5f43280 (bug 1320404)
2019-05-02 04:51:18 +03:00
Andrea Marchesini
7e61125d8f
Bug 1320404 - Remove appId from origin attributes - part 1 - OriginAttributes and nsIPrincipal, r=Ehsan,flod
...
Differential Revision: https://phabricator.services.mozilla.com/D29353
--HG--
extra : moz-landing-system : lando
2019-05-01 23:21:45 +00:00
Kershaw Chang
351a470dad
Bug 1544526 - Copy the callback instead of moving r=mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D27894
--HG--
extra : moz-landing-system : lando
2019-04-26 18:33:28 +00:00
Byron Campen [:bwc]
fd880e95f8
Bug 1545827: Use TabId instead of PBrowserOrId, use LoadInfoArgs to avoid using the system principal on the socket process, and use PSocketProcess for the WebrtcProxyChannel when on the socket process. r=kershaw,mjf
...
Differential Revision: https://phabricator.services.mozilla.com/D28239
--HG--
extra : moz-landing-system : lando
2019-04-26 14:46:26 +00:00
Sebastian Streich
8ac88db494
Bug 1444503 - Remove the IPC::Principal r=ckerschb,nika
...
***
Removed IPC References in PCContent
***
Removed IPC References on nsContentPermissionHelper
***
Remove IPC Principal from PBrowser
***
Remove IPCPrincipal from the PaymentRequest
***
Remove IPCPrincipal from the PPresentation
***
Remove IPC Principal from PNecko
Differential Revision: https://phabricator.services.mozilla.com/D28650
--HG--
extra : moz-landing-system : lando
2019-04-25 14:18:11 +00:00
Ryan Hunt
0eeced87be
Bug 1534395 - Rename TabParent to BrowserParent. r=nika
...
This commit renames TabParent to BrowserParent.
Differential Revision: https://phabricator.services.mozilla.com/D28133
--HG--
rename : dom/ipc/TabParent.cpp => dom/ipc/BrowserParent.cpp
rename : dom/ipc/TabParent.h => dom/ipc/BrowserParent.h
extra : rebase_source : d2706b9f42177d8de16068b7b1d088a44b8720a4
extra : histedit_source : a617ddac45c58050ef799116a67d2d983f2a8f6d%2C1d1dabd8761a32d548a6fbf1027be960698f6a5e
2019-04-09 16:38:15 -05:00
Kershaw Chang
111ff1b2e8
Bug 1521729 - P2: Fix failure tests r=mayhemer
...
Due to the p1 patch, the first time we get the result back from NS_ShouldSecureUpgrade is always asynchronously.
This means that the first http request could be completed slower than the http requests opened after the first one. There are some tests affected by this change, since these tests assume that http requests should be completed in the same order as these requests were created.
This patch fixes the tests by introducing a new method in nsIHttpProtocolHandler. This method returns a promise and makes sure the HSTS data is ready to read synchronously when the promise is resolved.
Once the HSTS is ready to read, the order of open/close channels will be the same.
Differential Revision: https://phabricator.services.mozilla.com/D21683
--HG--
extra : moz-landing-system : lando
2019-03-18 14:50:56 +00:00
Andrea Marchesini
42688a705f
Bug 1535525 - Rename TrackingDummyChannel to ClassifierDummyChannel, r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D23616
--HG--
rename : netwerk/protocol/http/TrackingDummyChannel.cpp => netwerk/protocol/http/ClassifierDummyChannel.cpp
rename : netwerk/protocol/http/TrackingDummyChannel.h => netwerk/protocol/http/ClassifierDummyChannel.h
rename : netwerk/protocol/http/TrackingDummyChannelChild.cpp => netwerk/protocol/http/ClassifierDummyChannelChild.cpp
rename : netwerk/protocol/http/TrackingDummyChannelChild.h => netwerk/protocol/http/ClassifierDummyChannelChild.h
rename : netwerk/protocol/http/TrackingDummyChannelParent.cpp => netwerk/protocol/http/ClassifierDummyChannelParent.cpp
rename : netwerk/protocol/http/TrackingDummyChannelParent.h => netwerk/protocol/http/ClassifierDummyChannelParent.h
rename : netwerk/protocol/http/PTrackingDummyChannel.ipdl => netwerk/protocol/http/PClassifierDummyChannel.ipdl
extra : moz-landing-system : lando
2019-03-15 18:55:10 +00:00
Alex Gaynor
e5279ff3f7
Bug 1532727 - replace OptionalURIParams with URIParams? in IPDL; r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D22138
--HG--
extra : moz-landing-system : lando
2019-03-06 14:05:50 +00:00
Alex Gaynor
d3a1bdd83c
Bug 1532368 - replace OptionalPrincipalInfo with PrincipalInfo? in IPDL; r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D21972
--HG--
extra : moz-landing-system : lando
2019-03-05 14:41:42 +00:00
Luke Wagner
80a840b62f
Bug 1487113 - Use CloseWithStatus in ScriptLoader.cpp to indicate failure (r=baku)
2019-03-04 19:35:41 -06:00
Alex Gaynor
dccb3bee8b
Bug 1531827
- replace OptionalLoadInfoArgs with LoadInfoArgs? in IPDL; r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D21722
--HG--
extra : moz-landing-system : lando
2019-03-04 06:30:00 +00:00
Boris Zbarsky
9c5da5f234
Bug 1489308 part 9. Remove now-unused wyciwyg bits. r=mccr8
...
Differential Revision: https://phabricator.services.mozilla.com/D17327
--HG--
rename : dom/html/test/browser_refresh_wyciwyg_url.js => dom/html/test/browser_refresh_after_document_write.js
rename : dom/html/test/file_refresh_wyciwyg_url.html => dom/html/test/file_refresh_after_document_write.html
extra : moz-landing-system : lando
2019-02-28 01:09:48 +00:00
Christoph Kerschbaumer
c8bb3d7749
Bug 1529869: Remove the 2 from speculate speculative(Anonymous)Connect2 within nsISpeculativeConnect.idl. r=valentin
2019-02-24 20:26:56 +01:00
Chris Peterson
8e1848413c
Bug 1507049 - Rename MOZ_CRASH_UNSAFE_OOL MOZ_CRASH_UNSAFE. r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D18515
--HG--
extra : rebase_source : e8ef6eec0f7542bb381e2da81ae6431b2828aabc
extra : source : a8c262b4a2579e6def1b3a5a8220f5197b443e34
2019-02-03 00:09:37 -08:00
Ehsan Akhgari
e5e885ae31
Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre
...
# ignore-this-changeset
--HG--
extra : amend_source : 7221c8d15a765df71171099468e7c7faa648f37c
extra : histedit_source : a0cce6015636202bff09e35a13f72e03257a7695
2019-01-18 10:16:18 +01:00
Kershaw Chang
f13da4ca28
Bug 1513057 - P5: Create IPC between content process and socket process r=dragana,mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D14257
--HG--
extra : moz-landing-system : lando
2019-01-11 20:55:07 +00:00
Andreea Pavel
21ad33d612
Backed out 10 changesets (bug 1513057) for build bustages on a CLOSED TREE
...
Backed out changeset 56329b5f1844 (bug 1513057)
Backed out changeset 46411c5de3da (bug 1513057)
Backed out changeset de65c456aad6 (bug 1513057)
Backed out changeset f648b5f1a7c2 (bug 1513057)
Backed out changeset 460bbf0849e1 (bug 1513057)
Backed out changeset 86032a14d26f (bug 1513057)
Backed out changeset a81f83df08d5 (bug 1513057)
Backed out changeset edbda5ee5fd5 (bug 1513057)
Backed out changeset c900ac2519f5 (bug 1513057)
Backed out changeset 4e94bbb90315 (bug 1513057)
2019-01-11 17:02:44 +02:00
Kershaw Chang
5218bf3692
Bug 1513057 - P5: Create IPC between content process and socket process r=dragana,mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D14257
--HG--
extra : moz-landing-system : lando
2019-01-11 13:29:33 +00:00
Sylvestre Ledru
265e672179
Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
...
# ignore-this-changeset
--HG--
extra : amend_source : 4d301d3b0b8711c4692392aa76088ba7fd7d1022
2018-11-30 11:46:48 +01:00
Valentin Gosu
8e3e7b2a3e
Bug 1510715 - Backed out changeset d15f0ac561d9 (bug 1260527) a=backout
2018-11-28 21:40:35 +01:00
Valentin Gosu
a6efc6d0af
Bug 1260527 - Change HttpChannelChild to open IPDL earlier than AsyncOpen r=kershaw,dragana
...
Since we need the loadInfo to set up the IPDL connection, we move the logic to
do so from HttpChannelChild::AsyncOpen to HttpChannelChild::SetLoadInfo
via InitIPCChannel.
It would have been nicer to do so in HttpChannelChild::Init, but
I ran into issues with view-source channels, which required an ugly hack.
Also note that RemoteChannelExists() preserves the existing contract - it is
true between asyncOpen and onStopRequest - but the name is slightly off, as
the channel has already been open by the time we call asyncOpen. We will fix
this in a follow-up.
Differential Revision: https://phabricator.services.mozilla.com/D12419
--HG--
extra : moz-landing-system : lando
2018-11-26 17:38:42 +00:00
Paul Vitale
09f4c06235
Bug 1203503 - part 2. replace proxy tunnel with new ipc-based tunnel r+bwc, r+mayhemer
...
This replaces the tunnel using a new nr_socket implementation. Proxy detection
code is still done in the peer connction. However, the result is only used to
detect a proxy. The result is unused. Address resolution is done by necko code
in the parent process. The new socket wraps a WebrtcProxyChannel which uses
necko to handle proxy negotiation. This has a happy side effect of enabling all
authentication modes that necko already supports for http proxies.
This adds a protocol for Necko to manage, WebrtcProxyChannel. This new protocol
serves as a pipe for a CONNECT tunnel. It is only used in WebRtc and not built
in no WebRtc builds.
--HG--
extra : rebase_source : a951841f95eaaa0562886cf76b405b01f1adf70e
extra : intermediate-source : 5c3da21957fc80b07188bc8a405437b858027a22
extra : source : 594a32883463ab051677ba06e22fa6d062b4b4a9
2018-06-05 12:10:16 -05:00
Andrea Marchesini
c78617e1a8
Bug 1499995 - part 2 - TrackingDummyChannel must expose nsIHttpChannelInternal, r=ehsan, r=mayhemer
2018-10-25 10:44:12 +02:00
Ehsan Akhgari
e6c5cd6e52
Bug 1501404 - Part 1: Remove the XPCOM registration for RequestContextService r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D9570
--HG--
extra : moz-landing-system : lando
2018-10-23 20:07:17 +00:00
Andrea Marchesini
dc8ad03720
Bug 1495285 - Introduce TrackingDummyChannel to annotate channels before being intercepted by ServiceWorkers, r=francois, r=mayhemer, f=asuth
2018-10-12 11:40:36 +02:00
Dragana Damjanovic
9cadc84486
Bug 1473736 - Implement necko part of ESNI r=mak,kmag,mcmanus
...
--HG--
extra : rebase_source : be79870960953ef9535ccb6a440515ec4a8232d5
extra : histedit_source : 8096ab2eaf246cbbeb97bace0531b86b8c69ff66
2018-09-22 23:54:11 +03:00
Gurzau Raul
07d30b811f
Backed out changeset dc225279994a (bug 1473736) for web platform leaks
2018-09-21 04:30:10 +03:00
Dragana Damjanovic
70e0646d75
Bug 1473736 - Implement necko part of ESNI r=mak,kmag,mcmanus
...
Implement necko part of ESNI
Differential Revision: https://phabricator.services.mozilla.com/D2716
--HG--
extra : moz-landing-system : lando
2018-09-20 20:53:28 +00:00
Noemi Erli
efdd6a208a
Backed out changeset 7aa742bff8fb (bug 1473736) for xpcshell failures and bc failures in browser_urlbarSearchSingleWordNotification.js
2018-09-18 22:07:58 +03:00
Dragana Damjanovic
f000a5b4b0
Bug 1473736 - Implement necko part of ESNI r=mcmanus
...
Implement necko part of ESNI
Differential Revision: https://phabricator.services.mozilla.com/D2716
--HG--
extra : moz-landing-system : lando
2018-09-17 23:08:14 +00:00
Andrea Marchesini
4e97b69ebf
Bug 1476306 - Moving NullPrincipal/ContentPrincipal/SystemPrincipal under mozilla namespace - part 3 - ContentPrincipal, r=ckerschb
2018-07-17 21:38:48 +02:00
Patrick McManus
f18aa94399
Bug 1462357 - remove the channel and socket interface id r=bagder,baku
...
the id was a b2g feature only settable via chrome privd xhr and is no
longer active in the code base
MozReview-Commit-ID: 84GPNvhvjNb
--HG--
extra : rebase_source : ab5c2229b98e1407b8b74ef2ee00dcfea45e046a
2018-05-16 16:05:03 -04:00
Andi-Bogdan Postelnicu
3f2298c2f6
Bug 1457411 - Update netwerk module to make use of newer methods introduced with c++11 and c++14. r=valentin
...
MozReview-Commit-ID: 666LNaHyiuQ
--HG--
extra : rebase_source : f3a24e0342d8dcdf9020dd473bc6b1045cbc533b
2018-04-30 19:46:04 +03:00
Michal Novotny
ee8f43208a
Bug 1448476 - Cache entry corruption after writing the alternate data. r=honzab
...
When writing to alt-data output stream fails for whatever reason, we now try to
truncate alternative data and keep the original data instead of dooming the
whole entry. The patch also changes how is the predicted size passed to the
cache. Instead of a dedicated method it's now an argument of openOutputStream
and openAlternativeOutputStream methods which fail in case the entry would
exceed the allowed limit.
2018-04-25 07:01:00 +03:00
Nika Layzell
7f7a76ec67
Bug 1440771 - Part 4: Use nsCOMPtr<nsIInputStream> directly in PNecko, r=baku
...
MozReview-Commit-ID: COnMiadbCjn
2018-03-05 16:00:06 -05:00
Ben Kelly
e71d8db226
Bug 1430139 P3 Remove workers namespace from service worker code. r=asuth
2018-01-26 13:08:59 -08:00
Chris Peterson
45aa2a8e8e
Bug 870698 - Part 2: Replace Append("") with AppendLiteral(""). r=erahm
...
MozReview-Commit-ID: CrkIP4iHP1U
--HG--
extra : rebase_source : 5dc4e91a3f1860773c199f1abf3f66479218834a
extra : intermediate-source : ba51cc79847f2b43ba616f4a5d2bbc6958ca9f6d
extra : source : 1fda2fa990cc918c748ffa14fcc5dbe13fe3bdc3
2017-09-03 22:14:11 -07:00
Honza Bambas
4263c50db2
Bug 1358060 - Allow postponing of unimportant resources opening during page load, class-of-service Tail flag. r=dragana
...
--HG--
extra : rebase_source : 1ab691fe066e641c948aa5f42827305411579708
2017-08-30 09:32:00 -04:00
Nicholas Hurley
d4f64ba24e
Bug 1391467 - Remove --enable-necko-protocols. r=gps,valentin
...
This patch removes the ability to select which protocols you want
included in necko, a wholly untested configuration that is broken in
practice. We have no need of this kind of configurability in necko.
In addition, this removes the final vestiges of rtsp support, which was
originally removed in bug 1295885 but still had some stuff hanging
around behind some ifdefs (that were never true).
MozReview-Commit-ID: KOEaDmit2IL
--HG--
extra : rebase_source : f6c2fdb972aaba46e922cda801252dc953550b94
2017-08-17 17:30:57 -07:00
Sylvestre Ledru
7ed5c41a4c
Bug 1388994 - GetRequestingPrincipal: Pass parameter by ref instead of value r=dragana
...
MozReview-Commit-ID: 5iD8HF0PQfs
--HG--
extra : rebase_source : 516bbfa30168779200fdca09033a5d1b3f1d884b
2017-08-10 08:47:26 +02:00