[Bug 27048] New: Allow partial enums

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

            Bug ID: 27048
           Summary: Allow partial enums
           Product: WebAppsWG
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: WebIDL
          Assignee: cam@mcc.id.au
          Reporter: mounir@lamouri.fr
        QA Contact: public-webapps-bugzilla@w3.org
                CC: bzbarsky@mit.edu, mike@w3.org,
                    public-script-coord@w3.org

It would be interesting to have partial enums in order to enforce an allowed
list of keywords passed as parameters but still allow other specification to
extend that list without having to make the parameter an DOMString.

A concrete use case would be the Permissions API that would define a
PermissionName enum that could be extended by specifications defining new
permissions.

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

Received on Tuesday, 14 October 2014 15:51:06 UTC