1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this file,
3 * You can obtain one at http://mozilla.org/MPL/2.0/. */
6 * This dictionnary holds the parameters sent to the wifi service.
8 dictionary WifiCommandOptions
10 long id = 0; // opaque id.
11 DOMString cmd = ""; // the command name.
12 DOMString request; // for "command"
16 * This dictionnary holds the parameters sent back to WifiWorker.js
18 dictionary WifiResultOptions
20 long id = 0; // opaque id.
21 long status = 0; // the return status of the command.
22 // Used by most commands.
23 DOMString reply = ""; // for "command".
28 * This dictionary holds the callback parameter sent back from WifiCertService
29 * to WifiWorker, and should only be passed around in chrome process.
31 dictionary WifiCertServiceResultOptions
33 long id = 0; // request id in WifiWorker.
34 long status = 0; // error code of the request, 0 indicates success.
35 unsigned short usageFlag = 0; // usage flag of certificate, the flag is defined
36 // in nsIWifiCertService.idl
37 DOMString nickname = ""; // nickname of certificate of the request.