This translation is incomplete. Please help translate this article from English
Node.nodePrincipal read-only property returns the
nsIPrincipal object representing current security context of the node.
principalObj = element.nodePrincipal
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.
Not in any specification.