KEMBAR78
files members should be a sequence, not a FrozenArray · Issue #165 · w3c/web-share · GitHub
Skip to content

files members should be a sequence, not a FrozenArray #165

@marcoscaceres

Description

@marcoscaceres

When passing dictionaries as arguments, FrozenArray doesn't make much sense, as:

  1. dictionaries are passed by value
  2. it implies that dictionary.files = Array.freeze([...files]);, which is really what is mean there.

Related discussion whatwg/webidl#900

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