A recent change to DOM.isOrHasChild(parent,child) results in a NS_ERROR_INVALID_POINTER exception if the child is null.  MouseListenerCollection.fireMouseEvent can pass null as the child on an onMouseOut event if the cursor moves from the widget to the browser window (outside the client body but inside the web browser).  The same applied to CustomButtom.  While the previous implementation of isOrHasChild allowed child to be null, we consider it an invalid value.

Issue: 2078
Patch by: jlabanca
Review by: jlabanca



git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@1874 8db76d5a-ed1c-0410-87a9-c151d255dfc7
2 files changed