WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
88065
[BlackBerry] IndexedDB file should be sand-boxed to the application data directory.
https://bugs.webkit.org/show_bug.cgi?id=88065
Summary
[BlackBerry] IndexedDB file should be sand-boxed to the application data dire...
Charles Wei
Reported
2012-06-01 02:30:45 PDT
1. The IndexedDB now is only enabled for in-memory levelDB, we should make it file system persistent. 2. The directory should be sandboxes at the application data directory, with each security origin has its own sand-boxed directory.
Attachments
Patch
(1.91 KB, patch)
2012-06-01 02:36 PDT
,
Charles Wei
no flags
Details
Formatted Diff
Diff
Patch
(3.78 KB, patch)
2012-06-05 18:13 PDT
,
Charles Wei
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Charles Wei
Comment 1
2012-06-01 02:36:15 PDT
Created
attachment 145247
[details]
Patch
Rob Buis
Comment 2
2012-06-01 07:08:35 PDT
Comment on
attachment 145247
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=145247&action=review
> Source/WebCore/Modules/indexeddb/IDBFactory.cpp:102 > + m_backend->open(name, request.get(), context->securityOrigin(), frame, String(BlackBerry::Platform::Client::get()->getApplicationDataDirectory().c_str()));
Is it possible to put get dataDir in a port specific section? So if dataDir is empty we call BlackBerry::Platform::Client::get()->getApplicationDataDirectory()? Or is there nothing port specific?
Charles Wei
Comment 3
2012-06-01 08:22:20 PDT
Comment on
attachment 145247
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=145247&action=review
>> Source/WebCore/Modules/indexeddb/IDBFactory.cpp:102 >> + m_backend->open(name, request.get(), context->securityOrigin(), frame, String(BlackBerry::Platform::Client::get()->getApplicationDataDirectory().c_str())); > > Is it possible to put get dataDir in a port specific section? So if dataDir is empty we call BlackBerry::Platform::Client::get()->getApplicationDataDirectory()? Or is there nothing port specific?
Yes, we should make that at a port specific section. I'll try with another patch. Thanks.
Charles Wei
Comment 4
2012-06-05 18:13:47 PDT
Created
attachment 145909
[details]
Patch
WebKit Review Bot
Comment 5
2012-06-06 00:01:34 PDT
Comment on
attachment 145909
[details]
Patch Clearing flags on attachment: 145909 Committed
r119566
: <
http://trac.webkit.org/changeset/119566
>
WebKit Review Bot
Comment 6
2012-06-06 00:01:42 PDT
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug