W3C home > Mailing lists > Public > public-script-coord@w3.org > October to December 2014

[Bug 27048] New: Allow partial enums

From: <bugzilla@jessica.w3.org>
Date: Tue, 14 Oct 2014 15:51:04 +0000
To: public-script-coord@w3.org
Message-ID: <bug-27048-3890@http.www.w3.org/Bugs/Public/>
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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:14:23 UTC