Bug 173359

Summary: [Mac] Add an experimental feature setting for fast frame scrolling
Product: WebKit Reporter: Frédéric Wang (:fredw) <fred.wang>
Component: FramesAssignee: Frédéric Wang (:fredw) <fred.wang>
Status: RESOLVED FIXED    
Severity: Normal CC: buildbot, fred.wang, rniwa, sam, simon.fraser
Priority: P2    
Version: Other   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 171667, 173405    
Attachments:
Description Flags
Patch
none
Patch
none
Archive of layout-test-results from ews103 for mac-elcapitan
none
Archive of layout-test-results from ews105 for mac-elcapitan-wk2
none
Archive of layout-test-results from ews114 for mac-elcapitan
none
Patch
none
Patch
buildbot: commit-queue-
Archive of layout-test-results from ews104 for mac-elcapitan-wk2
none
Archive of layout-test-results from ews102 for mac-elcapitan
none
Patch
none
Patch simon.fraser: review+

Description Frédéric Wang (:fredw) 2017-06-14 02:18:38 PDT
This will allow developers to test fast-scrollable frames on Mac, without having to change defaultScrollingTreeIncludesFrames.
Comment 1 Frédéric Wang (:fredw) 2017-06-14 08:23:26 PDT
Created attachment 312889 [details]
Patch
Comment 2 Frédéric Wang (:fredw) 2017-06-14 08:31:38 PDT
Created attachment 312890 [details]
Patch
Comment 3 Build Bot 2017-06-14 09:33:55 PDT
Comment on attachment 312890 [details]
Patch

Attachment 312890 [details] did not pass mac-ews (mac):
Output: http://webkit-queues.webkit.org/results/3929927

New failing tests:
platform/mac/fast/scrolling/set-fast-frame-scrolling.html
Comment 4 Build Bot 2017-06-14 09:33:56 PDT
Created attachment 312892 [details]
Archive of layout-test-results from ews103 for mac-elcapitan

The attached test failures were seen while running run-webkit-tests on the mac-ews.
Bot: ews103  Port: mac-elcapitan  Platform: Mac OS X 10.11.6
Comment 5 Build Bot 2017-06-14 09:43:30 PDT
Comment on attachment 312890 [details]
Patch

Attachment 312890 [details] did not pass mac-wk2-ews (mac-wk2):
Output: http://webkit-queues.webkit.org/results/3929934

New failing tests:
platform/mac/fast/scrolling/set-fast-frame-scrolling.html
Comment 6 Build Bot 2017-06-14 09:43:32 PDT
Created attachment 312894 [details]
Archive of layout-test-results from ews105 for mac-elcapitan-wk2

The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews.
Bot: ews105  Port: mac-elcapitan-wk2  Platform: Mac OS X 10.11.6
Comment 7 Build Bot 2017-06-14 09:55:14 PDT
Comment on attachment 312890 [details]
Patch

Attachment 312890 [details] did not pass mac-debug-ews (mac):
Output: http://webkit-queues.webkit.org/results/3929949

New failing tests:
platform/mac/fast/scrolling/set-fast-frame-scrolling.html
Comment 8 Build Bot 2017-06-14 09:55:16 PDT
Created attachment 312899 [details]
Archive of layout-test-results from ews114 for mac-elcapitan

The attached test failures were seen while running run-webkit-tests on the mac-debug-ews.
Bot: ews114  Port: mac-elcapitan  Platform: Mac OS X 10.11.6
Comment 9 Sam Weinig 2017-06-14 10:26:28 PDT
Comment on attachment 312890 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=312890&action=review

> Source/WebCore/page/RuntimeEnabledFeatures.h:167
> +#if PLATFORM(MAC)
> +    void setFastFrameScrollingEnabled(bool isEnabled) { m_isFastFrameScrollingEnabled = isEnabled; }
> +    bool fastFrameScrollingEnabled() const { return m_isFastFrameScrollingEnabled; }
> +#endif

Why can't this be a Setting?
Comment 10 Frédéric Wang (:fredw) 2017-06-14 13:21:13 PDT
Created attachment 312918 [details]
Patch
Comment 11 Simon Fraser (smfr) 2017-06-15 10:47:52 PDT
Comment on attachment 312918 [details]
Patch

Why isn't fast frame scrolling a Setting?
Comment 12 Frédéric Wang (:fredw) 2017-06-19 00:17:45 PDT
Comment on attachment 312918 [details]
Patch

After discussion with Simon on irc, all what we want is a settings for "Fast Frame Scrolling" that can be an "experimental feature" (e.g. like SpringTimingFunctionEnabled) not a "runtime flag" (deprecated). I'll upload a new patch soon.
Comment 13 Frédéric Wang (:fredw) 2017-06-19 03:11:46 PDT
Created attachment 313272 [details]
Patch
Comment 14 Build Bot 2017-06-19 04:21:19 PDT
Comment on attachment 313272 [details]
Patch

Attachment 313272 [details] did not pass mac-wk2-ews (mac-wk2):
Output: http://webkit-queues.webkit.org/results/3956806

Number of test failures exceeded the failure limit.
Comment 15 Build Bot 2017-06-19 04:21:21 PDT
Created attachment 313273 [details]
Archive of layout-test-results from ews104 for mac-elcapitan-wk2

The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews.
Bot: ews104  Port: mac-elcapitan-wk2  Platform: Mac OS X 10.11.6
Comment 16 Build Bot 2017-06-19 04:30:50 PDT
Comment on attachment 313272 [details]
Patch

Attachment 313272 [details] did not pass mac-ews (mac):
Output: http://webkit-queues.webkit.org/results/3956823

New failing tests:
inspector/canvas/create-canvas-contexts.html
Comment 17 Build Bot 2017-06-19 04:30:51 PDT
Created attachment 313274 [details]
Archive of layout-test-results from ews102 for mac-elcapitan

The attached test failures were seen while running run-webkit-tests on the mac-ews.
Bot: ews102  Port: mac-elcapitan  Platform: Mac OS X 10.11.6
Comment 18 Frédéric Wang (:fredw) 2017-06-19 05:43:47 PDT
Created attachment 313279 [details]
Patch
Comment 19 Frédéric Wang (:fredw) 2017-06-19 06:59:38 PDT
Created attachment 313289 [details]
Patch
Comment 20 Simon Fraser (smfr) 2017-06-19 13:09:18 PDT
Comment on attachment 313289 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=313289&action=review

> Source/WebCore/page/Settings.in:179
> +fastFrameScrollingEnabled initial=false

I wonder if we should call this "asyncScrolling" since we have AsyncScrollingCoordinator.
Comment 21 Frédéric Wang (:fredw) 2017-06-19 23:05:05 PDT
Committed r218534: <http://trac.webkit.org/changeset/218534>