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.
Created attachment 738132 set_name( ) which mimics the behavior without calling atk_object_ get_name( )
Implement a replacement of atk_object_
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)) Equals( aAtkObj- >name))
++ if (aAtkObj->name && newNameUTF8.
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/ecd32727224 0