[web-bluetooth] No need for a [[BackingMap]] in Bluetooth{Manufacturer,Service}DataMap anymore (#596)

rakuco has just created a new issue for https://github.com/WebBluetoothCG/web-bluetooth:

== No need for a [[BackingMap]] in Bluetooth{Manufacturer,Service}DataMap anymore ==
See whatwg/webidl#1138 and whatwg/webidl#824. Maplike interfaces no longer need to have a [[BackingMap]] internal slot. Instead, as per https://webidl.spec.whatwg.org/#dfn-map-entries, _"Objects implementing an interface that is declared to be maplike represent an [ordered map](https://infra.spec.whatwg.org/#ordered-map) of key–value pairs, initially empty, known as that object’s map entries"_.

In practice, this means the interface's "map entries" can be referenced and manipulated directly using the standard infra language for ordered maps.

Please view or discuss this issue at https://github.com/WebBluetoothCG/web-bluetooth/issues/596 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 20 October 2022 09:51:58 UTC