JS Loading Problem

By design Issue #11306760


Derrick H.
Mar 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

For some reason the page fails to load the JS with no errors or notices to the developer to know what is wrong. I have reduced the JS down to a single alert call and got it to work as a random test.

Please see https://gist.github.com/pcfreak30/928b8e0035ddb8c324bb2aaedf407c91


Comments and activity

  • Microsoft Edge Team

    Changed Assigned To to “Steven K.”

  • Hi Derrick,

    The issue is with the usage of CDATA inside the header section’s <script> tag.  I believe it is safest and more portable to escape the script contents.  I attached a screenshot of Edge’s debugger console that shows the parsing error for this section.

    Here are two links as reference:


    Let us know if this doesn’t resolve the issue,

    The MS Edge Team

  • I forgot to mention I all attached a modified version of the html document with my suggestion.

    <script data-no-minify="1">

      (function(h){var d=function(d,e,n){
    … removed …

  • Microsoft Edge Team

    Changed Status to “By design”

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

Sign in