Closed testuser2 closed 4 years ago
Origin page Failing to load demo module scripts due to strict MIME type checking in both Chrome and Firefox Developer Edition. For example in https://www.webcomponents.org/element/@polymer/paper-input/demo/demo/index.html
Errors appearing in Chrome console: A number of "Failed to load module script: The server responded with a non-JavaScript MIME type of "text/html". Strict MIME type checking is enforced for module scripts per HTML spec."
Errors appearing in Firefox console: A number of "Loading module from “https://npm-demos.appspot.com/@polymer/iron-icons@3.0.1/iron-icons.js?@polymer/paper-input@3.2.0” was blocked because of a disallowed MIME type (“text/html”)."
Seems to be fixed, working in both browsers.
Origin page Failing to load demo module scripts due to strict MIME type checking in both Chrome and Firefox Developer Edition. For example in https://www.webcomponents.org/element/@polymer/paper-input/demo/demo/index.html
Errors appearing in Chrome console: A number of "Failed to load module script: The server responded with a non-JavaScript MIME type of "text/html". Strict MIME type checking is enforced for module scripts per HTML spec."
Errors appearing in Firefox console: A number of "Loading module from “https://npm-demos.appspot.com/@polymer/iron-icons@3.0.1/iron-icons.js?@polymer/paper-input@3.2.0” was blocked because of a disallowed MIME type (“text/html”)."