WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
47066
Add ability to set the CacheModel in Webkit2
https://bugs.webkit.org/show_bug.cgi?id=47066
Summary
Add ability to set the CacheModel in Webkit2
Sam Weinig
Reported
2010-10-03 15:31:57 PDT
Add ability to set the CacheModel in Webkit2
Attachments
Patch
(47.19 KB, patch)
2010-10-03 15:37 PDT
,
Sam Weinig
sam
: review-
Details
Formatted Diff
Diff
Patch
(33.29 KB, patch)
2010-10-03 16:24 PDT
,
Sam Weinig
andersca
: review+
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Sam Weinig
Comment 1
2010-10-03 15:37:10 PDT
Created
attachment 69596
[details]
Patch
WebKit Review Bot
Comment 2
2010-10-03 15:40:02 PDT
Attachment 69596
[details]
did not pass style-queue: Failed to run "['WebKitTools/Scripts/check-webkit-style']" exit_code: 1 WebKit2/WebProcess/win/WebProcessWin.cpp:26: Found header this file implements before WebCore config.h. Should be: config.h, primary header, blank line, and then alphabetically sorted. [build/include_order] [4] WebKit2/WebProcess/qt/WebProcessQt.cpp:26: Found header this file implements before WebCore config.h. Should be: config.h, primary header, blank line, and then alphabetically sorted. [build/include_order] [4] WebKit2/WebProcess/WebProcess.cpp:228: WebProcess::pages_begin is incorrectly named. Don't use underscores in your identifier names. [readability/naming] [4] WebKit2/WebProcess/WebProcess.cpp:233: WebProcess::pages_end is incorrectly named. Don't use underscores in your identifier names. [readability/naming] [4] WebKit2/Shared/WebPreferencesStore.h:32: Code inside a namespace should not be indented. [whitespace/indent] [4] WebKit2/WebProcess/WebProcess.h:54: pages_const_iterator is incorrectly named. Don't use underscores in your identifier names. [readability/naming] [4] WebKit2/WebProcess/WebProcess.h:68: pages_begin is incorrectly named. Don't use underscores in your identifier names. [readability/naming] [4] WebKit2/WebProcess/WebProcess.h:69: pages_end is incorrectly named. Don't use underscores in your identifier names. [readability/naming] [4] Total errors found: 8 in 24 files If any of these errors are false positives, please file a bug against check-webkit-style.
Sam Weinig
Comment 3
2010-10-03 15:44:33 PDT
Comment on
attachment 69596
[details]
Patch I am going to go in another direction with this.
Sam Weinig
Comment 4
2010-10-03 16:24:33 PDT
Created
attachment 69597
[details]
Patch
WebKit Review Bot
Comment 5
2010-10-03 16:26:57 PDT
Attachment 69597
[details]
did not pass style-queue: Failed to run "['WebKitTools/Scripts/check-webkit-style']" exit_code: 1 WebKit2/WebProcess/win/WebProcessWin.cpp:26: Found header this file implements before WebCore config.h. Should be: config.h, primary header, blank line, and then alphabetically sorted. [build/include_order] [4] WebKit2/WebProcess/qt/WebProcessQt.cpp:26: Found header this file implements before WebCore config.h. Should be: config.h, primary header, blank line, and then alphabetically sorted. [build/include_order] [4] Total errors found: 2 in 18 files If any of these errors are false positives, please file a bug against check-webkit-style.
Anders Carlsson
Comment 6
2010-10-04 10:11:47 PDT
Comment on
attachment 69597
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=69597&action=review
I don't see you adding WebProcessQt to the relevant build system, please do that too.
> WebKit2/WebProcess/mac/WebProcessMac.mm:233 > + printf("Page Cache: %d\n", pageCache()->capacity());
Please don't check this in.
Sam Weinig
Comment 7
2010-10-04 10:18:45 PDT
Landed in
http://trac.webkit.org/changeset/69020
.
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