Bug 988787 - Should fire "handle-system-messages-done" at a correct time point. r=fabrice