Re: [whatwg/webidl] Maplike/setlike iterators shouldn't use MapIteratorPrototype/etc (Issue #1142)

> reusing %MapIteratorPrototype% and %SetIteratorPrototype% is something all engines do

I couldn't find any examples of this right now, poking around a little, though it's entirely possible I've just missed it. E.g., [`FontFaceSet`](https://drafts.csswg.org/css-font-loading/#FontFaceSet-interface) is a `setlike`, but in FF, Chrome, and Safari, `document.fonts[Symbol.iterator]().next === (new Set)[Symbol.iterator]().next` is false.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/webidl/issues/1142#issuecomment-1119009864
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/webidl/issues/1142/1119009864@github.com>

Received on Thursday, 5 May 2022 20:21:09 UTC