Fix the error handling for the latest version of browsers

The error name is now a days `QuotaExceededError` in both Firefox and
Chrome.