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

           Summary: Make endings an enum
           Product: WebAppsWG
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: File API
        AssignedTo: [email protected]
        ReportedBy: [email protected]
         QAContact: [email protected]
                CC: [email protected]


I think it would make sense to make the endings member an enum as follows, to
make invalid values throw TypeError:

    enum EndingTypes { "transparent", "native" };
    dictionary BlobPropertyBag {

      ...
      EndingTypes endings = "transparent";

    };

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

Reply via email to