Closed chong-z closed 7 years ago
Marked as non-substantive for IPR from ash-nazg.
This is all valid WebIDL, and people will understand what's intended, but it's actually missing something connecting the targetRanges
member of the dictionary to the getTargetRanges()
method of the interface. I have no idea what these ranges are, but perhaps you'll want an internal slot on the event object, set by the constructor and read by the getTargetRanges()
method.
Or, just use [SameObject] readonly attribute FrozenArray<StaticRange> targetRanges
on the interface, that'd be more in line with how events and their init dicts usually work.
This PR fixes #47.