Even when there is a pending requestIdleCallback, documents that have been stopped should be immediately collected.
Created attachment 382527 [details] Fixes the bug
The commit-queue encountered the following flaky tests while processing attachment 382527 [details]: requestidlecallback/requestidlecallback-document-gc.html bug 203745 The commit-queue is continuing to process your patch.
Comment on attachment 382527 [details] Fixes the bug Clearing flags on attachment: 382527 Committed r251924: <https://trac.webkit.org/changeset/251924>
All reviewed patches have been landed. Closing bug.
<rdar://problem/56819242>
This test has been flakey since it was landed: https://results.webkit.org/?suite=layout-tests&test=requestidlecallback%2Frequestidlecallback-document-gc.html
wk1 on Catalina and Mojave are failing ~50% of the time.
(In reply to Jonathan Bedard from comment #7) > wk1 on Catalina and Mojave are failing ~50% of the time. Ryosuke fixed this, <https://trac.webkit.org/changeset/251944>