在 Chrome 的 --single-process 模式下无法访问 localStorage
所以我正在尝试*使用 Chromium 的 --single-process
标志(是的,我知道这是世界上最危险的事情,等等,不需要演讲,谢谢!)与 localStorage
,并且出于某种原因,每当 Chromiums 以单进程模式启动时,localStorage
就不再能够从中访问任何数据。
这背后的原因是什么?有什么办法可以绕过它吗?
(如果这意味着重新编译 Chromium,请告诉我需要修改哪些内容。)
So I'm trying* to use Chromium's --single-process
flag (yes, I know it's the most dangerous thing in the world, etc., no need for a lecture, thanks!) with localStorage
, and for some reason, it looks like whenever Chromiums is started in single-process mode, localStorage
no longer has any data accessible from it.
What's the reason behind this? And is there any way to get around it?
(If that means recompiling Chromium, let me know what I need to modify where.)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我尝试搜索有关您的问题的一些结果,因此我进入了 irc(在 freenode,#chromium 频道),并且因为 rsleevi 没有帐户,所以我刚刚复制了我们的对话:
我:
斯利维:
在 --single-process Me
rsleevi:
:
rsleevi:
我:
rsleevi:
我知道这里没有完整的答案,但也许它会对您有所帮助。
I have tried to search for some results about your issue, so I`v entered the irc (on freenode, #chromium channel) and because rsleevi don't have account I just copied our conversation:
Me:
rsleevi:
Me:
rsleevi:
Me:
rsleevi:
Me:
rsleevi:
I know that there isn't a fully answer here, but maybe it will help you.