Closed inexorabletash closed 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:
This should be unblocked now (wpt and bikeshed updated).
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:
need to be written like this instead:
(with the addition of
= {}
on the dictionary argument).For entries-api: