author Carsten "Tomcat" Book <>
Thu, 27 Mar 2014 11:40:32 +0100
changeset 175624 11b3e19f4eb825df8922045ad0860023e8e9946c
parent 98145 d1a45c3f6f8fb27d387aa0773104e6637e03c85a
child 221957 8c01c134e40f0c73b8841e2210b17333944e4804
permissions -rw-r--r--
Backed out changeset 71568f10952a (bug 988326) for assertions

/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this file,
 * You can obtain one at */

#include "domstubs.idl"

[scriptable, function, uuid(42692976-57fd-4bb4-ab95-2b97ebdc5056)]
interface nsIDOMSystemMessageCallback : nsISupports
    void handleMessage(in jsval message);

[scriptable, uuid(091e90dd-0e8b-463d-8cdc-9225d3a6ff90)]
interface nsIDOMNavigatorSystemMessages : nsISupports
    void mozSetMessageHandler(in DOMString type, in nsIDOMSystemMessageCallback callback);

    boolean mozHasPendingMessage(in DOMString type);