Bug 105587

Summary: accessibility/svg-remote-element.html is flaky (times out)
Product: WebKit Reporter: Dominic Mazzoni <dmazzoni>
Component: AccessibilityAssignee: Dominic Mazzoni <dmazzoni>
Status: RESOLVED FIXED    
Severity: Normal CC: apinheiro, cfleizach, jdiggs, tony, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Dominic Mazzoni
Reported 2012-12-20 16:05:49 PST
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.
Attachments
Patch (1.99 KB, patch)
2012-12-20 16:32 PST, Dominic Mazzoni
no flags
Tony Chang
Comment 1 2012-12-20 16:30:22 PST
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.
Dominic Mazzoni
Comment 2 2012-12-20 16:32:29 PST
chris fleizach
Comment 3 2012-12-20 16:36:02 PST
Comment on attachment 180439 [details] Patch thanks!
WebKit Review Bot
Comment 4 2012-12-20 16:59:20 PST
Comment on attachment 180439 [details] Patch Clearing flags on attachment: 180439 Committed r138325: <http://trac.webkit.org/changeset/138325>
WebKit Review Bot
Comment 5 2012-12-20 16:59:24 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.