Comment 61 for bug 948788

Revision history for this message
In , Vd-4 (vd-4) wrote :

Created attachment 738132
Implement a replacement of atk_object_set_name() which mimics the behavior without calling atk_object_get_name()

This is an updated patch that should fix the assertion failure. The only change compared to the pushed patch [1] is this:

-+ if (newNameUTF8.Equals(aAtkObj->name))
++ if (aAtkObj->name && newNameUTF8.Equals(aAtkObj->name))

For some reason I was not able to reproduce the assertion failure myself with the "broken" patch, so I cannot verify that this one fixes the problem, but it *should* fix it.

I will followup here if I manage to reproduce the failure and then confirm that the above change fixes is.

[1] https://hg.mozilla.org/integration/mozilla-inbound/rev/ecd327272240