Christoph Kerschbaumer
b633427366
Bug 965637: Move CSP from Principal into Client, part 1: backend changes. r=mccr8
...
Differential Revision: https://phabricator.services.mozilla.com/D27654
--HG--
extra : moz-landing-system : lando
2019-05-21 23:14:27 +00:00
Nika Layzell
30555bd898
Bug 1540731 - Part 3: Stop releasing actors within ActorDestroy, r=mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D29606
--HG--
extra : moz-landing-system : lando
2019-05-21 17:04:23 +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
Thomas Nguyen
23e61a2595
Bug 1532318 - part 1: use ReferrerInfo class in nsIHttpChannel instead of referrer and referrer policy r=valentin,ckerschb,michal
...
Differential Revision: https://phabricator.services.mozilla.com/D22783
--HG--
extra : moz-landing-system : lando
2019-05-02 12:34:52 +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
Dana Keeler
c90cfeaf74
bug 1441989 - remove ContentVerifier r=baku,mayhemer
...
ContentVerifier has been dead code since bug 1355166 (which, incidentally, means
it has no tests). Its presence is preventing improvements to
ContentSignatureVerifier (see e.g. bug 1534600), so this patch removes it.
As a result, the nsILoadInfo attributes verifySignedContent and enforceSRI are
also unused, so this patch removes those as well.
Differential Revision: https://phabricator.services.mozilla.com/D28885
--HG--
extra : moz-landing-system : lando
2019-04-26 22:21:36 +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
Honza Bambas
5f945421d4
Bug 1493599 - Expose reason of security blocking on nsILoadInfo and add new http observer notification for failed asyncOpens, r=Honza,dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D23150
--HG--
extra : moz-landing-system : lando
2019-04-26 10:59:41 +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
d6509bb237
Bug 1534395 - Rename TabChild to BrowserChild. r=nika
...
This commit renames TabChild to BrowserChild.
Differential Revision: https://phabricator.services.mozilla.com/D28135
--HG--
rename : dom/base/InProcessTabChildMessageManager.cpp => dom/base/InProcessBrowserChildMessageManager.cpp
rename : dom/base/InProcessTabChildMessageManager.h => dom/base/InProcessBrowserChildMessageManager.h
rename : dom/ipc/TabChild.cpp => dom/ipc/BrowserChild.cpp
rename : dom/ipc/TabChild.h => dom/ipc/BrowserChild.h
extra : rebase_source : e7fcfb845a971a2760e73d517e24da18ce2551b5
extra : histedit_source : d1991334ccb107fe56e478865f22fd97b041a317
2019-04-09 17:39:01 -05: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
45ba7eb235
Bug 1544799 - Make PSocketProcess manage PWebrtcProxyChannel r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D28038
--HG--
extra : moz-landing-system : lando
2019-04-23 13:10:56 +00:00
Kershaw Chang
5f5d6f4c69
Bug 1540289 - Don't init socket process bridge if the pref is disabled r=dragana,bwc
...
Differential Revision: https://phabricator.services.mozilla.com/D25571
--HG--
extra : moz-landing-system : lando
2019-04-23 13:06:05 +00:00
Ehsan Akhgari
941a844392
Bug 1544131 - Part 1: Ensure that the referrer policy provided by JS/DOM will override the default referrer policy applied to third-party trackers; r=michal
...
Differential Revision: https://phabricator.services.mozilla.com/D27393
--HG--
extra : moz-landing-system : lando
2019-04-15 13:05:10 +00:00
Valentin Gosu
1a2cdd14be
Bug 1530303 - Remove nsIHttpChannelInternal.setTopWindowPrincipal r=nika
...
Since it wasn't reliable, we remove the topWindowPrincipal in favor of WindowGlobalParent->DocumentPrincipal()
Differential Revision: https://phabricator.services.mozilla.com/D24897
--HG--
extra : moz-landing-system : lando
2019-04-09 20:10:51 +00:00
Valentin Gosu
06334e695a
Bug 1530303 - Put CrossOriginOpenerPolicy in BrowsingContext r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D23935
--HG--
extra : moz-landing-system : lando
2019-04-09 20:10:13 +00:00
Michael Froman
ac99c1dda6
Bug 1539029 - pt 3 - de-duplicate building cmdline for shared prefs class. r=kmag
...
Cmd-line params for the SharedPreferenceSerializer was
duplicated in ContentParent and
SocketProcessHost. Since we'll have a 3rd process (RDD)
using this same code, let's move the repsonsiblity for knowing how to add
these cmdline params into SharedPreferenceSerializer.
Depends on D26567
Differential Revision: https://phabricator.services.mozilla.com/D26568
--HG--
extra : moz-landing-system : lando
2019-04-09 21:07:47 +00: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
aad50392d8
Bug 1534364
- replace OptionalIPCServiceWorkerDescriptor with IPCServiceWorkerDescriptor? in IPDL: r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D23013
--HG--
extra : moz-landing-system : lando
2019-03-15 12:55:10 +00:00
Andreea Pavel
af20d1c10b
Backed out changeset a5beba8cc190 (bug 1534364
) for assertion failures
2019-03-14 23:14:31 +02:00
Alex Gaynor
2b1e080e64
Bug 1534364
- replace OptionalIPCServiceWorkerDescriptor with IPCServiceWorkerDescriptor? in IPDL: r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D23013
--HG--
extra : moz-landing-system : lando
2019-03-14 19:40:20 +00:00
Alex Gaynor
a5de0693af
Bug 1535046 - Part 4 - remove unused 'using' statements from IDPL; r=valentin
...
Depends on D23346
Differential Revision: https://phabricator.services.mozilla.com/D23347
--HG--
extra : moz-landing-system : lando
2019-03-13 18:50:26 +00:00
Alex Gaynor
c3cb34c967
Bug 1535046 - Part 2 - use native Maybe syntax in place of OptionalCorsPreflightArgs in IDPL; r=valentin
...
Depends on D23344
Differential Revision: https://phabricator.services.mozilla.com/D23345
--HG--
extra : moz-landing-system : lando
2019-03-13 18:48:06 +00:00
Alex Gaynor
0a7f3758a4
Bug 1535046 - Part 1 - use native Maybe syntax in place of OptionalHttpResponseHead in IDPL; r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D23344
--HG--
extra : moz-landing-system : lando
2019-03-13 18:46:59 +00:00
Andrea Marchesini
43beb5b35b
Bug 1525245 - Stabilize cookiePolicy/cookiePermission for live documents - part 1 - information stored into loadInfo, r=Ehsan,ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D18949
--HG--
extra : moz-landing-system : lando
2019-03-08 09:00:06 +00:00
Ciure Andrei
712dd2bb8c
Backed out 16 changesets (bug 1525245) for perma failing test_document_cookie.html CLOSED TREE
...
Backed out changeset 3fd27215698f (bug 1525245)
Backed out changeset d9a9e8e77873 (bug 1525245)
Backed out changeset 0e6f7be92e3f (bug 1525245)
Backed out changeset 6790802e2fa5 (bug 1525245)
Backed out changeset a5a9e01116ed (bug 1525245)
Backed out changeset 66e19a0c38dd (bug 1525245)
Backed out changeset fb90d51ba853 (bug 1525245)
Backed out changeset 4772db3625b3 (bug 1525245)
Backed out changeset 9affaf0cb998 (bug 1525245)
Backed out changeset a91b7ebe8bdd (bug 1525245)
Backed out changeset c2a13a7480e1 (bug 1525245)
Backed out changeset abe4482fa137 (bug 1525245)
Backed out changeset b3920c0bcf84 (bug 1525245)
Backed out changeset 0821b81f2724 (bug 1525245)
Backed out changeset 70bed2ad7899 (bug 1525245)
Backed out changeset 5f72ba232cc8 (bug 1525245)
2019-03-07 17:54:18 +02:00
Andrea Marchesini
f44f894eb1
Bug 1525245 - Stabilize cookiePolicy/cookiePermission for live documents - part 1 - information stored into loadInfo, r=Ehsan,ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D18949
--HG--
extra : moz-landing-system : lando
2019-03-07 10:14:36 +00:00
Alex Gaynor
9a784d8ef8
Bug 1533066 - replace OptionalIPCClientInfo with IPCClientInfo? in IPDL; r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D22332
--HG--
extra : moz-landing-system : lando
2019-03-06 17:57:04 +00:00
Dorel Luca
ac34e1d973
Backed out 16 changesets (bug 1525245) for Android failures. CLOSED TREE
...
Backed out changeset 9f8a1b410320 (bug 1525245)
Backed out changeset 0ef284a9a1d5 (bug 1525245)
Backed out changeset 835e5f642a03 (bug 1525245)
Backed out changeset 362f5a8d033c (bug 1525245)
Backed out changeset 9da3ab33cf67 (bug 1525245)
Backed out changeset 6aacd2d6e835 (bug 1525245)
Backed out changeset 8ff9e8f45e02 (bug 1525245)
Backed out changeset 2020227181cc (bug 1525245)
Backed out changeset fc3c64c330b9 (bug 1525245)
Backed out changeset 2762bf88e050 (bug 1525245)
Backed out changeset ffc10fdc50a6 (bug 1525245)
Backed out changeset bb6ade1207d7 (bug 1525245)
Backed out changeset 1875eb5085e4 (bug 1525245)
Backed out changeset 7e4f67a6d6f1 (bug 1525245)
Backed out changeset e671fc9581eb (bug 1525245)
Backed out changeset b89f5def8d0d (bug 1525245)
2019-03-06 21:07:49 +02:00
Andrea Marchesini
2fb61cb48b
Bug 1525245 - Stabilize cookiePolicy/cookiePermission for live documents - part 1 - information stored into loadInfo, r=Ehsan,ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D18949
--HG--
extra : moz-landing-system : lando
2019-03-06 17:00:39 +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
Gurzau Raul
6b94d177d1
Merge mozilla-central to inbound. a=merge CLOSED TREE
2019-03-01 09:28:28 +02:00
Alex Gaynor
f789c68941
Bug 1531476 - replace MaybeFileDesc with FileDescriptor? in IPDL; r=mccr8
...
Also contains a small amount of unrelated devirtualization of IPC methods.
Differential Revision: https://phabricator.services.mozilla.com/D21592
--HG--
extra : moz-landing-system : lando
2019-02-28 21:20:40 +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
Ciure Andrei
8d2894e70d
Backed out 12 changesets (bug 1525245) for failing worker-interception.https.html CLOSED TREE
...
Backed out changeset 009e7457b990 (bug 1525245)
Backed out changeset efb2e8fca464 (bug 1525245)
Backed out changeset 6a8401de3237 (bug 1525245)
Backed out changeset 38e802661b14 (bug 1525245)
Backed out changeset d02e3f436390 (bug 1525245)
Backed out changeset 10afd61b7582 (bug 1525245)
Backed out changeset 6b92fb3666d1 (bug 1525245)
Backed out changeset 476af2d7efe5 (bug 1525245)
Backed out changeset 43ad14e323a1 (bug 1525245)
Backed out changeset 94295e3fb027 (bug 1525245)
Backed out changeset d01ead2270e9 (bug 1525245)
Backed out changeset 6bdda622a04a (bug 1525245)
2019-02-28 00:55:39 +02:00
Andrea Marchesini
dec5a16bcd
Bug 1525245 - Stabilize cookiePolicy/cookiePermission for live documents - part 1 - information stored into loadInfo, r=Ehsan,ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D18949
--HG--
extra : moz-landing-system : lando
2019-02-27 19:55:11 +00:00
Ehsan Akhgari
45c7ece733
Bug 1530076 - Part 1: Add support for modifying the default referrer policy that is applied to third-party trackers when the cookie policy is set to reject third-party trackers; r=valentin
...
This is more complex than merely modifying NS_GetDefaultReferrerPolicy()
because at the time most (all?) callers call nsIHttpChannel::SetReferrer/
nsIHttpChannel::SetReferrerWithPolicy before the channel is opened,
which means we won't know whether the channel is a tracking resource or
not yet. So we would need to re-evaluate this decision after that
information becomes available. For that, we need to remember the
original URI argument passed to these functions since that information
is currently destroyed and isn't persisted anywhere in the system.
Differential Revision: https://phabricator.services.mozilla.com/D20901
--HG--
extra : moz-landing-system : lando
2019-02-26 21:30:27 +00:00
Gurzau Raul
a12ddd1865
Backed out 11 changesets (bug 1525245) for failing at test_cookies_thirdparty.js on a CLOSED TREE.
...
Backed out changeset 1dcb31a1d5be (bug 1525245)
Backed out changeset 4cde0e38ada8 (bug 1525245)
Backed out changeset d3e99dd3fc32 (bug 1525245)
Backed out changeset a565014fdd8d (bug 1525245)
Backed out changeset 20f336320ce1 (bug 1525245)
Backed out changeset d8ee13b6a17d (bug 1525245)
Backed out changeset b79ec111bf41 (bug 1525245)
Backed out changeset 858d08371107 (bug 1525245)
Backed out changeset 1c359cdcf69f (bug 1525245)
Backed out changeset d65fb2d2a243 (bug 1525245)
Backed out changeset 28147c8790d3 (bug 1525245)
2019-02-26 22:09:25 +02:00
Andrea Marchesini
309c007d8d
Bug 1525245 - Stabilize cookiePolicy/cookiePermission for live documents - part 1 - information stored into loadInfo, r=Ehsan,ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D18949
--HG--
extra : moz-landing-system : lando
2019-02-26 17:34:36 +00:00
Ryan Hunt
3c3b5fab3d
Bug 1523969 part 19 - Move method definition inline comments to new line in 'netwerk/'. r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D21120
--HG--
extra : rebase_source : e16845aa3669ed7b5bf9da57cdd08636e5b4500c
2019-02-25 16:11:11 -06:00
Byron Campen [:bwc]
25ad4a9108
Bug 1521879 - Part 1.1: Compensate for changes to how IPC headers are generated in the last rebase. r=mjf
...
Differential Revision: https://phabricator.services.mozilla.com/D19975
--HG--
rename : media/webrtc/signaling/src/peerconnection/MediaTransportHandlerParent.h => dom/media/webrtc/MediaTransportParent.h
rename : media/webrtc/signaling/src/peerconnection/MediaTransportHandlerParent.cpp => media/webrtc/signaling/src/peerconnection/MediaTransportParent.cpp
extra : moz-landing-system : lando
2019-02-25 21:50:58 +00:00
Byron Campen [:bwc]
8b6cc6a51f
Bug 1521879 - Part 1: IPC-based MediaTransport implementation r=mjf
...
Differential Revision: https://phabricator.services.mozilla.com/D17273
--HG--
extra : moz-landing-system : lando
2019-02-25 21:50:42 +00:00