Languages

Menu
Sites
Language
JavaScript ES6 Modules

Does Tizen support Javascript modules? https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules

I attempted to utilize it in my HTML by adding the type="module" attribute to the script tag as below:

<script type="module" src="app.js"></script>

During debugging, inspecting the network tab in the Chrome console showed that the app.js file never loaded in. Is this functionality not supported in Tizen or am I doing something incorrectly?

Edited by: Wood on 12 Aug, 2019

Responses

1 Replies
Dmitry Vlasov

Same story. It says

Failed to load module script: The server responded with a non-JavaScript MIME type of "". Strict MIME type checking is enforced for module scripts per HTML spec.