Crash or reload loop when adding css class to JS generated <output> element

Fixed Issue #11141600

Details

Created
Mar 2, 2017
Privacy
This issue is public.
Found in
  • Microsoft Edge
Found in build #
38
Reports
Reported by 1 person

Sign in to watch or report this issue.

Steps to reproduce

Description

Simply generate an output element with document.createElement('output'), then try to add a css class via .classList.add('classname'). The browser will crash or enter some kind of reload loop.

Environment

Microsoft Edge 38.14393.0.0
Microsoft EdgeHTML 14.14393
Windows 10

Example:

<html>
<head>
<script>document.createElement('output').classList.add('c');</script>
</head>
<body>
</body>
</html>

Addendum

I’ve simplified this example as much as I could be bothered, but it should be noted that the crash still occurs in more complicated scenarios, and doesn’t seem to depend on DOM state, etc.

Attachments

0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “James M.”

      Changed Status to “Fixed”

    • Hello,

      Thank you for providing this information about the issue. We are pleased to report this feature is fixed in Edge 15145 and will be available in a new build.

      Best Wishes,
      The MS Edge Team

    You need to sign in to your Microsoft account to add a comment.

    Sign in