rick.zhi.xu at gmail.com
Fri Jun 11 08:27:52 PDT 2010
I have tested it. In the line
3000 means bytes. So be careful when you set it for your database.
2010/6/10 Rick Xu <rick.zhi.xu at gmail.com>:
> Hi Brent,
> The database creation problem has been solved. I believe the reason
> security quota. It must be greater than 0. But initially, it's set as
> 0. So, no new database will be allowed to create.
> The solution is quite similar to the approach described in the following link:
> What I did is adding a line of code
> before the check
> if (requirement <= quotaForOriginNoLock(origin))
> return true;
> in the DatabaseTracker.cpp. Then, we can create the database successfully.
> But I am still a little bit confused about the "quota". I think 3000
> is quite a big number . What does it mean? the number of databases
> allowed to create? or the size of space allowed for database ?
> Best wishes,
> 2010/5/25 Brent Fulgham <bfulgham at gmail.com>:
>> Hi Rick,
>> On Tue, May 25, 2010 at 12:13 PM, Rick Xu <rick.zhi.xu at gmail.com> wrote:
>>> browser. I found several problems:
>> The WinLauncher utility isn't a true web browser; it's just a small
>> launcher application that wraps WebKit and allows simple testing that
>> rendering and other functions work properly. Much of the
>> functionality you are hoping for is provided by the browser, and is
>> not implemented in WinLauncher.
>>> 1. When I right click on a URL address on the webpage and select "Open
>>> Link in New Window", nothing happened. It should open a new window and
>>> display the URL.
>> No logic was included to launch new frames. This might be controlled
>> by a preference, but I haven't looked into this as I did not need
>> separate windows for my program.
>>> simple line as " alert("say hi"); " will not pop up any alert window;
>> WebKit is executing the alert; it's just that the default
>> implementation is a no-op. You need to provide a delegate to do
>> something with the alert message. This is provided by the
>> IWebFrameLoadDelegate interface. Take a look in the "include/WebKit"
>> folder after a build is complete to see the declarations for this
>>> 3. The SQLite database support. The line " db =
>>> openDatabase("NoteTest", "1.0", "HTML5 Database API example", 200000);
>>> " will get no response;
>> I have not tried this functionality out. I know some of the other
>> HTML5 test cases used to work, but I haven't looked at them recently.
More information about the webkit-help