Thanks Jamie and Alex.
Alexander Surkov wrote:
> In few places of Gecko we return CO_E_OBJNOTCONNECTED. I wanted to use
> it more but I hadn't change to change this. Mostly as Jamie noticed we
> return E_FAIL.
>
> Thank you.
> Alex.
>
> On Fri, Oct 1, 2010 at 1:47 PM, James Teh <[email protected]> wrote:
>
>> On 1/10/2010 2:00 PM, Pete Brunet wrote:
>>
>>> If an accessible whose backing control has been destroyed still has a
>>> ref count is still greater than one due to an AT and/or oleacc still
>>> holding references what response should the server provide to the AT?
>>>
>> IAccessible2::states should return IA2_STATE_DEFUNCT.
>>
>>
>>> what failure code should be returned when any of
>>> the IAccessible methods are called? S_FALSE? E_FAIL, CO_E_DISCONNECTED?
>>>
>> I believe Firefox returns E_FAIL. Not sure about other implementations.
>> In some ways, some sort of disconnected message makes sense, though it's
>> a bit obscure because the object still *exists*, even though it doesn't
>> provide useful info. E_FAIL should be fine.
>>
>> Btw, although MSDN does mention CO_E_DISCONNECTED, I can't seem to find
>> it defined anywhere in the Windows SDK. The closest I can find is
>> RPC_E_DISCONNECTED, which says:
>> The object invoked has disconnected from its clients.
>> This doesn't seem quite right to me here, as generally, clients refers
>> to the users of that object.
>>
>> Jamie
>>
>> --
>> James Teh
>> Vice President
>> NV Access Inc, ABN 61773362390
>> Email: [email protected]
>> Web site: http://www.nvaccess.org/
>> _______________________________________________
>> Accessibility-ia2 mailing list
>> [email protected]
>> https://lists.linux-foundation.org/mailman/listinfo/accessibility-ia2
>>
>>
> _______________________________________________
> Accessibility-ia2 mailing list
> [email protected]
> https://lists.linux-foundation.org/mailman/listinfo/accessibility-ia2
>
>
--
*Pete Brunet*
a11ysoft - Accessibility Architecture and Development
(512) 238-6967 (work), (512) 689-4155 (cell)
Skype: pete.brunet
IM: ptbrunet (AOL, Google), [email protected] (MSN)
http://www.a11ysoft.com/about/
Ionosphere: WS4G
_______________________________________________
Accessibility-ia2 mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/accessibility-ia2