w3c / FileAPI

File API
https://w3c.github.io/FileAPI/
Other
104 stars 44 forks source link

Rename EndingTypes to EndingType or EndingsType #91

Closed inexorabletash closed 6 years ago

inexorabletash commented 6 years ago

Sorry, missed this during the review.

The EndingTypes enum is named with a plural which doesn't make sense when used in the dictionary:

dictionary BlobPropertyBag {
  DOMString type = "";
  EndingTypes endings = "transparent";
};

There's only one type so the property type shouldn't be types.

Either EndingType or EndingsType makes more sense.

mkruisselbrink commented 6 years ago

Ah yes. I shouldn't have blindly copied the old spec. Either sounds good to me.