XPIDL, scriptable Interface Func Args using not scriptable type

the nsIWebAuthnService using not scriptable interface, nsIWebAuthnRegisterPromise and nsIWebAuthnSignPromise
Is this the intended thing?

https://searchfox.org/mozilla-central/source/dom/webauthn/nsIWebAuthnService.idl#37
https://searchfox.org/mozilla-central/source/dom/webauthn/nsIWebAuthnPromise.idl#10

This forum isn’t active anymore. Try the Matrix.
https://wiki.mozilla.org/Matrix
Start with the #introduction room for this question, but you might be redirected somewhere else.