Closed
Bug 88284
Opened 24 years ago
Closed 24 years ago
Active Accessibility: nsIAccessible interface should be made scriptable.
Categories
(Core Graveyard :: Embedding: APIs, enhancement, P3)
Tracking
(Not tracked)
VERIFIED
FIXED
mozilla0.9.5
People
(Reporter: dsirnapalli, Assigned: aaronlev)
References
Details
(Keywords: access)
Attachments
(3 files)
|
7.70 KB,
patch
|
Details | Diff | Splinter Review | |
|
1.14 KB,
text/plain
|
Details | |
|
8.17 KB,
patch
|
Details | Diff | Splinter Review |
All the interfaces under accessibility should be made scriptable.
| Assignee | ||
Updated•24 years ago
|
Status: NEW → ASSIGNED
Priority: -- → P3
Target Milestone: --- → mozilla0.9.5
| Assignee | ||
Comment 1•24 years ago
|
||
| Assignee | ||
Comment 2•24 years ago
|
||
| Assignee | ||
Comment 3•24 years ago
|
||
Okay, this works.
John, for your r=, notice I opted to make just one version of GetAccessibleFor,
that takes a DOM node, but doesn't take a pres shell. This simplified the code
in places.
I also got rid of the extra CoInitialize that we had in nsWindow.cpp. This extra
windows API call was slow and superfluous.
Whiteboard: Need r=/sr=
Comment 4•24 years ago
|
||
Looks good. Whitespace issues - adding lines between methods. Do it for all, or
not, doesn't matter to me just keep the file consistent. ( the standard seems to
be one line between ).
return (mAccService &&
+ NS_SUCCEEDED(mAccService->GetAccessibleFor(mDOMNode,
getter_AddRefs(mAccessible)))
+ && mAccessible);
This is just hard to read, put the '&&' in one place, end of line or beginning
of line
Why are you changing this comment? Alot more happens in that method
-// Deal with all sort of mouse event
+// Deal with accessible events
r= jgaunt with this issues resolved
| Assignee | ||
Comment 5•24 years ago
|
||
| Assignee | ||
Comment 6•24 years ago
|
||
Thanks, fixed the whitespace and the comment.
Someone had copy/pasted a method, changed it, and forgot to change the comment.
I've fixed the comment, correctly now, in this new patch.
Comment 7•24 years ago
|
||
Nits only, really:
+ /*********** Check if we need outer owning doc ************/
Extra space before "Check" above, and don't these C-style comments seem a bit
gaudy compared to the // C++ style one-liners elsewhere in the file?
This:
+ return (mAccService &&
+ NS_SUCCEEDED(mAccService->GetAccessibleFor(mDOMNode,
getter_AddRefs(mAccessible))) &&
+ mAccessible);
would be even prettier if the hanging indentation lined up:
+ return (mAccService &&
+ NS_SUCCEEDED(mAccService->GetAccessibleFor(mDOMNode,
getter_AddRefs(mAccessible))) &&
+ mAccessible);
Take 'em or leave 'em, no need for another patch if you do. sr=brendan@mozilla.org.
/be
| Assignee | ||
Comment 8•24 years ago
|
||
fix checked in
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
| Assignee | ||
Updated•24 years ago
|
Whiteboard: Need r=/sr=
| Assignee | ||
Updated•24 years ago
|
Keywords: access
Summary: nsIAccessible interface should be made scriptable. → Active Accessibility: nsIAccessible interface should be made scriptable.
| Reporter | ||
Comment 9•23 years ago
|
||
-- Marking the bug as verified since all the accessibility interfaces are made
scriptable.
Status: RESOLVED → VERIFIED
Updated•6 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•