Bug 23579

Summary: JS objects returned by AccessibilityController are not cached, breaks layout tests
Product: WebKit Reporter: Jonas Klink <klinktech>
Component: AccessibilityAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: jcraig, jhoneycutt, sam, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: PC   
OS: All   
Bug Depends on:    
Bug Blocks: 22893    
Attachments:
Description Flags
Layout test breaking due to this bug. none

Jonas Klink
Reported 2009-01-27 16:27:46 PST
The accessible objects returned for DOM objects on the page are not cached; so, if you try to use JavaScript to get the accessible object for the same element on a page twice, it will return different values each time. This makes a comparison of the objects fail, both on Mac and Windows. Attached example layout test fails as: FAIL accessibleForID('body').parentElement() should be [object AccessibilityUIElement]. Was [object AccessibilityUIElement]. FAIL accessibleForID('parent').parentElement() should be [object AccessibilityUIElement]. Was [object AccessibilityUIElement]. FAIL accessibleForID('child').parentElement() should be [object AccessibilityUIElement]. Was [object AccessibilityUIElement]. JS objects returned by AccessibilityController are not cached
Attachments
Layout test breaking due to this bug. (1.45 KB, text/plain)
2009-01-27 16:29 PST, Jonas Klink
no flags
Jonas Klink
Comment 1 2009-01-27 16:29:48 PST
Created attachment 27091 [details] Layout test breaking due to this bug.
James Craig
Comment 2 2013-09-30 11:49:07 PDT
Note You need to log in before you can comment on or make changes to this bug.