Html5 Localstorage超出最大范围

最近做worklight开发,遇到一个问题如下图:
QuotaExceededError
这个问题是说超出了最大空间限制。然后经过就想着怎么去修改最大限制呢?

最后找到这么个网页:
https://arty.name/localstorage.html

在这个网页上可以测试各种浏览器的最大限制,其中还给出了Firefox最大空间限制设置的方法,如下:

Adjusting quotas

Opera:
Doesn’t actually requires adjusting. You can however change default storage size at which Opera will propose increasing limit. It is defined by Domain Quota For localStorage option. It’s value is in kilobytes.
Firefox:
Go to about:config and search for “dom.storage.default_quota” option. It’s value is in kilobytes.

你可能感兴趣的:(html5,html5,localstora)