[heycam/webidl] Promise handling algorithms are not very clear about what happens if type conversion fails (#782)

https://heycam.github.io/webidl/#dfn-perform-steps-once-promise-is-settled

What if the type is `Promise<Node>` and someone passes `Promise.resolve(3)`?

I think the best we can do is go down the rejection path? Although that makes using "upon fulfillment" in isolation pretty dangerous for non-`any` _T_s.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/heycam/webidl/issues/782

Received on Thursday, 29 August 2019 16:36:18 UTC