Skip to content

typing in lit.dev playground can lock up entire tab or browser #411

@aomarks

Description

@aomarks
  1. Open https://lit.dev/playground/ to load the default "Hello World (TypeScript)" example.

  2. Paste the following code into the class (after the name property):

constructor() {
  super();
  this.go();
}
  1. Type (don't paste) the following code after that:
async go() {
  for |
}
  1. If the browser does not lock up, try deleting/re-typing the code around the |. Eventually the tab will lock up. For @justinfagnani this also caused the entire origin to lock up, even after closing/opening tabs!

Metadata

Metadata

Assignees

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