[heycam/webidl] Use ES Completion records consistently (#403)

Abstract operations defined in ECMAScript return a Completion record. But as far as I can tell, abstract ops in the platform don't have this mechanism, simply relying on common sense for any abrupt completions. This spec does not use the ES `?` and `!` shorthands consistently when calling into ES-defined abstract ops, nor does it return Completion records for hooks into ES like internal methods for legacy platform objects. We should probably fix both of them, the latter perhaps by linking "Return" in those abstract ops to the corresponding definition in ES ("Return *value*. -> "Return NormalCompletion(*value*).")

-- 
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/403

Received on Saturday, 12 August 2017 15:05:22 UTC