trustbloc / sandbox

Demonstration environments
Apache License 2.0
21 stars 31 forks source link

webwallet - not working in safari #570

Open sudeshrshetty opened 4 years ago

sudeshrshetty commented 4 years ago

safari blocks indexdb access from thirdparty iframe

image

To reproduce: CHAPI works from https://agent.dev.trustbloc.dev/webwallet not from https://issuer-adapter.dev.trustbloc.dev/

soluchok commented 4 years ago

@sudeshrshetty I don't think it can be fixed.

panic: JavaScript error: IDBFactory.open() called in an invalid security context writeSync — wasm_exec.js:47 writeSync — wasm_exec.js:47

Workaround for local development: https://stackoverflow.com/questions/58861509/indexdb-in-iframe-safari @sudeshrshetty also you can use safari version 14.0 (15610.1.28.1.7, 15610). It works too.

BTW: The latest version seems to be working fine.

Screen Shot 2020-09-16 at 12 05 28 PM