I think there's a race condition - if the SVG image loads before this line is reached, the runAXTest function won't even be called and the test won't run: if (window.accessibilityController) { document.getElementById("svg-image").addEventListener("load", runAXTest); } I can't repro on my dev machine, but I'll bet this happens on a heavily-loaded test machine.
Oh, maybe if the image is already in the cache? Anyway, can call runAXTest at document.onload instead? I believe onload fires after all the images are loaded.
Created attachment 180439 [details] Patch
Comment on attachment 180439 [details] Patch thanks!
Comment on attachment 180439 [details] Patch Clearing flags on attachment: 180439 Committed r138325: <http://trac.webkit.org/changeset/138325>
All reviewed patches have been landed. Closing bug.