For proper implementation of the WebIDL part of the Highlight API (Bug 1703961) iterator access to the contents of a maplike/setlike from C++ is needed. Currently, helper functions are provided to `add()`, `delete()`, `clear()` or `has()/get()` on the setlike/maplike, but it is not possible to iterate / get the contents, i.e. `begin()..end()` or `keys()`.
Bug 1799890 Comment 0 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
For proper implementation of the WebIDL part of the Highlight API (Bug 1703961) iterator access to the contents of a maplike/setlike from C++ is needed. Currently, helper functions are provided to `add()`, `delete()`, `clear()` or `has()/get()` on the setlike/maplike, but it is not possible to iterate / get the contents, e.g. by using `begin()..end()` or `keys()`.