javascript icon indicating copy to clipboard operation
javascript copied to clipboard

Internet Explorer 11: standalone demo app doesn't work

Open afercia opened this issue 5 years ago • 2 comments

Explanation

The standalone demo app http://localhost:3333/ doesn't work with Internet Explorer 11 because of some obscure (IE11 doesn't help) JS errors.

Especially relevant when there's the need to test components in IE 11.

Screenshots:

Obscure error:

Screenshot (23)

Clicking the error line leads to a long base64 encoded string:

Screenshot (24)

Which seems related to the parse5 package formatting-element-list:

Screenshot (25)

Debugging on IE 11 is terrible and didn't spend more time on this. Just tried with an exclusion process and removing these components from the app demo makes IE11 happy:

  • KeywordExample
  • SnippetEditor
  • LinkSuggestionsWrapper

Wild guess: some npm package used in all these three components has issues with IE11.

I do realize this isn't a priority, however at the moment testing the component on IE11 is not possible.

Technical decisions

Feedback?

afercia avatar Sep 05 '19 11:09 afercia

Probably parse5 needs to be transpiled? See https://github.com/inikulin/parse5/issues/252

/Cc @atimmer 👋

afercia avatar Sep 05 '19 12:09 afercia

Still an issue and, for example, I can't test https://github.com/Yoast/javascript/pull/376 with IE11.

Not sure who's the best person to ping 🙂

afercia avatar Oct 28 '19 11:10 afercia