[Webkit-unassigned] [Bug 36671] New: WebChromeClient.cpp is buggy on Windows

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Mar 26 12:29:43 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=36671

           Summary: WebChromeClient.cpp is buggy on Windows
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: New Bugs
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: dumi at chromium.org
                CC: aroben at apple.com


1. Delete all Safari HTML5 databases.
2. WebKitTools/Scripts/build-webkit --debug (not sure if the --debug flag
changes anything, but i haven't tried this in release mode)
3. WebKitTools/Scripts/run-safari --debug
4. Run any code that tries to open a database.

RESULTS: openDatabase() fails (returns NULL)

EXPECTED: openDatabase() succeeds.

PROBLEM: When we try to open a database in a new origin (that is not in the
tracker database Databases.db), DatabaseTracker::canEstablishDatabase() makes a
call to ScriptExecutionContext::databaseExceededQuota(), which eventually calls
WebChromeClient::exceededDatabaseQuota(), which is supposed to give this new
origin 5MB of space. That does not happen:
WebChromeClient::exceededDatabaseQuota() calls some private delegate, which
does not change anything, as far as the database code is concerned.

This problem does not exist in Safari. It only shows up when running Safari
using the WebKit library built from the open source tree.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list