Infinite loading after DOM manipulation in Edge

Issue #16265005 • Assigned to Travis L.

Details

Author
Marco K.
Created
Mar 7, 2018
Privacy
This issue is public.
Found in
  • Microsoft Edge
Found in build #
41.16299
Reports
Reported by 1 person

Sign in to watch or report this issue.

Steps to reproduce

Using document.write():

  • Navigate to https://www.bing.com
  • Open the Developer Tools
  • Enter
    document.open(); document.write("<!DOCTYPE html><head><\/head><body>Shiny new content!<\/body><\/html>"); document.close();
    in the JavaScript console -> new content is rendered, but loading of the document never ends

Using removeChild():

  • Navigate to https://www.bing.com

  • Open the Developer Tools

  • Enter
    document.documentElement.removeChild(document.body)
    in the JavaScript console -> this works!

  • Enter
    document.documentElement.removeChild(document.head)
    in the JavaScript console -> head is removed, but loading of the document never ends

  • If I use
    document.removeChild(document.documentElement)
    the result is also a document that loads forever

Edge 41.16299.248.0
EdgeHTML 16.16299

Attachments

0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “Steven K.”

      Changed Status to “Fixed”

    • Hi Marco,

      I was able to repro these issues in 16299.248.  I also tested in a recent development build and these issues have been fixed.  You should be able to see these fixes in the current or upcoming Insider Fast or Skip Ahead releases.

      Appreciate the support and this submission,

      The MS Edge Team

    • Microsoft Edge Team

      Changed Assigned To to “Steven K.”

      Changed Status from “Fixed”

      Changed Assigned To from “Steven K.” to “Travis L.”

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

    Sign in