-
Notifications
You must be signed in to change notification settings - Fork 185
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
maplike handling is really weird #340
Comments
I don't know why I missed the |
Oh, maybe I was trying to specify against the language-independent maplike spec, which says that "Prose accompanying the interface can describe how the map entries of an object change.", instead of the ES binding, which provides |
Instead of a custom [[data]] slot that also holds an EcmaScript Map. Fixes WebBluetoothCG#340
Instead of a custom [[data]] slot that also holds an EcmaScript Map. Fixes #340
You skipped the "you need to specify exactly how you manipulate it, of course" bit. Filed #351 on that, I guess... |
There are various parts of this spec that attempt to define what the "map entries" are for maplikes in terms of a Map. But maplikes already have a Map whose [[MapData]] is defined to be the "map entries". See https://heycam.github.io/webidl/#es-maplike
So whatever you're doing with
[[data]]
right now should instead be done by manipulating the[[BackingMap]]
, I would think. And you need to specify exactly how you manipulate it, of course.The text was updated successfully, but these errors were encountered: