Closed
Bug 302029
Opened 19 years ago
Closed 19 years ago
Interface Not Supported when QI IAccessible for ISimpleDOMNode
Categories
(Firefox :: Disability Access, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: tim.mchyde, Unassigned)
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8b4) Gecko/20050724 Firefox/1.0+ Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8b4) Gecko/20050724 Firefox/1.0+ This used to work in the Alpha 1 and 2 releases. Now only ISimpleDOMText is QIable from the IAccessible. Reproducible: Always Steps to Reproduce: function GetGeckoFromPt(Pt: TPoint; var SimpleDOMText: ISimpleDOMText): Boolean; var Acc: IAccessible; varChild: OleVariant; Node: ISimpleDOMNode; begin Acc := GetAccessibleFromPt(Pt, varChild); // succeeds SimpleDomText := Acc as ISimpleDOMText // succeeds SimpleDomNode := Acc as ISimpleDOMNode // fails SimpleDomNode := SimpleDOMText as ISimpleDOMNode // fails end; Actual Results: Interface Not Supported error Expected Results: There should always be an ISimpleDOMNode if there is an ISimpleDOMText i put blocker for severity because this bug is preventing me from developing my accessible software for Mozilla
Comment 1•19 years ago
|
||
Avi, as I mentioned in an email I have changed ISimpleDOMNode.idl --if you haven't updated that would match your problem. Here's where the IDL is kept. It might change once more before 1.5 final but then it will stay constant. http://lxr.mozilla.org/seamonkey/source/accessible/public/msaa/ISimpleDOMNode.id?raw=1l
| Reporter | ||
Comment 2•19 years ago
|
||
Thanks for the reminder, yes the interface and GUID changing explains this perfectly which I forgot to do (sleep deprived weekend). I updated my TLB to match the new interface and now there's no problem. I'm closing the bug as Invalid I guess fits best.
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•