Bug 214358

Summary: REGRESSION (r264368): [ iOS ] fast/scrolling/ios/programmatic-scroll-while-zoomed.html and fast/scrolling/ios/autoscroll-input-when-very-zoomed.html are Failing
Product: WebKit Reporter: Hector Lopez <hector_i_lopez>
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: REOPENED ---    
Severity: Normal CC: rackler, simon.fraser, tsavell, webkit-bot-watchers-bugzilla, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Hector Lopez 2020-07-15 09:24:54 PDT
fast/scrolling/ios/programmatic-scroll-while-zoomed.html
fast/scrolling/ios/autoscroll-input-when-very-zoomed.html

Test is flaky failing from https://trac.webkit.org/changeset/264368/webkit

History:
https://results.webkit.org/?suite=layout-tests&suite=layout-tests&test=fast%2Fscrolling%2Fios%2Fautoscroll-input-when-very-zoomed.html&test=fast%2Fscrolling%2Fios%2Fprogrammatic-scroll-while-zoomed.html

Diff:
--- /Volumes/Data/slave/ipados-simulator-13-release-tests-wk2/build/layout-test-results/fast/scrolling/ios/programmatic-scroll-while-zoomed-expected.txt
+++ /Volumes/Data/slave/ipados-simulator-13-release-tests-wk2/build/layout-test-results/fast/scrolling/ios/programmatic-scroll-while-zoomed-actual.txt
@@ -1,13 +1,13 @@
-PASS window.pageXOffset is 53
-PASS window.pageYOffset is 91
-PASS window.visualViewport.pageLeft is 53
-PASS window.visualViewport.pageTop is 91
+FAIL window.pageXOffset should be 53. Was 128.
+FAIL window.pageYOffset should be 91. Was 167.
+FAIL window.visualViewport.pageLeft should be 53. Was 128.
+FAIL window.visualViewport.pageTop should be 91. Was 167.
 
 scrolling to 0,0
-PASS window.pageXOffset is 53
-PASS window.pageYOffset is 91
-PASS window.visualViewport.pageLeft is 53
-PASS window.visualViewport.pageTop is 91
+FAIL window.pageXOffset should be 53. Was 128.
+FAIL window.pageYOffset should be 91. Was 167.
+FAIL window.visualViewport.pageLeft should be 53. Was 128.
+FAIL window.visualViewport.pageTop should be 91. Was 167.
 PASS successfullyParsed is true
 
 TEST COMPLETE

--- /Volumes/Data/slave/ipados-simulator-13-release-tests-wk2/build/layout-test-results/fast/scrolling/ios/autoscroll-input-when-very-zoomed-expected.txt
+++ /Volumes/Data/slave/ipados-simulator-13-release-tests-wk2/build/layout-test-results/fast/scrolling/ios/autoscroll-input-when-very-zoomed-actual.txt
@@ -1,4 +1,4 @@
-This test focuses a form, them zooms and scrolls the page. Then text is entered in the form, and we check to make sure the page has scrolled when needed to make the input visible again. On iPhone, the page should scroll on the first text input so that the input element in is visible again, but should not scroll more than once, as it should be visible after the first scroll. On iPad, the input should not scroll at all, as the iPad is larger and should not need to scroll for the input element to be visible. The test results should refelct these expectaitions.
+This test focuses a form, them zooms and scrolls the page. Then text is entered in the form, and we check to make sure the page has scrolled when needed to make the input visible again. On iPhone, the page should scroll on the first text input so that the input element in is visible again, but should not scroll more than once, as it should be visible after the first scroll. On iPad, the input should not scroll at all, as the iPad is larger and should not need to scroll for the input element to be visible. The test results should reflect these expectations.
 Page has not scrolled on the first input
 Page has not scrolled on the second input
Comment 1 Radar WebKit Bug Importer 2020-07-15 09:25:41 PDT
<rdar://problem/65609413>
Comment 2 Simon Fraser (smfr) 2020-07-15 14:49:38 PDT
https://trac.webkit.org/changeset/264426/webkit
Comment 3 Karl Rackler 2020-07-24 06:03:44 PDT
[ iOS wk2 ] fast/scrolling/ios/programmatic-scroll-while-zoomed.html is a flaky failure

Description:
fast/scrolling/ios/programmatic-scroll-while-zoomed.html

This test appears to be still flaky failure after expected text added.
https://trac.webkit.org/changeset/264426/webkit

History:
https://results.webkit.org/?suite=layout-tests&test=fast%2Fscrolling%2Fios%2Fprogrammatic-scroll-while-zoomed.html&limit=50000&platform=ios&flavor=wk2

Diff:
--- /Volumes/Data/slave/ipados-simulator-13-debug-tests-wk2/build/layout-test-results/fast/scrolling/ios/programmatic-scroll-while-zoomed-expected.txt
+++ /Volumes/Data/slave/ipados-simulator-13-debug-tests-wk2/build/layout-test-results/fast/scrolling/ios/programmatic-scroll-while-zoomed-actual.txt
@@ -1,13 +1,13 @@
-FAIL window.pageXOffset should be 53. Was 128.
-FAIL window.pageYOffset should be 91. Was 167.
-FAIL window.visualViewport.pageLeft should be 53. Was 128.
-FAIL window.visualViewport.pageTop should be 91. Was 167.
+FAIL window.pageXOffset should be 53. Was 0.
+FAIL window.pageYOffset should be 91. Was 0.
+FAIL window.visualViewport.pageLeft should be 53. Was 0.
+FAIL window.visualViewport.pageTop should be 91. Was 0.
 
 scrolling to 0,0
-FAIL window.pageXOffset should be 53. Was 128.
-FAIL window.pageYOffset should be 91. Was 167.
-FAIL window.visualViewport.pageLeft should be 53. Was 128.
-FAIL window.visualViewport.pageTop should be 91. Was 167.
+FAIL window.pageXOffset should be 53. Was 0.
+FAIL window.pageYOffset should be 91. Was 0.
+FAIL window.visualViewport.pageLeft should be 53. Was 0.
+FAIL window.visualViewport.pageTop should be 91. Was 0.
 PASS successfullyParsed is true
 
 TEST COMPLETE
Comment 4 Karl Rackler 2020-07-24 06:12:00 PDT
I have marked these tests as failing while this issue is investigated.
https://trac.webkit.org/changeset/264818/webkit
Comment 5 Simon Fraser (smfr) 2020-07-24 10:16:06 PDT
That should have just marked it flakey for iPad, right?
Comment 6 Ryan Haddad 2020-07-24 10:39:44 PDT
(In reply to Simon Fraser (smfr) from comment #5)
> That should have just marked it flakey for iPad, right?
It appears to be flaky on iOS, too:
https://build.webkit.org/results/Apple%20iOS%2013%20Simulator%20Debug%20WK2%20(Tests)/r264680%20(4791)/results.html
Comment 7 Simon Fraser (smfr) 2020-07-24 10:46:19 PDT
OK