Bug 23579 - JS objects returned by AccessibilityController are not cached, breaks layout tests
Summary: JS objects returned by AccessibilityController are not cached, breaks layout ...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Accessibility (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC All
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks: 22893
  Show dependency treegraph
 
Reported: 2009-01-27 16:27 PST by Jonas Klink
Modified: 2013-09-30 12:13 PDT (History)
4 users (show)

See Also:


Attachments
Layout test breaking due to this bug. (1.45 KB, text/plain)
2009-01-27 16:29 PST, Jonas Klink
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jonas Klink 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
Comment 1 Jonas Klink 2009-01-27 16:29:48 PST
Created attachment 27091 [details]
Layout test breaking due to this bug.
Comment 2 James Craig 2013-09-30 11:49:07 PDT
<rdar://problem/15113347>