> Because it will detect subframe loads that start after the main page has
> finished loading (e.g. a user clicking a link in the subframe).

I don't quite understand the meaning of "documentLoaded event only on
top frame", it may mean:

1. the "documentloaded" event occurred in the top frame
2. the whole document is loaded completely

If the first one, you are right, other means are requeired. If second,
I am right.

XULRunner SDK does not provide the event DocumentLoaded, it only
provide the event OnStateChange, and we should use the latter event
and its parameters to determine whether the document is loaded. I did
provide a means to solve a problem, which may be the asker's problem,
and may be not.

Thank you for leading me to deeper thought.
_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding

Reply via email to