Copy as Markdown
Other Tools
//
// DO NOT EDIT. THIS FILE IS GENERATED FROM $SRCDIR/dom/webauthn/nsIWebAuthnPromise.idl
//
{static D: &[Interface] = &[
Interface {
name: "nsIWebAuthnRegisterPromise",
base: Some("nsISupports"),
sync: true,
methods: Ok(&[
/* [noscript] void resolve (in nsIWebAuthnRegisterResult aResult); */
Method {
name: "Resolve",
params: &[Param { name: "aResult", ty: "*const nsIWebAuthnRegisterResult" }],
ret: "::nserror::nsresult",
},
/* [noscript] void reject (in nsresult error); */
Method {
name: "Reject",
params: &[Param { name: "error", ty: "nserror::nsresult" }],
ret: "::nserror::nsresult",
},
]),
},
Interface {
name: "nsIWebAuthnSignPromise",
base: Some("nsISupports"),
sync: true,
methods: Ok(&[
/* [noscript] void resolve (in nsIWebAuthnSignResult aResult); */
Method {
name: "Resolve",
params: &[Param { name: "aResult", ty: "*const nsIWebAuthnSignResult" }],
ret: "::nserror::nsresult",
},
/* [noscript] void reject (in nsresult error); */
Method {
name: "Reject",
params: &[Param { name: "error", ty: "nserror::nsresult" }],
ret: "::nserror::nsresult",
},
]),
},
]; D}