Your assessment is practically accurate:
- Safari will just use a quota of
0
in private mode, so all attempts to set a value will fail. This is kinda OK according to the spec, as the spec does not mandate a minimum space requirement. - Chrome and Firefox still allow you to use storage, however private storage is independent from non-private, i.e. setting an item in private mode will not reflect back into non-private mode (important for
localStorage
only).
Please note that other browsers are also free to throw QuotaExceededError
exceptions at any given time, should you go over the quota.