WebKit Bugzilla
Attachment 369904 Details for
Bug 197897
: Fix flakey test fast/events/autoscroll-when-input-is-offscreen.html
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch
bug-197897-20190514160337.patch (text/plain), 1.70 KB, created by
Megan Gardner
on 2019-05-14 16:03:37 PDT
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Megan Gardner
Created:
2019-05-14 16:03:37 PDT
Size:
1.70 KB
patch
obsolete
>Subversion Revision: 245315 >diff --git a/LayoutTests/ChangeLog b/LayoutTests/ChangeLog >index cc5f45a499085e8c40c5d10d19d678f3a38fc459..fdbe990fe054a76dcd3b264a65e9c93e05f21aa6 100644 >--- a/LayoutTests/ChangeLog >+++ b/LayoutTests/ChangeLog >@@ -1,3 +1,17 @@ >+2019-05-14 Megan Gardner <megan_gardner@apple.com> >+ >+ Fix flakey test fast/events/autoscroll-when-input-is-offscreen.html >+ https://bugs.webkit.org/show_bug.cgi?id=197897 >+ <rdar://problem/50306931> >+ >+ Reviewed by NOBODY (OOPS!). >+ >+ Espeically in debug, scrolling is slow enough that we need to allow for a >+ presentation update. Then we can be sure that the page has finished scrolling >+ and it's appropriate to test the page offset. >+ >+ * fast/events/autoscroll-when-input-is-offscreen.html: >+ > 2019-05-14 Shawn Roberts <sroberts@apple.com> > > storage/indexeddb/modern/deletedatabase-2-private.html is a flaky failure >diff --git a/LayoutTests/fast/events/autoscroll-when-input-is-offscreen.html b/LayoutTests/fast/events/autoscroll-when-input-is-offscreen.html >index 1592f009afca4ec02a6ccf09ddc05a092b33c9fb..3bd1ff2256545835d3f091cf3174cd6823dcd0b3 100644 >--- a/LayoutTests/fast/events/autoscroll-when-input-is-offscreen.html >+++ b/LayoutTests/fast/events/autoscroll-when-input-is-offscreen.html >@@ -22,7 +22,7 @@ > var programaticScroll = 500; > document.scrollingElement.scrollTop = programaticScroll; > await UIHelper.enterText("Test"); >- >+ await UIHelper.ensurePresentationUpdate(); > if (window.pageYOffset < programaticScroll) > output += 'PASS: page has scrolled back to the top to show the element that has text being entered into it.'; > else
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Formatted Diff
|
Diff
Attachments on
bug 197897
:
369904
|
369905
|
369908
|
369911
|
369912