[UI-side compositing] Add function for tests to toggle overlay scrollbars
<rdar://problem/107161887>
Pull request: https://github.com/WebKit/WebKit/pull/11896
Committed 262186@main (8ea93a3480fe): <https://commits.webkit.org/262186@main> Reviewed commits have been landed. Closing PR #11896 and removing active labels.