chrome.storage.local.get限制 [英] chrome.storage.local.get limit

查看:230
本文介绍了chrome.storage.local.get限制的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在创建一个用于存储供稿数据的Google Chrome扩展程序.我的扩展程序使用无限存储,到目前为止还没有遇到任何类型的限制来保存数据,但是我正在使用chrome.storage.local.get遇到问题.

I'm creating a Google Chrome Extension that stores feed data. I have my extension using unlimited storage and so far haven't hit any type of limits saving data, but I am running into one using chrome.storage.local.get!

如果chrome.storage.local.get返回的总大小大于840k,则扩展名崩溃.我找不到任何限制吗?有任何想法吗?如果我能够将chrome.storage.local.set设置为2MB,那么为什么我无法获取它!我正在使用22.0.1229.94 m版本进行测试.

If the total size returned by chrome.storage.local.get is > 840k the extension crashes. I can't find any limit on this?! Any ideas? If I'm able to chrome.storage.local.set a value of 2MB why on earth wouldn't I be able to fetch it!! I'm testing using Version 22.0.1229.94 m.

我已经为崩溃创建了错误报告 ,但是有人可以给我有关此限制的任何信息吗?

I've created a bug report for the crash, but can anyone give me any information on this limit?

推荐答案

这是fl幸.一次不错的重启修复了它.

It was a fluke.. A nice reboot fixed it.

这篇关于chrome.storage.local.get限制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆