[Webkit-unassigned] [Bug 109028] mac-wk2 test runner returns null for accessibilityController.accessibleElementById
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Feb 7 11:45:43 PST 2013
https://bugs.webkit.org/show_bug.cgi?id=109028
--- Comment #2 from James Craig <james at cookiecrook.com> 2013-02-07 11:47:52 PST ---
Not quite. The axElement actually returns null, not just the properties on the object. Nevertheless, I can work around it like this to normalize the behavior between wk1 and wk2.
if (axElement) {
role = axElement.role;
subrole = axElement.subrole;
roleDescription = axElement.roleDescription;
} else {
role = 'AXRole: ';
subrole = 'AXSubrole: ';
roleDescription = 'AXRoleDescription: ';
}
If you think that's expected behavior, it's okay to close this bug.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list