[webkit-dev] Load event for cached resources in DRT
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?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the webkit-dev