Bug 1045590- EventDispatcher.offAll can remove all handlers at once r=azasypkin