mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-26 20:30:41 +00:00
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
@ -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…
x
Reference in New Issue
Block a user