Bug 877669 - nsXULPopupListener shouldn't prevent default if there are no attributes, r=neil