Christoph Kerschbaumer
824cac5dd4
Bug 1129999 - Implement CSP devtool using GCLI; CSP to JSON (r=sstamm,bholley)
2015-05-21 11:16:04 -07:00
Bobby Holley
bd8e7cc1d4
Bug 1165162 - Add nsIPrincipal::cookieJar. r=sicking
2015-05-20 17:11:52 -07:00
Bobby Holley
c88c2e4f75
Bug 1165162 - Serialize originSuffix into .origin. r=gabor,sr=sicking
...
We also provide an opt-out for the original behavior, and use it in various
consumers that look like they need fixing up. Most of the usage here is in
code with persistence considerations, where we may need some sort of migration
path.
2015-05-20 17:11:49 -07:00
Bobby Holley
0b255eddcc
Bug 1165162 - Hoist GetOrigin onto BasePrincipal. r=gabor
2015-05-20 17:11:48 -07:00
Bobby Holley
27c0fa745b
Bug 1165162 - Rework the nsIScriptSecurityManager principal-minting API to be originAttributes-centric. r=gabor,r=bholley,sr=sicking
2015-05-20 17:11:41 -07:00
Bobby Holley
4d191be202
Bug 1165162 - Make OriginAttributes a dictionary, and make it accessible as both a jsval and a canonical string. r=gabor,r=bholley,sr=sicking
2015-05-20 17:09:53 -07:00
Bobby Holley
51663f805a
Bug 1164977 - Hoist attribute serialization into BasePrincipal. r=gabor
2015-05-18 15:52:34 -07:00
Bobby Holley
2fe2261289
Bug 1164977 - Hoist app attributes into a struct on BasePrincipal and refer to them as 'origin attributes'. r=gabor
...
This sets the stage for the upcoming work for signed apps.
2015-05-18 15:52:34 -07:00
Bobby Holley
2d06df1364
Bug 1164977 - Unify subsumes/equals logic on BasePrincipal and reduce duplicated code. r=gabor
2015-05-18 15:52:33 -07:00
Bobby Holley
a702ce1a84
Bug 1164977 - Hoist all the app attribute handling into BasePrincipal. r=gabor
2015-05-18 15:52:33 -07:00
Daniel Holbert
b7e945ccef
Bug 1164292 followup: Add 'override' annotations to BasePrincipal & nsSystemPrincipal GetCsp()/SetCsp() methods. rs=ehsan
2015-05-15 14:54:21 -07:00
Bobby Holley
5b5e13241c
Bug 1164292 - Make all nsIPrincipal implementations inherit BasePrincipal and hoist some repeated code. r=gabor
...
Losing the NS_DECL_NSIPRINCIPAL isn't great, but I think it's worth it to share
more code.
2015-05-15 11:51:50 -07:00
Bobby Holley
a8efcbb9e2
Bug 1164292 - Rebrand nsBasePrincipal into mozilla::BasePrincipal and give it its own file. r=gabor
...
The goal here is to provide a common superclass for _all_ the principal
implementations, rather than just nsPrincipal and nsExpandedPrincipal.
2015-05-15 11:51:49 -07:00