[Bug 28834] New: Clarify whether and how [EnforceRange] applies to union types

https://www.w3.org/Bugs/Public/show_bug.cgi?id=28834

            Bug ID: 28834
           Summary: Clarify whether and how [EnforceRange] applies to
                    union types
           Product: WebAppsWG
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: WebIDL
          Assignee: cam@mcc.id.au
          Reporter: jyasskin@gmail.com
        QA Contact: public-webapps-bugzilla@w3.org
                CC: mike@w3.org, public-script-coord@w3.org

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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Received on Sunday, 21 June 2015 14:38:57 UTC