WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
45815
Allow the embedder to specify the base path for IndexedDB.
https://bugs.webkit.org/show_bug.cgi?id=45815
Summary
Allow the embedder to specify the base path for IndexedDB.
Jeremy Orlow
Reported
2010-09-15 04:43:29 PDT
Allow the embedder to specify the base path for IndexedDB.
Attachments
Patch
(14.36 KB, patch)
2010-09-15 04:48 PDT
,
Jeremy Orlow
steveblock
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Jeremy Orlow
Comment 1
2010-09-15 04:48:10 PDT
Created
attachment 67665
[details]
Patch
Andrei Popescu
Comment 2
2010-09-15 07:14:59 PDT
WebKit/chromium/public/WebIDBFactory.h
> open(name, description, callbacks, origin, webFrame, "/tmp/temporary-indexed-db-files");
Why do we need the string at the end? Can it just be the empty string?
Jeremy Orlow
Comment 3
2010-09-15 07:19:27 PDT
(In reply to
comment #2
)
> WebKit/chromium/public/WebIDBFactory.h > > open(name, description, callbacks, origin, webFrame, "/tmp/temporary-indexed-db-files"); > > Why do we need the string at the end? Can it just be the empty string?
It's so things don't break mid-roll. I'll then land the other half, and then we remove this. Using this directory is actually the current behavior.
Steve Block
Comment 4
2010-09-16 03:14:00 PDT
Comment on
attachment 67665
[details]
Patch
> + String path = ":memory:";
Presumably this is a magic value interpreted by SQLiteDatabase? Isn't there a constant you can use for the string?
Jeremy Orlow
Comment 5
2010-09-16 03:20:11 PDT
(In reply to
comment #4
)
> (From update of
attachment 67665
[details]
) > > + String path = ":memory:"; > Presumably this is a magic value interpreted by SQLiteDatabase? Isn't there a constant you can use for the string?
Even SQLite's internal code hard codes the string rather than using a constant, so I'm pretty sure not.
Steve Block
Comment 6
2010-09-16 03:22:39 PDT
Comment on
attachment 67665
[details]
Patch OK, probably not worth using a local constant for just a single use
Jeremy Orlow
Comment 7
2010-09-16 04:28:05 PDT
Committed
r67605
: <
http://trac.webkit.org/changeset/67605
>
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