WICG / entries-api

Spec defining browser support for file/directory upload by drag-and-drop
https://wicg.github.io/entries-api/
Other
41 stars 9 forks source link

Update to Web IDL changes to optional dictionary defaulting #32

Closed inexorabletash closed 5 years ago

inexorabletash commented 5 years ago

Optional dictionaries must be defaulted with {}. Since these cases follow an optional DOMString? path argument, that must have a default value as well so make it null.

Fixes #31

marcoscaceres commented 5 years ago

It looks a lot like [TreatNullAs]... why not require the first argument, if it's just ""?