forked from mirrors/gecko-dev
Bug 1518991 - Make nsIPrincipal URI getter infallible; r=bholley
nsIPrincipal::GetURI returns NS_OK for all implementations. Make it infallible so we can clean up status checks in C++ code that uses principals. Differential Revision: https://phabricator.services.mozilla.com/D16145 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
8c733563b0
commit
d9173f8644
1 changed files with 1 additions and 1 deletions
|
|
@ -75,7 +75,7 @@ interface nsIPrincipal : nsISerializable
|
|||
* The codebase URI to which this principal pertains. This is
|
||||
* generally the document URI.
|
||||
*/
|
||||
readonly attribute nsIURI URI;
|
||||
[infallible] readonly attribute nsIURI URI;
|
||||
|
||||
/**
|
||||
* The domain URI to which this principal pertains.
|
||||
|
|
|
|||
Loading…
Reference in a new issue