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

Replace FileError with DOMException #9

Closed inexorabletash closed 8 years ago

inexorabletash commented 8 years ago

FileError was a type specific to this spec defined as a subclass of DOMError. Only Chrome implemented FileError and we're trying to eliminate DOMError from the platform as well.

Chrome has removed FileError from the implementation of this API, replacing usage with DOMException, but this has not yet hit "stable". This is a corresponding spec change, which will hopefully prove to be web compatible. This simplifies the specification but does re-introduce the use of TypeMismatchError which is otherwise slowly being removed from the platform.

inexorabletash commented 8 years ago

@aliams, @smaug---- FYI - I'm not rushing to get this merged in, but feedback welcome.