javascriptdom-eventsawesomium

When does Awesomium's LoadingFrameComplete occurs?


From the Awesomium documentation, it says that the WebView.LoadingFrameComplete event

Occurs when the page finishes loading a frame.

This sounds quite vague to me. Is this event raised at the same time as the JavaScript load event of the window? Or is it the DOMContentLoaded event, or a readystatechange with complete state?

I am not quite sure as I've experienced cases of the LoadingFrameComplete event being raised before external JavaScripts have finished executing. (nope, that was the server failing to deliver the files)


Solution

  • Looks like it corresponds to the load event of the window (all resources seems to be loaded, including scripts and deferred scripts)