Bug 215215

Summary: REGRESSION (r260276): instructure.com custom PDF viewer stops scrolling / loading after switching to another tab then switching back
Product: WebKit Reporter: Antti Koivisto <koivisto>
Component: ScrollingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: cmarcelo, ews-watchlist, fred.wang, jamesr, luiz, simon.fraser, tonikitoo
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
patch none

Description Antti Koivisto 2020-08-06 07:00:29 PDT
Scrolling tree problems.
Comment 1 Antti Koivisto 2020-08-06 07:01:03 PDT
<rdar://problem/65743028>
Comment 2 Antti Koivisto 2020-08-07 05:51:16 PDT
Created attachment 406165 [details]
patch
Comment 3 Simon Fraser (smfr) 2020-08-07 08:57:30 PDT
Comment on attachment 406165 [details]
patch

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

> LayoutTests/scrollingcoordinator/overflow-proxy-reattach.html:21
> +    await new Promise(requestAnimationFrame);

await UIHelper.animationFrame() ?

Note that returns on the microtask checkpoint at the end of the rAF callback; it doesn't wait for the end of Page::updateRendering().
Comment 4 EWS 2020-08-07 09:49:59 PDT
Committed r265379: <https://trac.webkit.org/changeset/265379>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 406165 [details].