[webkit-dev] Load event for cached resources in DRT

Alexandru Chiculita achicu at adobe.com
Fri Jan 6 08:18:43 PST 2012

I need to add more tests for CSS Shaders, but I couldn't find a nice way to know that a cached resource is loaded. So the result is that in DRT the screenshot is taken too early. Other tests use the "onload" event of the associated tag (ie. img, iframe, script), but CSS Shaders have no such tag. Do you know if there's any DRT method that forces a sync load or waits for a specific resource?

If not, I think a workaround would be to use a hidden iframe (or script tag) and the "onload" event. Other ideas?

Alex Chiculita
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20120106/81ee1e53/attachment.html>

More information about the webkit-dev mailing list