diff options
author | Samael Wang <freesamael@gmail.com> | 2018-02-06 13:28:30 -0500 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-03-14 10:57:15 +0100 |
commit | a0892817409177372d61a2d65ca242b8ef2c320d (patch) | |
tree | f67e36ccd75d8ab2a5a14d4e9caba9a7255788f3 /docshell/base/nsIRefreshURI.idl | |
parent | f56791f643f8fa547805d99ec938b135d665a9c6 (diff) | |
download | UXP-a0892817409177372d61a2d65ca242b8ef2c320d.tar UXP-a0892817409177372d61a2d65ca242b8ef2c320d.tar.gz UXP-a0892817409177372d61a2d65ca242b8ef2c320d.tar.lz UXP-a0892817409177372d61a2d65ca242b8ef2c320d.tar.xz UXP-a0892817409177372d61a2d65ca242b8ef2c320d.zip |
Bug 1416307 - Set triggeringPrincipal to current document's principal, if aPrincipal is not given. r=bz, a=ritu
MozReview-Commit-ID: 8lxKFeUlyzq
--HG--
extra : rebase_source : 5f364f5cf84c12717bee021d752aa0f9ba4619dd
extra : intermediate-source : 9df27a7142ffb065fb56c3fc873298988deacb98
extra : source : 9fcf48189000ab8ee16f236be57c9659c7243b42
Diffstat (limited to 'docshell/base/nsIRefreshURI.idl')
-rw-r--r-- | docshell/base/nsIRefreshURI.idl | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/docshell/base/nsIRefreshURI.idl b/docshell/base/nsIRefreshURI.idl index 5abd829da..04f18eee0 100644 --- a/docshell/base/nsIRefreshURI.idl +++ b/docshell/base/nsIRefreshURI.idl @@ -19,9 +19,8 @@ interface nsIRefreshURI : nsISupports { * * @param aUri The uri to refresh. * @param aPrincipal The triggeringPrincipal for the refresh load - * May be null, in which case a principal will be built based on the - * referrer URI of the previous docshell load, or will use the system - * principal when there is no referrer. + * May be null, in which case the principal of current document will be + * applied. * @param aMillis The number of milliseconds to wait. * @param aRepeat Flag to indicate if the uri is to be * repeatedly refreshed every aMillis milliseconds. @@ -37,9 +36,8 @@ interface nsIRefreshURI : nsISupports { * * @param aURI The URI to refresh. * @param aPrincipal The triggeringPrincipal for the refresh load - * May be null, in which case a principal will be built based on the - * referrer URI of the previous docshell load, or will use the system - * principal when there is no referrer. + * May be null, in which case the principal of current document will be + * applied. * @param aMillis The number of milliseconds by which this refresh would * be delayed if it were not being forced. * @param aMetaRefresh Flag to indicate if this is a meta refresh. @@ -70,9 +68,8 @@ interface nsIRefreshURI : nsISupports { * * @param aBaseURI base URI to resolve refresh uri with. * @param aPrincipal The triggeringPrincipal for the refresh load - * May be null, in which case a principal will be built based on the - * referrer URI of the previous docshell load, or will use the system - * principal when there is no referrer. + * May be null, in which case the principal of current document will be + * applied. * @param aHeader The meta refresh header string. */ void setupRefreshURIFromHeader(in nsIURI aBaseURI, |