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
Created attachment 27091 [details] Layout test breaking due to this bug.
<rdar://problem/15113347>