This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
Basically just invoke http://heycam.github.io/webidl/#dfn-convert-idl-to-ecmascript-value and then resolve the promise with the result, at least in the ES binding. Maybe it's clear enough when people resolve promises with IDL values in their algorithms that this is what's supposed to happen, of course. Except people keep getting confused about what happens with dictionaries and sequences, since resolving with one will create a new JS object.
https://github.com/heycam/webidl/issues/490