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

feat: add test for .wasm files #22

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

feat: add test for .wasm files #22

wants to merge 2 commits into from

Conversation

WofWca
Copy link
Contributor

@WofWca WofWca commented Aug 13, 2023

A potential gotcha is MIME type. See
deltachat/deltachat-android#2635

Closes #20

@WofWca WofWca requested a review from r10s August 13, 2023 12:21
@WofWca
Copy link
Contributor Author

WofWca commented Aug 13, 2023

Currently the test succeeds on Desktop and fails on Android.

@r10s
Copy link
Contributor

r10s commented Sep 15, 2023

not sure if the test outcome is correct:

did not test android

EDIT: looking at the code, might be that the path for fetch() is not working in the browser; needs more investigation

@WofWca
Copy link
Contributor Author

WofWca commented Sep 27, 2023

it says "WASM not supported" on deltachat-ios (which may be true) ...

I don't know, I haven't looked at the source code there. Maybe it's the same as deltachat/deltachat-android#2635

it also says "WASM not supported" when opened in the safari-browser on mac

Again, how did you test it? By opening it as file:// or by setting up an http server? I'm not sure if fetch() is supposed to work like this for file: URLs.

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

Successfully merging this pull request may close these issues.

add test referencing .wasm file
2 participants