anderejd

Results 61 comments of anderejd

Patiently awaiting these improvements 👍

I'm working on this... I'll post here when done. :) Unless someone beats me to it.

PR is up: https://github.com/icefoxen/cargo-osha/pull/7

I can confirm that my similar issues got resolved by updating syn.

I haven't tried it. Probably by calling from WASM back out to javascript and from there into the node and electron APIs. If you figure it out feel free to...

If anyone wants to bite into this and send a PR that would be most welcome. This is just a small experiment on my part and the first time I...

Related to: https://github.com/anderejd/electron-wasm-rust-example/issues/8 My guess is that you tried to use Electron version 4? I upgraded this example to version 5 in the issue linked above.

I have spent an hour or two looking into this and it seems like loading wasm from the same origin, like any other resource really __should__ be allowed but are...

This comment resonates with my current impression of this issue: > What is the reason Chromium can't allow loading of wasm modules from same-origin Response objects? https://github.com/WebAssembly/content-security-policy/issues/7#issuecomment-441259729

TODO: Experiment with some more combinations of settings for CSP in hope of finding a clean workaround, without warnings and security holes, https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/script-src