Closed
Bug 740375
Opened 12 years ago
Closed 12 years ago
get rid nsIAccessible innerHTML method
Categories
(Core :: Disability Access APIs, defect)
Core
Disability Access APIs
Tracking
()
RESOLVED
FIXED
mozilla14
People
(Reporter: surkov, Assigned: capella)
References
Details
(Keywords: addon-compat, dev-doc-needed, Whiteboard: [good first bug][mentor=eitan@monotonous.org][lang=c++])
Attachments
(1 file)
4.61 KB,
patch
|
tbsaunde
:
review+
|
Details | Diff | Splinter Review |
1) remove innerHTML method from nsIAccessible interface (http://mxr.mozilla.org/mozilla-central/source/accessible/public/nsIAccessible.idl?force=1#111) 2) bump uuid of nsIAccessible interface 3) remove GetInnerHTML implementation from nsAccessible and nsApplicationAccessible (see accessible/src/base folder) 4) move the logic of nsAccessible::GetInnerHTML to nsAccessNodeWrap::get_innerHTML (see accessible/src/msaa) where it's used
Comment 1•12 years ago
|
||
(In reply to alexander :surkov from comment #0) > 1) remove innerHTML method from nsIAccessible interface > (http://mxr.mozilla.org/mozilla-central/source/accessible/public/ > nsIAccessible.idl?force=1#111) any particular reason you want to remove this method? it doesn't completely make sense or really have a clear purpose,but it doesn't seem its really hurting any one either. > 4) move the logic of nsAccessible::GetInnerHTML to > nsAccessNodeWrap::get_innerHTML (see accessible/src/msaa) where it's used it looks like it already uses its own logic which is the same. Although perhaps it should use something other than qi and nsIDOMHTMLElement
Reporter | ||
Comment 2•12 years ago
|
||
(In reply to Trevor Saunders (:tbsaunde) from comment #1) > (In reply to alexander :surkov from comment #0) > > 1) remove innerHTML method from nsIAccessible interface > > (http://mxr.mozilla.org/mozilla-central/source/accessible/public/ > > nsIAccessible.idl?force=1#111) > > any particular reason you want to remove this method? it doesn't completely > make sense or really have a clear purpose,but it doesn't seem its really > hurting any one either. this method is just a shortcut around HTML element innerHTML, doesn't make sense to dupe it on accessibility layer > > 4) move the logic of nsAccessible::GetInnerHTML to > > nsAccessNodeWrap::get_innerHTML (see accessible/src/msaa) where it's used > > it looks like it already uses its own logic which is the same. Although > perhaps it should use something other than qi and nsIDOMHTMLElement you're right, I missed that (it was late night for me :) ) So no 4) item.
Assignee | ||
Updated•12 years ago
|
Assignee: nobody → markcapella
Status: NEW → ASSIGNED
Assignee | ||
Comment 3•12 years ago
|
||
Looks fairly simple, built out ok, passed all mochitest-a11y tests ...
Attachment #610983 -
Flags: feedback?(trev.saunders)
Updated•12 years ago
|
Attachment #610983 -
Flags: feedback?(trev.saunders) → review+
Updated•12 years ago
|
Keywords: dev-doc-needed
Comment 4•12 years ago
|
||
landed https://hg.mozilla.org/integration/mozilla-inbound/rev/57bd8957e1b4
Updated•12 years ago
|
Target Milestone: --- → mozilla14
Comment 5•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/57bd8957e1b4
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Reporter | ||
Updated•12 years ago
|
Keywords: addon-compat
You need to log in
before you can comment on or make changes to this bug.
Description
•