Bug 198800

Summary: REGRESSION (r246103) [ Mojave+ WK1 ] Layout Test scrollbars/scrollbar-iframe-click-does-not-blur-content.html is timing out
Product: WebKit Reporter: Shawn Roberts <sroberts>
Component: Tools / TestsAssignee: Antoine Quint <graouts>
Status: RESOLVED FIXED    
Severity: Normal CC: dino, graouts, thorton, webkit-bot-watchers-bugzilla, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=198462
Attachments:
Description Flags
Patch thorton: review+

Shawn Roberts
Reported 2019-06-12 13:14:35 PDT
The following layout test is failing on Mojave+ WK1 scrollbars/scrollbar-iframe-click-does-not-blur-content.html Probable cause: After changes in r246103 the the above layout test is timing out every run on WK1 testers Flakiness Dashboard: https://webkit-test-results.webkit.org/dashboards/flakiness_dashboard.html#showAllRuns=true&tests=scrollbars%2Fscrollbar-iframe-click-does-not-blur-content.html
Attachments
Patch (9.40 KB, patch)
2019-06-13 03:11 PDT, Antoine Quint
thorton: review+
Radar WebKit Bug Importer
Comment 1 2019-06-12 13:15:25 PDT
Shawn Roberts
Comment 2 2019-06-12 13:22:17 PDT
Antoine Quint
Comment 3 2019-06-13 02:58:48 PDT
We don't detect an NSScroller in a sub-frame due to the WebHTMLView's implementation of -[NSView hitTest:]. We need to use the real method when detecting which view we're trying to swizzle the event for.
Antoine Quint
Comment 4 2019-06-13 03:11:56 PDT
Tim Horton
Comment 5 2019-06-13 10:36:34 PDT
Comment on attachment 372042 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=372042&action=review > Tools/ChangeLog:10 > + which lets use use the default implementation and correctly returns an NSScroller in a sub-frame. use use > Tools/DumpRenderTree/mac/EventSendingController.mm:570 > + view = [(WebHTMLView*)view _hitViewForEvent:event]; WebHTMLView *
Antoine Quint
Comment 6 2019-06-13 23:51:01 PDT
Note You need to log in before you can comment on or make changes to this bug.