Skip to content

Files with spaces can make the browser tab hang #437

@gideonthomas

Description

@gideonthomas

STR:

  • Create a CSS file with spaces in the name
  • Add a style rule (I tried an h1 rule)
  • Go to the index.html doc and link to the newly created stylesheet
  • Go back to the stylesheet and try to add a space after an opening brace (I think any sort of change would also cause the same thing)

Result:
The tab hangs and then we see a bunch of errors pop up in the console...after which the tab still hangs (I had to shut it down with chrome task manager).

Here's a gif of what I did for this:
spaces-breaks-everything

I tried this with a file without spaces in the name and couldn't reproduce.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions