Bug 1220602 - Make the documentation for nsIPrincipal.domain useful. r=bholley IGNORE IDL

This commit is contained in:
Jonathan Watt 2015-09-24 00:36:04 +01:00
parent b2cd535c73
commit 8c3ca7675f

View File

@ -60,8 +60,10 @@ interface nsIPrincipal : nsISerializable
/**
* The domain URI to which this principal pertains.
* This is congruent with HTMLDocument.domain, and may be null.
* This is null unless script successfully sets document.domain to our URI
* or a superdomain of our URI.
* Setting this has no effect on the URI.
* See https://developer.mozilla.org/en-US/docs/Web/Security/Same-origin_policy#Changing_origin
*/
[noscript] attribute nsIURI domain;