SuperblocksHQ/superblocks-lab

Unhandled exception when saving a file without local storage room (no space left)

Opened this issue · 0 comments

Environment/Browser

Version 1.3.0

Description

When saving a file without local storage room, the application generates an unhandled exception.

Steps to reproduce

  1. Get to a point where the local storage is full *
  2. Edit any existing file, adding to it
  3. Save the file

Expected result

An on-screen error message or alert.

Actual result

Unhandled exception DOMException with message:

Failed to execute 'setItem' on 'Storage': Setting the value of 'dapps1.1.0' exceeded the quota.