1 #![allow(unused_imports)]
2 use super::*;
3 use wasm_bindgen::prelude::*;
4 #[wasm_bindgen]
5 extern "C" {
6     # [wasm_bindgen (is_type_of = | _ | false , extends = :: js_sys :: Object , js_name = MOZ_debug , typescript_type = "MOZ_debug")]
7     #[derive(Debug, Clone, PartialEq, Eq)]
8     #[doc = "The `MozDebug` class."]
9     #[doc = ""]
10     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MOZ_debug)"]
11     #[doc = ""]
12     #[doc = "*This API requires the following crate features to be activated: `MozDebug`*"]
13     pub type MozDebug;
14     # [wasm_bindgen (catch , method , structural , js_class = "MOZ_debug" , js_name = getParameter)]
15     #[doc = "The `getParameter()` method."]
16     #[doc = ""]
17     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/MOZ_debug/getParameter)"]
18     #[doc = ""]
19     #[doc = "*This API requires the following crate features to be activated: `MozDebug`*"]
get_parameter(this: &MozDebug, pname: u32) -> Result<::wasm_bindgen::JsValue, JsValue>20     pub fn get_parameter(this: &MozDebug, pname: u32) -> Result<::wasm_bindgen::JsValue, JsValue>;
21 }
22 impl MozDebug {
23     #[doc = "The `MOZ_debug.EXTENSIONS` const."]
24     #[doc = ""]
25     #[doc = "*This API requires the following crate features to be activated: `MozDebug`*"]
26     pub const EXTENSIONS: u32 = 7939u64 as u32;
27     #[doc = "The `MOZ_debug.WSI_INFO` const."]
28     #[doc = ""]
29     #[doc = "*This API requires the following crate features to be activated: `MozDebug`*"]
30     pub const WSI_INFO: u32 = 65536u64 as u32;
31     #[doc = "The `MOZ_debug.UNPACK_REQUIRE_FASTPATH` const."]
32     #[doc = ""]
33     #[doc = "*This API requires the following crate features to be activated: `MozDebug`*"]
34     pub const UNPACK_REQUIRE_FASTPATH: u32 = 65537u64 as u32;
35 }
36