globalStorage[] working in resource:// - bug or feature?
Massimiliano Mirra <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.dom |
|---|---|
| Organization | http://groups.google.com |
| Message-ID | <4d513ac0-12ee-4bff-8584-344b27371e3a@g38g2000yqd.googlegroups.com> |
Hi all, I've been pining for DOM storage in local (unprivileged) documents for a while, and looking around (https://bugzilla.mozilla.org/show_bug.cgi? id=357323, https://bugzilla.mozilla.org/show_bug.cgi?id=469192) things didn't seem promising. However, at one point I tried calling globalStorage['foo'] from a resource://foo/index.html document, and to my surprised it worked! Question: is this intended and can it be relied upon, or is it a bug and will suddenly stop working at some point? Thanks, -m