mozilla-b2g/gaia — pull request #11872 by caiolima (2013-08-31 03:38:08+00:00)
Title: Bug 910997 - Trigger the close event after remove it from layout

This logic hurts the idea of "onclose" event since it should be trigged when the Notification is being closed. But I don't understand why after the first event is trigged, the others don't execute the lines below |window.dispatchEvent(event);|

Could anyone explain it?