Re: [whatwg/webidl] Does requiring a dictionary type implicitly allow passing dictionaries that inherit from it? (Issue #1199)

Thanks. At the spec level this algorithm only checks a key present in the base dictionary, but it does iterate over all keys via "[For each](https://infra.spec.whatwg.org/#map-iterate) key → value of options" to invoke other checks on them.

Does it mean that this iteration would only actually iterate over the keys present in the base dictionary?

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/webidl/issues/1199#issuecomment-1257792500

You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/webidl/issues/1199/1257792500@github.com>

Received on Monday, 26 September 2022 10:01:19 UTC