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

> In the spec as written, it'll return a rejected promise and the success steps won't be run.

Ah, I guess because "converting" will throw, and PerformPromiseThen handles it. That makes sense.

> This suggests to me that we should run the rejection steps on conversion failure.

Sounds good to me.

-- 
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#issuecomment-526680425

Received on Friday, 30 August 2019 17:18:17 UTC