Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test ESR wasm support #125

Merged
merged 2 commits into from
Oct 26, 2021
Merged

Test ESR wasm support #125

merged 2 commits into from
Oct 26, 2021

Conversation

cormacrelf
Copy link
Collaborator

@cormacrelf cormacrelf commented Oct 26, 2021

This adds an integration test, ultimately means we keep track of which WASM features are supported by the ESR used in Zotero. Running against a new zotero-standalone-build with a new ESR, e.g. ESR 78 or the new one coming in November will require updating this test case, so we'll know which ones it has brought support for. Thanks to https://github.com/GoogleChromeLabs/wasm-feature-detect for the feature detection.

Related: #108

Comment on lines +69 to +85
// ESR 60.9 supports none of the newer features, but
// you would expect to have to change a few of these
// when newer ESRs are used in Zotero.
let expected = {
mutableGlobals: false,
bigInt: false,
bulkMemory: false,
exceptions: false,
memory64: false,
multiValue: false,
referenceTypes: false,
saturatedFloatToInt: false,
signExtensions: false,
simd: false,
tailCall: false,
threads: false,
};
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

The key bit

@cormacrelf cormacrelf merged commit 502e4f0 into master Oct 26, 2021
@cormacrelf cormacrelf deleted the test-esr-wasm-support branch October 26, 2021 04:00
@adomasven
Copy link
Member

This is great, thanks for adding it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants