Re: URLs into IndexedDB databases

2013-07-18 Thread Kornel Lesiński
On Mon, 15 Jul 2013 09:57:30 +0100, Jonas Sicking jo...@sicking.cc wrote: indexeddb:origin/persistence/database/objectStore/index/key/keypath Each piece above would have to be encoded such that it contains only valid, non-'/', URL characters. For things like database name and objectStore name

Re: URLs into IndexedDB databases

2013-07-18 Thread Jonas Sicking
On Thu, Jul 18, 2013 at 6:58 AM, Kornel Lesiński kor...@geekhood.net wrote: On Mon, 15 Jul 2013 09:57:30 +0100, Jonas Sicking jo...@sicking.cc wrote: indexeddb:origin/persistence/database/objectStore/index/key/keypath Each piece above would have to be encoded such that it contains only

URLs into IndexedDB databases

2013-07-15 Thread Jonas Sicking
Hi All, One of the features that the sandboxed filesystem storage area brings over indexedDB is the filesystem: URL scheme. Or more precisely, the ability to load something from filesystem storage using a URL, without having to use the filesystem JS API at all. There is no technical reason we

Re: URLs into IndexedDB databases

2013-07-15 Thread Jonas Sicking
On Mon, Jul 15, 2013 at 11:04 AM, Joshua Bell jsb...@google.com wrote: On Mon, Jul 15, 2013 at 1:57 AM, Jonas Sicking jo...@sicking.cc wrote: Hi All, One of the features that the sandboxed filesystem storage area brings over indexedDB is the filesystem: URL scheme. Or more precisely, the

Re: URLs into IndexedDB databases

2013-07-15 Thread Anne van Kesteren
On Mon, Jul 15, 2013 at 2:30 PM, Jonas Sicking jo...@sicking.cc wrote: I don't feel very strongly. I just know there tends to be a lot of political overhead to adding new schemes, and I'm worried about the outcry if we try to add both indexeddb: and filesystem: There is some overhead in adding