Bug 152649

Summary: Some cleanup in ScrollAnimator
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: New BugsAssignee: Simon Fraser (smfr) <simon.fraser>
Status: RESOLVED FIXED    
Severity: Normal CC: bdakin, bugs-noreply, buildbot, cmarcelo, commit-queue, esprehn+autocc, glenn, gyuyoung.kim, jamesr, kondapallykalyan, luiz, mcatanzaro, rniwa, simon.fraser, thorton, tonikitoo, zalan
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Archive of layout-test-results from ews101 for mac-yosemite
none
Archive of layout-test-results from ews106 for mac-yosemite-wk2
none
Archive of layout-test-results from ews115 for mac-yosemite
none
Patch
none
Archive of layout-test-results from ews103 for mac-yosemite
none
Archive of layout-test-results from ews117 for mac-yosemite
none
Archive of layout-test-results from ews105 for mac-yosemite-wk2
none
Patch
none
Patch
zalan: review+, buildbot: commit-queue-
Archive of layout-test-results from ews103 for mac-yosemite
none
Archive of layout-test-results from ews104 for mac-yosemite-wk2
none
Archive of layout-test-results from ews115 for mac-yosemite
none
Patch zalan: review+, commit-queue: commit-queue-

Description Simon Fraser (smfr) 2016-01-01 22:22:36 PST
Some cleanup in ScrollAnimator
Comment 1 Simon Fraser (smfr) 2016-01-01 22:38:14 PST
Created attachment 268088 [details]
Patch
Comment 2 Build Bot 2016-01-01 23:29:21 PST
Comment on attachment 268088 [details]
Patch

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

New failing tests:
scrollbars/scroll-rtl-or-bt-layer.html
Comment 3 Build Bot 2016-01-01 23:29:25 PST
Created attachment 268089 [details]
Archive of layout-test-results from ews101 for mac-yosemite

The attached test failures were seen while running run-webkit-tests on the mac-ews.
Bot: ews101  Port: mac-yosemite  Platform: Mac OS X 10.10.5
Comment 4 Build Bot 2016-01-01 23:33:47 PST
Comment on attachment 268088 [details]
Patch

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

New failing tests:
scrollbars/scroll-rtl-or-bt-layer.html
Comment 5 Build Bot 2016-01-01 23:33:51 PST
Created attachment 268090 [details]
Archive of layout-test-results from ews106 for mac-yosemite-wk2

The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews.
Bot: ews106  Port: mac-yosemite-wk2  Platform: Mac OS X 10.10.5
Comment 6 Build Bot 2016-01-01 23:34:33 PST
Comment on attachment 268088 [details]
Patch

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

New failing tests:
scrollbars/scroll-rtl-or-bt-layer.html
Comment 7 Build Bot 2016-01-01 23:34:37 PST
Created attachment 268091 [details]
Archive of layout-test-results from ews115 for mac-yosemite

The attached test failures were seen while running run-webkit-tests on the mac-debug-ews.
Bot: ews115  Port: mac-yosemite  Platform: Mac OS X 10.10.5
Comment 8 Simon Fraser (smfr) 2016-01-01 23:38:51 PST
Created attachment 268092 [details]
Patch
Comment 9 Build Bot 2016-01-02 00:28:50 PST
Comment on attachment 268092 [details]
Patch

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

New failing tests:
fast/scrolling/scroll-select-list.html
Comment 10 Build Bot 2016-01-02 00:28:56 PST
Created attachment 268095 [details]
Archive of layout-test-results from ews103 for mac-yosemite

The attached test failures were seen while running run-webkit-tests on the mac-ews.
Bot: ews103  Port: mac-yosemite  Platform: Mac OS X 10.10.5
Comment 11 Build Bot 2016-01-02 00:32:52 PST
Comment on attachment 268092 [details]
Patch

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

New failing tests:
fast/scrolling/scroll-select-list.html
Comment 12 Build Bot 2016-01-02 00:32:57 PST
Created attachment 268096 [details]
Archive of layout-test-results from ews117 for mac-yosemite

The attached test failures were seen while running run-webkit-tests on the mac-debug-ews.
Bot: ews117  Port: mac-yosemite  Platform: Mac OS X 10.10.5
Comment 13 Build Bot 2016-01-02 00:33:01 PST
Comment on attachment 268092 [details]
Patch

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

New failing tests:
fast/dom/horizontal-scrollbar-in-rtl.html
Comment 14 Build Bot 2016-01-02 00:33:05 PST
Created attachment 268097 [details]
Archive of layout-test-results from ews105 for mac-yosemite-wk2

The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews.
Bot: ews105  Port: mac-yosemite-wk2  Platform: Mac OS X 10.10.5
Comment 15 Simon Fraser (smfr) 2016-01-02 11:10:21 PST
Created attachment 268105 [details]
Patch
Comment 16 Simon Fraser (smfr) 2016-01-02 11:11:20 PST
Created attachment 268106 [details]
Patch
Comment 17 Build Bot 2016-01-02 12:01:52 PST
Comment on attachment 268106 [details]
Patch

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

New failing tests:
fast/scrolling/scroll-select-list.html
Comment 18 Build Bot 2016-01-02 12:01:56 PST
Created attachment 268107 [details]
Archive of layout-test-results from ews103 for mac-yosemite

The attached test failures were seen while running run-webkit-tests on the mac-ews.
Bot: ews103  Port: mac-yosemite  Platform: Mac OS X 10.10.5
Comment 19 Build Bot 2016-01-02 12:05:37 PST
Comment on attachment 268106 [details]
Patch

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

New failing tests:
fast/dom/horizontal-scrollbar-in-rtl.html
Comment 20 Build Bot 2016-01-02 12:05:42 PST
Created attachment 268108 [details]
Archive of layout-test-results from ews104 for mac-yosemite-wk2

The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews.
Bot: ews104  Port: mac-yosemite-wk2  Platform: Mac OS X 10.10.5
Comment 21 Build Bot 2016-01-02 12:14:18 PST
Comment on attachment 268106 [details]
Patch

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

New failing tests:
fast/scrolling/scroll-select-list.html
Comment 22 Build Bot 2016-01-02 12:14:22 PST
Created attachment 268109 [details]
Archive of layout-test-results from ews115 for mac-yosemite

The attached test failures were seen while running run-webkit-tests on the mac-debug-ews.
Bot: ews115  Port: mac-yosemite  Platform: Mac OS X 10.10.5
Comment 23 Simon Fraser (smfr) 2016-01-02 13:59:45 PST
https://trac.webkit.org/changeset/194502
Comment 24 Michael Catanzaro 2016-01-02 16:34:04 PST
This caused ~40 layout test failures on the GTK and EFL bots. :(

A non-exhaustive list of tests that passed in r194501 but failed with r194502:

  fast/block/positioning/rtl-fixed-positioning.html [ Failure ]
  fast/block/positioning/vertical-rl/fixed-positioning.html [ Failure ]
  fast/css/text-overflow-ellipsis-bidi.html [ Failure ]
  fast/css/text-overflow-ellipsis-strict.html [ Failure ]
  fast/css/text-overflow-ellipsis-text-align-center.html [ Failure ]
  fast/css/text-overflow-ellipsis-text-align-justify.html [ Failure ]
  fast/css/text-overflow-ellipsis-text-align-left.html [ Failure ]
  fast/css/text-overflow-ellipsis-text-align-right.html [ Failure ]
  fast/css/text-overflow-ellipsis.html [ Failure ]
  fast/css/text-overflow-input.html [ Failure ]
  fast/css/vertical-text-overflow-ellipsis-text-align-center.html [ Failure ]
  fast/css/vertical-text-overflow-ellipsis-text-align-justify.html [ Failure ]
  fast/css/vertical-text-overflow-ellipsis-text-align-left.html [ Failure ]
  fast/css/vertical-text-overflow-ellipsis-text-align-right.html [ Failure ]
  fast/css/word-space-extra.html [ Failure ]
  fast/dom/horizontal-scrollbar-in-rtl.html [ Failure ]
  fast/dom/horizontal-scrollbar-when-dir-change.html [ Failure ]
  fast/dom/rtl-scroll-to-leftmost-and-resize.html [ Failure ]
  fast/dom/scroll-reveal-left-overflow.html [ Failure ]
  fast/dom/scroll-reveal-top-overflow.html [ Failure ]
  fast/dom/vertical-scrollbar-when-dir-change.html [ Failure ]
  fast/events/document-elementFromPoint.html [ Failure ]
  fast/events/offsetX-offsetY.html [ Failure ]
  fast/overflow/overflow-rtl-vertical-origin.html [ Failure ]
  fast/overflow/overflow-rtl-vertical.html [ Failure ]
  fast/overflow/overflow-rtl.html [ Failure ]
  fast/overflow/scroll-div-hide-show.html [ Failure ]
  fast/repaint/horizontal-bt-overflow-parent.html [ Failure ]
  fast/repaint/horizontal-bt-overflow-same.html [ Failure ]
  fast/repaint/vertical-overflow-parent.html [ Failure ]
  fast/repaint/vertical-overflow-same.html [ Failure ]
  fast/overflow/unreachable-overflow-rtl-bug.html [ Failure ]
  fast/scrolling/arrow-key-scroll-in-rtl-document.html [ Failure ]
  fast/scrolling/programmatic-document-rtl-scrollIntoView.html [ Failure ]
  fast/scrolling/scroll-position-on-reload-rtl.html [ Failure ]
  fast/writing-mode/flipped-blocks-hit-test-overflow-scroll.html [ Failure ]
Comment 25 Michael Catanzaro 2016-01-02 16:46:18 PST
Full results: https://build.webkit.org/results/GTK Linux 64-bit Release (Tests)/r194502 (12898)/results.html

Some specific examples of breakage:

https://build.webkit.org/results/GTK%20Linux%2064-bit%20Release%20(Tests)/r194502%20(12898)/retries/fast/css/text-overflow-ellipsis-bidi-diffs.html

https://build.webkit.org/results/GTK Linux 64-bit Release (Tests)/r194502 (12898)/retries/fast/css/text-overflow-ellipsis-strict-diffs.html

https://build.webkit.org/results/GTK Linux 64-bit Release (Tests)/r194502 (12898)/retries/fast/css/text-overflow-input-diffs.html
Comment 26 Simon Fraser (smfr) 2016-01-02 20:43:56 PST
Investigating.
Comment 27 Simon Fraser (smfr) 2016-01-02 20:54:11 PST
Created attachment 268124 [details]
Patch
Comment 28 Simon Fraser (smfr) 2016-01-02 21:03:45 PST
Comment on attachment 268124 [details]
Patch

Landed in https://trac.webkit.org/changeset/194507, let's see if that fixes GTK.
Comment 29 WebKit Commit Bot 2016-01-02 22:11:19 PST
Comment on attachment 268124 [details]
Patch

Rejecting attachment 268124 [details] from commit-queue.

Failed to run "['/Volumes/Data/EWS/WebKit/Tools/Scripts/webkit-patch', '--status-host=webkit-queues.webkit.org', '--bot-id=webkit-cq-01', 'apply-attachment', '--no-update', '--non-interactive', 268124, '--port=mac']" exit_code: 2 cwd: /Volumes/Data/EWS/WebKit

Last 500 characters of output:
1 FAILED at 226.
Hunk #2 FAILED at 235.
Hunk #3 FAILED at 425.
3 out of 3 hunks FAILED -- saving rejects to file Source/WebCore/platform/ScrollAnimatorNone.cpp.rej
patching file Source/WebCore/platform/ScrollAnimatorNone.h
Hunk #1 FAILED at 107.
1 out of 1 hunk FAILED -- saving rejects to file Source/WebCore/platform/ScrollAnimatorNone.h.rej

Failed to run "[u'/Volumes/Data/EWS/WebKit/Tools/Scripts/svn-apply', '--force', '--reviewer', u'Zalan Bujtas']" exit_code: 1 cwd: /Volumes/Data/EWS/WebKit

Full output: http://webkit-queues.webkit.org/results/642426
Comment 30 Michael Catanzaro 2016-01-03 08:07:33 PST
(In reply to comment #28)
> Comment on attachment 268124 [details]
> Patch
> 
> Landed in https://trac.webkit.org/changeset/194507, let's see if that fixes
> GTK.

Still broken. :/
Comment 31 Simon Fraser (smfr) 2016-01-03 09:52:49 PST
I think https://trac.webkit.org/changeset/194513 should fix GTK. Waiting for a bot to tell me.
Comment 32 Michael Catanzaro 2016-01-03 10:32:56 PST
Thanks for working on this, Simon. r194513 fixed about 10 of the roughly 40 new failures.
Comment 33 Michael Catanzaro 2016-01-03 13:38:12 PST
Simon, your "minor cleanup" in r194516 fixed the remaining 30 failures. Thanks!
Comment 34 Simon Fraser (smfr) 2016-01-03 14:15:17 PST
Aha! Probably the "Do offset -> position conversion in ScrollAnimator::scrollToOffsetWithoutAnimation().
This is a behavior change, but I could never hit this code on Mac."
Comment 35 Michael Catanzaro 2016-01-03 19:31:18 PST
I am going to revert r194508 "Temporarily turn on Scrolling logging on GTK, to investigate" since it seems you've accidentally fixed our issue. ;)
Comment 36 Michael Catanzaro 2016-01-03 19:36:14 PST
Committed r194525: <http://trac.webkit.org/changeset/194525>
Comment 37 Gyuyoung Kim 2016-01-03 19:43:27 PST
(In reply to comment #33)
> Simon, your "minor cleanup" in r194516 fixed the remaining 30 failures.
> Thanks!

EFL was fixed as well. Thanks. - https://build.webkit.org/builders/EFL Linux 64-bit Release WK2/builds/26128
Comment 38 Simon Fraser (smfr) 2016-01-03 20:09:25 PST
(In reply to comment #35)
> I am going to revert r194508 "Temporarily turn on Scrolling logging on GTK,
> to investigate" since it seems you've accidentally fixed our issue. ;)

Ooops, thanks! I forgot about that.