document.write in script.onerror handler is destructive even though document is still loading

Confirmed Issue #14495474 • Assigned to Travis L.

Details

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

Sign in to watch or report this issue.

Steps to reproduce

Calling document.write from script’s error event handler flushes document completely even if HTML parser is still running: http://jsbin.com/ramakawafa/edit?html,console,output

Attachments

0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “James M.”

      Changed Assigned To to “travil”

      Changed Status to “Confirmed”

      Changed Assigned To from “travil” to “Travis L.”

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

    Sign in