Skip to content

Conversation

CendioOssman
Copy link
Member

Very few browsers are left in the wild that supports modules but not "nomodule", so let's simplify our handling a bit.

See here:

https://caniuse.com/#search=nomodule

It's basically Safari 10 (on both iOS and macOS) that is the issue, and there seems to be few devices out there still using it.

@samhed samhed added the cleanup label Sep 24, 2019
@samhed samhed added this to the v1.2.0 milestone Sep 24, 2019
Very few browsers are left in the wild that supports modules but not
"nomodule", so let's simplify our handling a bit.

Safari 10 supports modules but not 'nomodule', this means that this
particular version of Safari will be broken. Due to this we have to
bump up the required Safari version to 11.
Copy link
Member

@samhed samhed left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works well. Verified on IE 11, Edge, Chrome, Firefox on Windows 10 and Safari 14 on macOS 10.14.

Safari 10 supports modules but not 'nomodule', this means this particular version will be very broken. But it seems the market share for Safari 10 is quite small, so we're willing to live with this.

I force-pushed an update to the README in this commit that updates the minimum required safari version as well.

@samhed samhed merged commit 35b78e9 into novnc:master Sep 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants