-
-
Notifications
You must be signed in to change notification settings - Fork 152
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
webxdc: .wasm
files don't work
#2635
Comments
imu, also on android, there is no "White List": it just seems as if for doom.zip: that also does not work in a browser (tested firefox/mac and chrome/mac) - if not yet done, we should also add a test for |
Whoops, you're right, I missed the
Huh? How did you test? It works for me, with
The error implies that it's supposed to be |
i just opened index.html from the .xdc in a browser - usually, that should work (maybe in this case not as again the mime type is wrong) |
i created a pr, #2636, CI should create and .apk that can be used for testing. as doom.xdc is too large, please also add a little thing to |
closed by #2636 for the missing test in webxdc-test i created webxdc/webxdc-test#20 and assigned @WofWca - @WofWca if you cannot add the test for whatever reason, please un-assign yourself |
A potential gotcha is MIME type. See deltachat/deltachat-android#2635 Closes #20
I get this error:
Responsible code:
deltachat-android/src/org/thoughtcrime/securesms/WebxdcActivity.java
Lines 237 to 246 in c4a4469
In DC Desktop there is no MIME type "white-list"Here's the relevant Desktop code:
https://github.com/deltachat/deltachat-desktop/blob/5accdc9718ebd93461c38e346daa518e2096364f/src/main/deltachat/webxdc.ts#L145-L192
Test file (rename to
.xdc
): doom.zipRelated: webxdc/webxdc-test#15
The text was updated successfully, but these errors were encountered: