Require default dictionary value for optional dicts

This commit is contained in:
Kagami Sascha Rosylight 2019-07-06 16:20:50 +09:00
parent 56f31c85ef
commit 01151274f1
71 changed files with 105 additions and 98 deletions

View file

@ -12,7 +12,7 @@
* http://www.openwebfoundation.org/legal/the-owf-1-0-agreements/owfa-1-0.
*/
[Constructor(DOMString type, optional ProgressEventInit eventInitDict),
[Constructor(DOMString type, optional ProgressEventInit eventInitDict = {}),
Exposed=(Window,Worker)]
interface ProgressEvent : Event {
readonly attribute boolean lengthComputable;