On 5/10/13 10:55 AM, Matthew Gertner wrote:
Apparently the <browser> constructor is being called before the docShell is there. I can't see why registering a category entry with type "content-policy" would cause this, however. From the code it looks like the entry just gets put into the list maintained by nsContentPolicy (it uses nsCategoryCache for this). The list is iterated in CheckPolicy. Why this would cause the <browser> to be instantiated prematurely is not clear to me.
Is your policy being called with the subject set to the <browser>? -Boris _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform