In Bug 86877 several variants of fast/canvas/webgl/tex-image-and-sub-image-2d-with-*.html are being incorporated which verify uploading of DOM elements and ImageData to packed texture formats. Unfortunately, upgrading tex-image-and-sub-image-2d-with-video.html is proving difficult because of an assertion failure seen in Chromium, filed as https://code.google.com/p/chromium/issues/detail?id=129041 . (I am not sure why this isn't being seen on any of the bots -- it doesn't have any entries in Chromium's test_expectations.txt.) For the moment this test is being left as is. The assertion failure should be tracked down and fixed, and once it is, the updated tests integrated.
Chromium-side fix is in the CQ: https://chromiumcodereview.appspot.com/10332275/
With that fix in place, the refactored tests still fail to run properly. The failure mode is strange; it looks like the presence of the video tag on the page is causing the onload handler to fail to run before the LayoutTestController decides whether it should exit early or wait until done. Will put up a patch for these tests after fixing Bug 86877 so we can investigate whether there is a bug in event dispatching related to the video tag.
There was no bug in the video tag. The test was just pointing to nonexistent resources so the "playing" event was never dispatched. Integrating the new tests now.
Actually, I take that back. There is something weird going on. These tests were calling layoutTestController.waitUntilDone() inside the onload handler, but when that is done, they intermittently exit early. Instead it's necessary to call waitUntilDone() in script that's executed while the page is being loaded. I think that is a bug and will file it separately.
Bug 87448 filed about race condition with video tag.
Created attachment 143947 [details] Patch
Comment on attachment 143947 [details] Patch Looks good.
Comment on attachment 143947 [details] Patch Clearing flags on attachment: 143947 Committed r118565: <http://trac.webkit.org/changeset/118565>
All reviewed patches have been landed. Closing bug.