vulpemventures / marina

Liquid Wallet browser extension
MIT License
37 stars 19 forks source link

Detect shell prompt closing #314

Closed tiero closed 2 years ago

tiero commented 2 years ago

The shell prompt triggerd for example by window.marina.enable can be either rejected or accepted, but there is a third condition whoch user user closing it (wither the window cross or via keyboard shortcut)

We shhould intercept this, and throw via the Broker an error to the caller