An nsILoadOwner represents per-load information about who started the load.
A C++-friendly version of loadingPrincipal.
A C++-friendly version of loadingDocument (loadingNode).
This is the node most proximally responsible for the load.
The loadingPrincipal is the principal that is responsible for the load.
It is NOT the principal tied to the resource/URI that this
channel is loading, it’s the principal of the resource’s
caller or requester. For example, if this channel is loading
an image from http://b.com that is embedded in a document
who’s origin is http://a.com, the loadingPrincipal is http://a.com.
The loadingPrincipal will never be null.
The loadingDocument of the channel.
The loadingDocument of a channel is the document that requested the
load of the resource. It is not the resource itself, it’s the
resource’s caller or requester in which the load is happening.