Re:Rustler is a library for writing Erlang NIFs in safe Rust...
by hackcasual on Tuesday September 17, 2019 @12:59PM
(#20997414)
Both FireFox and Safari support same origin CSP on instantiateStreaming sources though, which doesn't work on Chrome.
[ Parent
| on HN ]
Re:Rustler is a library for writing Erlang NIFs in safe Rust...
by namibj on Thursday September 26, 2019 @07:41AM
(#21079992)
I actually mean even harsher restrictions than just some same-origin. Specifically, I mean using already-existing mechanics to figure out whether the global object is reachable by the WASM code. If so, treat as unsafe-eval for all I care. If not, treat as risky as the functionality exposed to the WASM code (testing reachability for other objects/functions that are not the global object itself).