Artemis icon indicating copy to clipboard operation
Artemis copied to clipboard

Page load event fired too early

Open sema opened this issue 12 years ago • 0 comments

Right now, we are listening for a page load event fired by QT. However, it is not specified when this event occurs - is it before or after additional scripts are parsed and executed? Before or after the onload javascript event?

This unfortunately seems to depend on the size of the loaded web application.

Our larger examples function as they should, but smaller applications (see the instrumentation/codecoverage-external.html fixture) we can observe that external scripts are fetched but not executed before Artemis terminates.

We need to revise the way we detect page loads, making sure that the onload even have been executed and has terminated.

sema avatar Feb 21 '13 13:02 sema