DOM:document.nodePrincipal
From MDC
This article covers features introduced in Firefox 3
Non-standard
Contents |
[edit] Summary
nodePrincipal returns the nsIPrincipal object representing current security context of the node.
Note: This property exists on all nodes (HTML, XUL, SVG, MathML, etc.), but only if the script trying to use it has UniversalXPConnect privileges.
[edit] Syntax
principalObj = element.nodePrincipal
[edit] Notes
This property is read-only; attempting to write to it will throw an exception. In addition, this property may only be accessed from privileged code.
[edit] Specification
Not in any specification.