diff -r 000000000000 -r 6474c204b198 dom/wifi/nsIDOMMozWifiStatusChangeEvent.idl --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/dom/wifi/nsIDOMMozWifiStatusChangeEvent.idl Wed Dec 31 06:09:35 2014 +0100 @@ -0,0 +1,29 @@ +/* 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 http://mozilla.org/MPL/2.0/. */ + +#include "nsIDOMEvent.idl" + +interface nsIVariant; + +[scriptable, builtinclass, uuid(251252ba-ed8c-47a0-8979-f7652b4d558a)] +interface nsIDOMMozWifiStatusChangeEvent : nsIDOMEvent +{ + /** + * Network object with a SSID field describing the network affected by + * this change. This might be null. + */ + readonly attribute nsIVariant network; + + /** + * String describing the current status of the wifi manager. See above for + * the possible values. + */ + readonly attribute DOMString status; + + [noscript] void initMozWifiStatusChangeEvent(in DOMString aType, + in boolean aCanBubble, + in boolean aCancelable, + in nsIVariant aNetwork, + in DOMString aStatus); +};