superblocks-lab
superblocks-lab copied to clipboard
Triggering Compile action without storage space and without having the build directory in place hangs forever
Environment/Browser
Version 1.3.0
Description
When compiling under the full storage conditions (no space left) and without having the build
directory in place at all, the compiler hangs forever (spinning icon). This only happens when there is no room for even creating the build
file (directory).
Dozens of alert messages will also pop up (possibly a recursive error ? infinite alerts? ):
Could not save dappfile.
Steps to reproduce
- Get to a point where the local storage is full *
- Make sure the build directory is not present (If needed, delete it and double check there is no more room for storing anything afterwards)
- Click the Compile action
- See also: #283
Expected result
Error message or alert without any console errors.
Actual result
It appears that setItem
(in saveFile
) fails to execute due to lack of storage space, resulting in unhandled DOMException
.