WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
134778
Need Setting/WKPreference that allows clients to prevent scrollbars from drawing on a secondary thread
https://bugs.webkit.org/show_bug.cgi?id=134778
Summary
Need Setting/WKPreference that allows clients to prevent scrollbars from draw...
Beth Dakin
Reported
2014-07-09 14:35:32 PDT
We need Setting/WKPreference that allows clients to prevent scrollbars from drawing on a secondary thread. This is required for some types of performance tests. <
rdar://problem/17595333
>
Attachments
Patch
(14.62 KB, patch)
2014-07-09 14:44 PDT
,
Beth Dakin
buildbot
: commit-queue-
Details
Formatted Diff
Diff
Archive of layout-test-results from webkit-ews-16 for mac-mountainlion-wk2
(637.40 KB, application/zip)
2014-07-09 15:39 PDT
,
Build Bot
no flags
Details
Patch with new name
(12.55 KB, patch)
2014-07-09 16:31 PDT
,
Beth Dakin
no flags
Details
Formatted Diff
Diff
Patch
(13.35 KB, patch)
2014-07-10 12:35 PDT
,
Beth Dakin
thorton
: review+
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Beth Dakin
Comment 1
2014-07-09 14:44:01 PDT
Created
attachment 234658
[details]
Patch
Tim Horton
Comment 2
2014-07-09 15:00:10 PDT
Comment on
attachment 234658
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=234658&action=review
> Source/WebKit2/UIProcess/API/C/WKPreferences.cpp:979 > +void WKPreferencesSetAllowScrollbarUpdatesOnSecondaryThreadIfPossible(WKPreferencesRef preferencesRef, bool allow)
I don't think we need C SPI for this preference, do we? Is this just here for completeness' sake? This is a pretty special pref that nobody should flip under normal circumstances.
Simon Fraser (smfr)
Comment 3
2014-07-09 15:05:09 PDT
Comment on
attachment 234658
[details]
Patch I think it might be clearer if this were more explicitly about a "testing" mode. It's pretty unclear from the pref (whose default is true) why you'd want to change it.
Tim Horton
Comment 4
2014-07-09 15:18:36 PDT
Yeah, we should be more explicit about how special this is.
Build Bot
Comment 5
2014-07-09 15:38:57 PDT
Comment on
attachment 234658
[details]
Patch
Attachment 234658
[details]
did not pass mac-wk2-ews (mac-wk2): Output:
http://webkit-queues.appspot.com/results/5416850410176512
New failing tests: media/W3C/video/networkState/networkState_during_loadstart.html
Build Bot
Comment 6
2014-07-09 15:39:00 PDT
Created
attachment 234663
[details]
Archive of layout-test-results from webkit-ews-16 for mac-mountainlion-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: webkit-ews-16 Port: mac-mountainlion-wk2 Platform: Mac OS X 10.8.5
Beth Dakin
Comment 7
2014-07-09 16:31:58 PDT
Created
attachment 234666
[details]
Patch with new name
Tim Horton
Comment 8
2014-07-10 12:24:06 PDT
Windows build is broken: 1>..\platform\win\SearchPopupMenuWin.cpp(33): error C2259: 'WebCore::PopupMenuWin' : cannot instantiate abstract class due to following members: 'bool WebCore::ScrollableArea::forceUpdateScrollbarsOnMainThreadForPerformanceTesting(void) const' : is abstract C:\cygwin\home\buildbot\WebKit\Source\WebCore\platform\ScrollableArea.h(128) : see declaration of 'WebCore::ScrollableArea::forceUpdateScrollbarsOnMainThreadForPerformanceTesting'
Beth Dakin
Comment 9
2014-07-10 12:35:27 PDT
Created
attachment 234718
[details]
Patch This should fix windows.
Beth Dakin
Comment 10
2014-07-10 13:06:37 PDT
Thanks Tim!
http://trac.webkit.org/changeset/170972
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