ssengupta
cf852bbfb9
Bug 1635399 - Function PrincipalInfoToPrincipal now returns Result<nsCOMPtr<nsIPrincipal>, nsresult> r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D73868
2020-05-12 19:02:05 +00:00
Cameron McCormack
29c6b3234c
Bug 1629351 - Fix typo in name of IsPincipalInfoPrivate. r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D70642
--HG--
extra : moz-landing-system : lando
2020-04-12 13:19:57 +00:00
Matt Woodrow
b9438341f0
Bug 1617789 - Set content process Document pointer without relying on LoadInfo. r=nika
...
We currently extract Document pointers from the old LoadInfo, and attach them to the new one, such that they aren't lost during serialization.
This moves us to setting them more directly from their original source, since the old LoadInfo is no longer reliable (and was only configured fully in the parent process).
Differential Revision: https://phabricator.services.mozilla.com/D64249
--HG--
extra : moz-landing-system : lando
2020-03-01 04:16:22 +00:00
Dorel Luca
109ac83385
Backed out 7 changesets (bug 1617500, bug 1617789, bug 1617434) for build bustage in dom/clients/manager/ClientChannelHelper.cpp
...
Backed out changeset 1a62904bfcb7 (bug 1617500)
Backed out changeset 592a5ddf6acf (bug 1617789)
Backed out changeset 995edb2e7f98 (bug 1617789)
Backed out changeset f3518664d654 (bug 1617789)
Backed out changeset 98ea95f7fe87 (bug 1617789)
Backed out changeset c5f1f70efb88 (bug 1617434)
Backed out changeset 1563faa24d15 (bug 1617434)
2020-03-01 05:57:57 +02:00
Matt Woodrow
bfc858f40f
Bug 1617789 - Set content process Document pointer without relying on LoadInfo. r=nika
...
We currently extract Document pointers from the old LoadInfo, and attach them to the new one, such that they aren't lost during serialization.
This moves us to setting them more directly from their original source, since the old LoadInfo is no longer reliable (and was only configured fully in the parent process).
Differential Revision: https://phabricator.services.mozilla.com/D64249
--HG--
extra : moz-landing-system : lando
2020-03-01 01:27:34 +00:00
Matt Woodrow
2d5171571e
Bug 1583700 - Pass the loading context of the cspToInherit when deserializing LoadInfo, since this isn't necessarily the same as the loading context of the LoadInfo. r=ckerschb
...
Depends on D47358
Differential Revision: https://phabricator.services.mozilla.com/D47406
--HG--
extra : moz-landing-system : lando
2019-10-22 01:03:10 +00:00
Mihai Alexandru Michis
f3ba6ba32f
Backed out 7 changesets (bug 1583700) for causing raptor dom failures.
...
Backed out changeset 48ceb0dd5d09 (bug 1583700)
Backed out changeset c662a369062f (bug 1583700)
Backed out changeset dc9e317da307 (bug 1583700)
Backed out changeset 41e07201a158 (bug 1583700)
Backed out changeset 015ec42c311a (bug 1583700)
Backed out changeset cfb571dd120a (bug 1583700)
Backed out changeset b9d06db6d43c (bug 1583700)
2019-10-22 03:57:07 +03:00
Matt Woodrow
a4046507c0
Bug 1583700 - Pass the loading context of the cspToInherit when deserializing LoadInfo, since this isn't necessarily the same as the loading context of the LoadInfo. r=ckerschb
...
Depends on D47358
Differential Revision: https://phabricator.services.mozilla.com/D47406
--HG--
extra : moz-landing-system : lando
2019-10-21 02:03:24 +00:00
Matt Woodrow
a209298de2
Bug 1556489 - P7. Make LoadInfoArgsToLoadInfo works with LoadInfo class. r=mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D40964
2019-09-03 10:19:11 +10:00
Jean-Yves Avenard
e76aa88e15
Bug 1556489 - P4. Add ability to set Document object on LoadInfo. r=mayhemer,ckerschb
...
This will be required to access the Performance object from future DocumentChannel.
Differential Revision: https://phabricator.services.mozilla.com/D41133
2019-09-03 10:18:58 +10:00
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
Andrea Marchesini
ac66f432bc
Bug 1534538 - Principal serialization should not serialize base domain if not needed, r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D24710
--HG--
extra : moz-landing-system : lando
2019-03-29 19:20:52 +00: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
Dave Townsend
4e82401311
Bug 1515863, r=valentin,ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D15728
--HG--
extra : rebase_source : 2e1c705dd97d458080387896fd7a1f0e88523e06
2018-04-11 12:52:47 -07: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
Ben Kelly
85490e45e8
Bug 1441932 P3 Forward reserved client, initial client, and controller on Redirect2Verify message back to parent. r=mayhemer
2018-06-04 09:26:51 -07:00
Ben Kelly
5697bd9f89
Bug 1441932 P1 Add the ServiceWorker controller to ParentLoadInfoForwarderArgs. r=mayhemer
2018-06-04 09:26:50 -07:00
Andrea Marchesini
1273dc5391
Bug 1446933 - Remove 'using namespace mozilla::net' from BackgroundUtils.h, r=qdot
2018-05-30 21:21:17 +02:00
Honza Bambas
8aaa7351b0
Bug 1438935 - Serialize selected LoadInfo properties from HTTPChannelParent to HTTPChannelChild through OnStartRequest and Redirect1Begin, r=asuth
...
--HG--
extra : rebase_source : 6d93112fbd0bcd9562094a05c70cb02e0c3bb4b9
2018-03-06 08:07:00 +02:00
Thomas Nguyen
4fcb94e968
Bug 1351146 - P1 - Add more information to redirect chains. r=dragana
...
In order to provide more details context of how client arrived at the unsafe
page, particularly in redirect case, we may have to add more information to
redirect chains including:
- referrer (if any)
- remote address.
- URL
We may want to use an idl interface instead of nsIPrincipal to store these
information
MozReview-Commit-ID: 3Uh4r06w60C
2017-05-25 19:42:00 +02:00
Andrea Marchesini
98f845f364
Bug 1320170 - dom/media should use nsIPrincipal (and PrincipalInfo) instead origin as string, r=rjesup, r=ehsan
2017-01-28 18:29:13 +01:00
Andrea Marchesini
359ae91eac
Bug 1328653 - Merging all the various *OriginAttributes to just one, r=huseby
2017-01-12 17:38:48 +01:00
Andrew McCreight
5848fe3b73
Bug 1276318
, part 2 - Fix mode lines in ipc/glue. r=billm
...
MessageChannel.{h,cpp}, MessageLink.{h,cpp}, and ProtocolUtils.h are
using 4-space indent so I left those alone.
2016-05-27 14:54:31 -07:00
Bill McCloskey
291c555f34
Bug 1262671 - void** -> PickleIterator (r=froydnj)
2016-05-27 09:57:38 -07:00
Yoshi Huang
4b500464f5
Bug 1209162 - Create OriginAttributes subtypes. IGNORE IDL r=sicking.
2015-11-03 09:50:54 +08:00
Christoph Kerschbaumer
c255f4187b
Bug 1179505 - Make LoadInfo arguments optional in ipdl (r=bent,sicking)
2015-07-13 22:43:13 -07:00
Birunthan Mohanathas
a8939590de
Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
...
The bulk of this commit was generated by running:
run-clang-tidy.py \
-checks='-*,llvm-namespace-comment' \
-header-filter=^/.../mozilla-central/.* \
-fix
2015-07-13 08:25:42 -07:00
Hiroyuki Ikezoe
77bcec5ebd
Bug 1178172 - Fix all compile errors in dom/base on non-unified build. r=baku
2015-07-01 15:56:00 +02:00
Christoph Kerschbaumer
4e803ed392
Bug 1175352 - Refactor LoadInfo arguments to be more self contained (r=bent)
2015-06-18 15:37:20 -07:00
Andrea Marchesini
dcdcd94a06
Bug 1155153 - about:serviceworkers should work in e10s mode, r=nsm, r=bholley
2015-06-04 19:51:57 +01:00
Carsten "Tomcat" Book
e7e949f08a
Backed out changeset bc305c9b5d05 (bug 1155153) for b2g xpshell test failure on a CLOSED TREE
2015-06-05 13:07:51 +02:00
Andrea Marchesini
42cd5b397c
Bug 1155153 - about:serviceworkers should work in e10s mode, r=nsm, r=bholley
2015-06-04 19:51:57 +01:00
Ben Turner
6764e04571
Bug 1024098, Add some helpers for principal verification with PBackground. r=mrbkap.
2014-07-07 11:13:04 -07:00