Shim mozHasPendingMessage