Skip to content

Constructors for some DOM types may simply throw. #53

Closed
@joshualitt

Description

@joshualitt

Currently, there are many constructors that throw. For example, web.HTMLDivElement(). We should either lower these like dart:html to document.createElement, or we should find some way to disallow invoking the constructor statically, i.e. a lint.

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