Closed
Bug 280136
Opened 20 years ago
Closed 16 years ago
Remove GetFinalState()
Categories
(Core :: Disability Access APIs, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: aaronlev, Assigned: surkov)
References
(Blocks 1 open bug)
Details
(Keywords: access)
Attachments
(2 files, 1 obsolete file)
|
143.03 KB,
patch
|
davidb
:
review+
|
Details | Diff | Splinter Review |
|
2.00 KB,
patch
|
sdwilsh
:
review+
neil
:
superreview+
|
Details | Diff | Splinter Review |
The methods nsIAccessible::GetFinalRole(), GetFinalState() and GetFinalValue() were added to make the DHTML accessibily patch in bug 249998 small and reviewable. Changing the code to remove the need for methods is going to be a large patch, but it should be done. It's ugly to have GetRole and GetFinalRole, etc.
| Reporter | ||
Comment 1•17 years ago
|
||
I think we might want to have some methods with names like GetStateInternal(), which are virtual but not interface methods. That's where the non-ARIA work would be done. But, it would mean there are still 2 methods for role, 2 methods for state, etc. However, I don't want a situation where every new impl class for a11y needs to remember to call methods for ARIA work. Let's safe this for after Firefox 3.
| Assignee | ||
Updated•16 years ago
|
Summary: Remove nsIAccessible::GetFinalRole(), GetFinalState() and GetFinalValue() → Remove GetFinalState()
| Assignee | ||
Comment 2•16 years ago
|
||
Assignee: aaronleventhal → surkov.alexander
Status: NEW → ASSIGNED
Attachment #345842 -
Flags: superreview?(neil)
Attachment #345842 -
Flags: review?(sdwilsh)
| Assignee | ||
Comment 3•16 years ago
|
||
Attachment #345842 -
Attachment is obsolete: true
Attachment #345843 -
Flags: review?(aaronleventhal)
Attachment #345842 -
Flags: superreview?(neil)
Attachment #345842 -
Flags: review?(sdwilsh)
| Assignee | ||
Comment 4•16 years ago
|
||
Comment on attachment 345842 [details] [diff] [review] inspector-patch sorry, it was excess mouse click
Attachment #345842 -
Attachment is obsolete: false
Attachment #345842 -
Flags: superreview?(neil)
Attachment #345842 -
Flags: review?(sdwilsh)
Comment 5•16 years ago
|
||
Will you need to change the minVersion in DOMi's install.rdf?
Comment 6•16 years ago
|
||
For the inspector patch, we'll still need to be able to support 3.0, so can you have this degrade gracefully?
| Assignee | ||
Comment 7•16 years ago
|
||
Does it work for you?
Attachment #345842 -
Attachment is obsolete: true
Attachment #345915 -
Flags: superreview?(neil)
Attachment #345915 -
Flags: review?(sdwilsh)
Attachment #345842 -
Flags: superreview?(neil)
Attachment #345842 -
Flags: review?(sdwilsh)
Updated•16 years ago
|
Attachment #345915 -
Flags: superreview?(neil) → superreview+
| Reporter | ||
Comment 8•16 years ago
|
||
Comment on attachment 345843 [details] [diff] [review] mozilla-patch David, how would you like a nice code reorg review? :)
Attachment #345843 -
Flags: review?(aaronleventhal) → review?(david.bolter)
Comment 9•16 years ago
|
||
Sure. Can it wait until tonight? (In reply to comment #8) > (From update of attachment 345843 [details] [diff] [review]) > David, how would you like a nice code reorg review? :)
Comment 10•16 years ago
|
||
Comment on attachment 345843 [details] [diff] [review] mozilla-patch You have my r+ :) Aaron owes me a doughnut. Wow that was tedious, but this makes the code much nicer. Surkov, nice catch fixing the mochitests too. I'm loving the NS_IMETHOD to "virtual nsresult", and NS_IMETHODIMP to "nsresult" changes. Starting to look like C++ again :)
Attachment #345843 -
Flags: review?(david.bolter) → review+
Comment 11•16 years ago
|
||
Comment on attachment 345915 [details] [diff] [review] inspector-patch2 r=sdwilsh
Attachment #345915 -
Flags: review?(sdwilsh) → review+
| Assignee | ||
Comment 12•16 years ago
|
||
inspector's changeset: http://hg.mozilla.org/dom-inspector/rev/f70f22b6a96e mozilla's changeset: http://hg.mozilla.org/mozilla-central/rev/ed2e583d9edf
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•