- From: Joe Pea <notifications@github.com>
- Date: Sun, 10 Jul 2022 01:54:16 -0700
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Sunday, 10 July 2022 08:54:28 UTC
I can't tell from the DOM spec. [It says](https://dom.spec.whatwg.org/#dom-mutationobserverinit-attributefilter) that `attributeFilter` accepts a "sequence" which is further defined as a "list". TypeScript defines `attributeFilter` as `string[]`, however in Google Chrome I am able to pass the result of a `Map.keys()` (an `IterableIterator` in TypeScript terms) directly to the `attributeFilter` and it works. Is this unique behavior to Chrome? Or does the spec allow iterator instances and I've missed how that reads in the spec? -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/dom/issues/1092 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/dom/issues/1092@github.com>
Received on Sunday, 10 July 2022 08:54:28 UTC