Bug 50656

Summary: WebKit2: Implement WebChromeClient::exceededDatabaseQuota
Product: WebKit Reporter: Jessie Berlin <jberlin>
Component: WebKit2Assignee: Jessie Berlin <jberlin>
Status: RESOLVED FIXED    
Severity: Normal CC: aroben, beidson, jberlin, sam, webkit-ews, webkit.review.bot
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
Patch
none
Patch (with Qt build fix and windows version of MiniBrowser build fix) none

Jessie Berlin
Reported 2010-12-07 16:31:47 PST
This method must be implemented in order for HTML5 Databases to work in WebKit2, since each HTML5 Database starts off with a quota of 0. <rdar://problem/8607023>
Attachments
Patch (13.78 KB, patch)
2010-12-07 17:23 PST, Jessie Berlin
no flags
Patch (with Qt build fix and windows version of MiniBrowser build fix) (15.17 KB, patch)
2010-12-08 08:47 PST, Jessie Berlin
no flags
Jessie Berlin
Comment 1 2010-12-07 17:23:03 PST
Early Warning System Bot
Comment 2 2010-12-07 21:50:37 PST
WebKit Review Bot
Comment 3 2010-12-07 21:56:45 PST
Attachment 75853 [details] did not pass style-queue: Failed to run "['WebKitTools/Scripts/update-webkit']" exit_code: 2 Updating OpenSource Incomplete data: Delta source ended unexpectedly at /usr/lib/git-core/git-svn line 5061 Died at WebKitTools/Scripts/update-webkit line 132. If any of these errors are false positives, please file a bug against check-webkit-style.
Jessie Berlin
Comment 4 2010-12-08 08:47:49 PST
Created attachment 75910 [details] Patch (with Qt build fix and windows version of MiniBrowser build fix) I ran check-webkit-style locally (for both this and the previous patch) and it reported 0 errors.
Adam Roben (:aroben)
Comment 5 2010-12-08 10:51:02 PST
Comment on attachment 75910 [details] Patch (with Qt build fix and windows version of MiniBrowser build fix) View in context: https://bugs.webkit.org/attachment.cgi?id=75910&action=review > WebKit2/UIProcess/API/qt/qwkpage.cpp:364 > + 0, /* pageDidScroll */ > + 0 /* exceededDatabaseQuota */ Maybe you should match the existing spacing here? > WebKitTools/WebKitTestRunner/TestController.cpp:139 > + 0, // pageDidScroll > + 0 // exceededDatabaseQuota And here. > WebKitTools/WebKitTestRunner/TestController.cpp:242 > + 0, // pageDidScroll > + 0 // exceededDatabaseQuota And here.
Jessie Berlin
Comment 6 2010-12-08 10:52:27 PST
(In reply to comment #5) > (From update of attachment 75910 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=75910&action=review > > > WebKit2/UIProcess/API/qt/qwkpage.cpp:364 > > + 0, /* pageDidScroll */ > > + 0 /* exceededDatabaseQuota */ > > Maybe you should match the existing spacing here? > > > WebKitTools/WebKitTestRunner/TestController.cpp:139 > > + 0, // pageDidScroll > > + 0 // exceededDatabaseQuota > > And here. > > > WebKitTools/WebKitTestRunner/TestController.cpp:242 > > + 0, // pageDidScroll > > + 0 // exceededDatabaseQuota > > And here. I originally matched the existing spaces, and then check-webkit-style complained about the rule where there should only be one space before an end-of-line comment. I will change them back to match the existing spaces. Thanks for the review!
Jessie Berlin
Comment 7 2010-12-08 11:07:49 PST
Comment on attachment 75910 [details] Patch (with Qt build fix and windows version of MiniBrowser build fix) Committed in r73533 http://trac.webkit.org/changeset/73533
Note You need to log in before you can comment on or make changes to this bug.