This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
The Web Bluetooth spec has some union types containing unsigned longs that we may want to apply [EnforceRange] to: https://webbluetoothcg.github.io/web-bluetooth/#idl-def-bluetoothserviceuuid. However, the [EnforceRange] documentation does not include union types in the set of things it can apply to: https://heycam.github.io/webidl/#EnforceRange. It would be most convenient for Web Bluetooth if we could put [EnforceRange] directly into the union types and typedefs where it's needed, but we could explicitly put it on the operations that take values of these types.
Note https://lists.w3.org/Archives/Public/public-script-coord/2016JulSep/0037.html.
And also https://github.com/heycam/webidl/issues/33.
See a proposed fix to this in https://github.com/heycam/webidl/pull/286
Fixed in https://github.com/heycam/webidl/commit/faaaaa9ffb548a303db362a09e4b1504c4605e0c.