Safari 9.1.1. Issue - "A problem repeatedly occurred"
pburtchaell opened this issue · comments
Earlier this month I noticed an issue with some websites I built HTML for using this plugin: when landed in Safari, the page is reloaded several times and finally, shows "A problem repeatedly occurred."
Initially, I thought it was an issue with permissions from AWS S3 or an issue with my code. However, after digging a bit further, I discovered something rather alarming: if you use <script src="/app.js"></script>
the page reloads. If you use <script type="text/javascript" src="/app.js"></script>
, the page loads as expected. Considering it is a part of the HTML5 standard to exclude the type
attribute, I am wondering... is this actually a Safari bug or am I missing something here? Is anyone else having this issue?
Note, this also occurs when I do not use this plugin (such as when I am using local development server). However, considering the script tag is central to this plugin, I figured I'd make an issue here to see if anyone else encountered this.
Edit, some examples of websites:
You are right - this has to be fixed.
If you have time to fix it please update it here: https://github.com/ampedandwired/html-webpack-plugin/blob/master/index.js#L441
Otherwise I will do it myself in the next days.
PR opened in #311.
Closed because of #311
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.