Preethi Natarajan wrote:
I am trying to timestamp when (i) a piece of jpeg image is read from network and (ii) this piece gets rendered on the page, and I would like to minimize the difference between these 2 timestamps.

Define "rendered"?

From nsContentSink.cpp, I see that these 2 timestamps will differ by //content.notify.interval //sec at the minimum right?

No, for images in particular this code has nothing to do with them. Image loads are started when the <img> node is placed in the DOM. They get rendered "sometime". Exactly when depends on what you mean by "rendered".

-Boris
_______________________________________________
dev-tech-network mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-network

Reply via email to