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

Gecko pays attention to the _T_ in the following ways:

1) IDL parse fails if `Promise<T>` is the return type of an operation or attribute but _T_ is not exposed in all the globals where the operation or attribute is exposed.  There is no corresponding requirement in the spec, as far as I can tell (also for the situation where some type is returned directly, without Promise being involved), but fundamentally it doesn't make sense to have this setup.
2) Something involving which C++ headers to include in generated binding files.  I'm not even convinced that code needs to be there.

There are no other places that are aware of the _T_ in Gecko as far as I can tell.

-- 
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-526275538

Received on Thursday, 29 August 2019 17:04:29 UTC