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 #31

Closed inexorabletash closed 5 years ago

inexorabletash commented 5 years ago

See: https://github.com/heycam/webidl/issues/758

Web IDL recently changed to require explicitly listing a default value for defaulted dictionaries instead of it just magically happening.

In practice what that means is that APIs like this:

Constructor (BaseAudioContext context, optional AnalyserOptions options)

need to be written like this instead:

Constructor (BaseAudioContext context, optional AnalyserOptions options = {})

(with the addition of = {} on the dictionary argument).

For entries-api:

inexorabletash commented 5 years ago

This should be unblocked now (wpt and bikeshed updated).