You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by GitBox <gi...@apache.org> on 2020/12/11 03:08:37 UTC

[GitHub] [cordova-android] breautek commented on issue #1142: JavaScript Modules fail to load on some devices

breautek commented on issue #1142:
URL: https://github.com/apache/cordova-android/issues/1142#issuecomment-742936406


   JavaScript modules is not suppose to work at all because of additional security...
   
   > You need to pay attention to local testing — if you try to load the HTML file locally (i.e. with a file:// URL), you'll run into CORS errors due to JavaScript module security requirements. You need to do your testing through a server.
   
   - https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules#Other_differences_between_modules_and_standard_scripts
   
   So I'm surprised that Google Pixel 3 / Android 11 is actually working and that might be a bug in itself.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org