[webkit-dev] Queries regarding indexed db implementation

Jiyeon Kim jiyeon0402.kim at samsung.com
Wed May 2 23:58:53 PDT 2012


On Thursday, May 03, 2012 at 1:59AM, Alec Flett alecflett at chromium.org wrote:

Hi all.

 

This is Jiyeon Kim recently joined webkit-dev mailing list.

 

Welcome - I'm somewhat new here myself, but I am working on IndexedDB support in WebKit..

 

 

I’ve got two questions on IndexedDB.

First, I wonder, while Web storage and Web SQL have tracker, why Indexed DB doesn’t have tracker.

 

What do you mean by "tracker" ?

ð  Thank you for your reply.

 

Second, if you look at IDBFactory::open() method in IDBFactory.cpp file,

the fifth argument of m_backend->open(name, request.get(), context->securityOrigin(), frame, String()); is not about path information but a string (i.e., document->page()->group().groupSettings()->indexedDBDatabasePath();).

I also wonder why it is a string rather than a path.

The m_backend is an interface to the actual database implementation - that tends to deal with stuff at a slightly lower level (i.e. actual paths on disk, etc) - are you looking for a url path? All the IDB's for a security origin are accessable to each other, and not connected to the rest of the URL (i.e.  <http://foo.com/abc> http://foo.com/abc has the same security origin as  <http://foo.com/xyz> http://foo.com/xyz so they have access to the same set of IDB files, so indexedDBDatabasePath() is the same)

 

 Alec

Thanks for your time to look into my questions.

Best regards,
Jiyeon Kim

 

_______________________________________________
webkit-dev mailing list
 <mailto:webkit-dev at lists.webkit.org> webkit-dev at lists.webkit.org
 <http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev> http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20120503/a322441d/attachment.html>


More information about the webkit-dev mailing list