Skip to content

Is nullable dictionary member a footgun? #1565

@saschanaz

Description

@saschanaz

What is the issue with the Web IDL Standard?

whatwg/fs#181

Somehow the File System specification made all optional dictionary members nullable while never expecting them to be null, and then somehow no implementers filed a spec issue and went ahead dealing with null.

I wonder how many nullable dictionary members are out there and how intentional they are. I certainly think this is not the first case where someone just put nullable into dictionary member without knowing that the optionality is implied. I can make and run some linter in webidl2.js...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions