You should locate to WebBrowserChrome::OnStateChange and find
pListener->DocumentLoaded();

the condition which fires DocumentLoaded is (aStateFlags & STATE_STOP)
&& (aStateFlags & STATE_IS_DOCUMENT), you should replace
STATE_IS_DOCUMENT with STATE_IS_NETWORK.

Wish you good luck
_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding

Reply via email to