mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-20 15:27:32 +09:00
moebius#187: DOM - nsIContentPolicy - context (document)
https://github.com/MoonchildProductions/moebius/pull/187
This commit is contained in:
parent
557c89de3c
commit
7f09dee539
6 changed files with 120 additions and 55 deletions
|
|
@ -323,6 +323,16 @@ interface nsILoadInfo : nsISupports
|
|||
[noscript, notxpcom, nostdcall, binaryname(LoadingNode)]
|
||||
nsINode binaryLoadingNode();
|
||||
|
||||
/**
|
||||
* A C++ friendly version of the loadingContext for toplevel loads.
|
||||
* Most likely you want to query the ownerDocument or LoadingNode
|
||||
* and not this context only available for TYPE_DOCUMENT loads.
|
||||
* Please note that except for loads of TYPE_DOCUMENT, this
|
||||
* ContextForTopLevelLoad will always return null.
|
||||
*/
|
||||
[noscript, notxpcom, nostdcall, binaryname(ContextForTopLevelLoad)]
|
||||
nsISupports binaryContextForTopLevelLoad();
|
||||
|
||||
/**
|
||||
* The securityFlags of that channel.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue