> Do you mean the non-privileged code running inside the page?
Yes.
> Wouldn't such a thing affect the rest of the attributes/methods of > nsIImageLoadingContent?
Yes, but we've been careful to make sure all the existing stuff exposed on that interface is ok.
> What can I do to solve it?
Don't add anything to this interface that you don't want content code calling...
Perhaps the right approach is to frob the permission manager, not the image node?
> Do you mean the non-privileged code running inside the page?
Yes.
> Wouldn't such a thing affect the rest of the attributes/methods of Content?
> nsIImageLoading
Yes, but we've been careful to make sure all the existing stuff exposed on that interface is ok.
> What can I do to solve it?
Don't add anything to this interface that you don't want content code calling...
Perhaps the right approach is to frob the permission manager, not the image node?