diff options
author | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-04-30 22:57:23 +0200 |
---|---|---|
committer | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-04-30 22:57:23 +0200 |
commit | 74858918fa2445f7e4ebc4b615ec073d528039f1 (patch) | |
tree | 1ac596813ae2b6ab87488e04bdbda98d9d070b0d /embedding/browser/nsIWebBrowserChrome3.idl | |
parent | 80edefc958f4216bb5982e48a58fd241c69a54db (diff) | |
download | UXP-74858918fa2445f7e4ebc4b615ec073d528039f1.tar UXP-74858918fa2445f7e4ebc4b615ec073d528039f1.tar.gz UXP-74858918fa2445f7e4ebc4b615ec073d528039f1.tar.lz UXP-74858918fa2445f7e4ebc4b615ec073d528039f1.tar.xz UXP-74858918fa2445f7e4ebc4b615ec073d528039f1.zip |
Bug 1329032 - Extend loadURIWithOptions by a triggeringPrincipal (without an hard e10s)
Diffstat (limited to 'embedding/browser/nsIWebBrowserChrome3.idl')
-rw-r--r-- | embedding/browser/nsIWebBrowserChrome3.idl | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/embedding/browser/nsIWebBrowserChrome3.idl b/embedding/browser/nsIWebBrowserChrome3.idl index a95cab911..d78a1d63b 100644 --- a/embedding/browser/nsIWebBrowserChrome3.idl +++ b/embedding/browser/nsIWebBrowserChrome3.idl @@ -8,6 +8,7 @@ interface nsIDocShell; interface nsIInputStream; +interface nsIPrincipal; /** * nsIWebBrowserChrome3 is an extension to nsIWebBrowserChrome2. @@ -43,10 +44,13 @@ interface nsIWebBrowserChrome3 : nsIWebBrowserChrome2 * The URI being loaded. * @param aReferrer * The referrer of the load. + * @param aTriggeringPrincipal + * The principal that initiated the load of aURI. */ bool shouldLoadURI(in nsIDocShell aDocShell, in nsIURI aURI, - in nsIURI aReferrer); + in nsIURI aReferrer, + in nsIPrincipal aTriggeringPrincipal); /** * Attempts to load the currently loaded page into a fresh process to increase @@ -57,5 +61,6 @@ interface nsIWebBrowserChrome3 : nsIWebBrowserChrome2 */ bool reloadInFreshProcess(in nsIDocShell aDocShell, in nsIURI aURI, - in nsIURI aReferrer); + in nsIURI aReferrer, + in nsIPrincipal aTriggeringPrincipal); }; |