Kris Maglione
23f86a0885
Bug 1396449: Part 1 - Use WebExtensionPolicy objects in extension content principals. r=krizsa
...
Going through the extension policy service rather than using
WebExtensionPolicy objects directly adds a lot of unnecessary overhead to
common operations on extension principals, and also makes the code more
complicated than it needs to be.
We also use weak references to policy objects here, since principals should
ideally lose as much of their elevated privileges as possible once the
extension instance that created them has been destroyed (which is something we
couldn't handle easily when we simply tracked ID strings).
MozReview-Commit-ID: KDNvVdvLkIt
2017-09-05 11:04:43 -07:00
Jorg K
89fe2d312f
Bug 1353204 - Follow-up: Use entire spec for origin for Thunderbird. r=bz
2017-04-10 14:04:11 +02:00
Bobby Holley
d224d6fc0c
Bug 1353204 - Move the hostPort case after the nsIStandardURL check. r=bz
...
MozReview-Commit-ID: HIqxhEE41G0
2017-04-05 21:35:07 -07:00
Bobby Holley
41bf3e10b5
Bug 1353204 - Factor out the full-spec-to-origin machinery and use it if the Thunderbird-only flag is set. r=bz
...
MozReview-Commit-ID: 8acGT0n6O3X
2017-04-05 21:35:07 -07:00
Andrea Marchesini
bbcb9558a8
Bug 1347817 - Principal must always have a valid origin - part 4 - origin passed as argument when a principal is created, r=bholley
2017-03-29 08:24:01 +02:00
Andrea Marchesini
19aafd919a
Bug 1347817 - Principal must always have a valid origin - part 3 - move origin to BasePrincipal, r=bholley
2017-03-29 08:22:26 +02:00
Andrea Marchesini
6fe82c7556
Bug 1347817 - Principal must always have a valid origin - part 2 - move OriginAttributes to the BasePrincipal, r=bholley
2017-03-29 08:21:03 +02:00
Andrea Marchesini
c7bbc2d296
Bug 1347817 - Principal must always have a valid origin - part 1 - renaming GetOriginInternal to GetOriginNoSuffixInternal, r=qdot
2017-03-29 08:19:41 +02:00
Sebastian Hengst
a21bff2730
Backed out changeset a70b549ac35d (bug 1347817) for failing test_websocket-transport.html on OSX 10.10 debug. r=backout
2017-03-29 11:18:41 +02:00
Sebastian Hengst
8b8601de62
Backed out changeset c0e8522353bd (bug 1347817)
2017-03-29 11:17:22 +02:00
Sebastian Hengst
9ca06ec746
Backed out changeset d71d95c73542 (bug 1347817)
2017-03-29 11:17:18 +02:00
Sebastian Hengst
419dd35b4e
Backed out changeset 059bcee1ccda (bug 1347817)
2017-03-29 11:17:13 +02:00
Andrea Marchesini
0ae94345ff
Bug 1347817 - Principal must always have a valid origin - part 4 - origin passed as argument when a principal is created, r=bholley
2017-03-29 08:24:01 +02:00
Andrea Marchesini
694063938b
Bug 1347817 - Principal must always have a valid origin - part 3 - move origin to BasePrincipal, r=bholley
2017-03-29 08:22:26 +02:00
Andrea Marchesini
049b4fd509
Bug 1347817 - Principal must always have a valid origin - part 2 - move OriginAttributes to the BasePrincipal, r=bholley
2017-03-29 08:21:03 +02:00
Andrea Marchesini
f1952ab550
Bug 1347817 - Principal must always have a valid origin - part 1 - renaming GetOriginInternal to GetOriginNoSuffixInternal, r=qdot
2017-03-29 08:19:41 +02:00
Eric Rahm
abe3971f20
Bug 1349805 - Convert NS_ENSURE_TRUE in ContentPrincipal::GetOriginInternal to an if statement. r=baku
...
MozReview-Commit-ID: IgT8ZQ6ByKG
2017-03-23 14:30:16 -07:00
Andrea Marchesini
a04ab116f5
Bug 1343933 - Renaming Principal classes - part 4 - ContentPrincipal, r=qdot
2017-03-22 11:39:31 +01:00