Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Which WebIDL types are maps? #65

Closed
jyasskin opened this issue Feb 14, 2017 · 3 comments
Closed

Which WebIDL types are maps? #65

jyasskin opened this issue Feb 14, 2017 · 3 comments

Comments

@jyasskin
Copy link
Member

Like #14, but plausible WebIDL maps include at least dictionaries, objects, and records. I care in order to iterate over them.

@domenic
Copy link
Member

domenic commented Feb 14, 2017

I'll try to tackle this and #14 within the next day or so, along the lines of the strategy of

Maybe what we want to do here is state something like "often we use lists in a place that expects sequences, or treat sequences like lists. This kind of implicit conversion is OK, as long as the type systems match up."

However, as noted in #61, I think probably such Web IDL-specific stuff should get moved into Web IDL.

@jyasskin
Copy link
Member Author

We may want to explicitly disallow objects, because of the ambiguities around own vs inherited properties. Dictionaries and records have unambiguous contents and ordering.

domenic added a commit to whatwg/webidl that referenced this issue Feb 22, 2017
tobie pushed a commit to whatwg/webidl that referenced this issue Feb 22, 2017
@domenic
Copy link
Member

domenic commented Feb 22, 2017

Closed by whatwg/webidl@26aa830 (I got the commit message wrong)

@domenic domenic closed this as completed Feb 22, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants