MDN may have intermittent access issues April 18 13:00 - April 19 01:00 UTC. See whistlepig.mozilla.org for all notifications.

mozilla
Your Search Results

    window.navigator.mozHasPendingMessage

    Summary

    This method is used to know if there are pending messages of a given type (true) ot not (false).

    When navigator.mozSetMessageHandler() is used to set a handler for the type, the pending messages will be asynchronously delivered to the application.

    Syntax

    navigator.mozHasPendingMessage(type);

    Parameters

    type
    A string representing the kind of message the app wants to register a handler function for. For a full list of available types, see navigator.mozSetMessageHandler().

    Return

    A boolean.

    Specification

    Specification Status Comment
    Unknown Working Draft Defines the system messaging interfaces.

    Browser compatibility

    Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari (WebKit)
    Basic support Not supported Not supported Not supported Not supported Not supported
    Feature Android Firefox OS Firefox Mobile (Gecko) IE Mobile Opera Mobile Safari Mobile
    Basic support Not supported 1.0 Not supported Not supported Not supported Not supported

    See also

    Document Tags and Contributors

    Contributors to this page: teoli
    Last updated by: teoli,