Fail to parse javascript with extension installed and no starting html tag in Microsoft Edge

Issue #10994893 • Assigned to Steven K.


Gabor M.
Feb 17, 2017
This issue is public.
Found in
  • Microsoft Edge
Found in build #
Reported by 1 person

Sign in to watch or report this issue.

Steps to reproduce

Steps to reproduce:

  1. Install an extension, like AdBlock, probably one with a content script
  2. Navigate to an html file, like this one:
<script language="javascript">
    function doSubmit(){
        // comment 1
        // comment 2

<body onLoad="doSubmit();">



I know it is not valid html, but its the stripped down version of an existing site where I found this issue.

Expected: redirection occur
Result: syntax error in javascript, no } closing tag

Disable the extension and it works as expected. It works in other browser with and without extension as well.


0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “Brad E.”

      Changed Assigned To from “Brad E.” to “Steven K.”

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

    Sign in