It will probably need a slightly different approach.
Created attachment 436756 [details] Patch
Created attachment 436777 [details] Patch
Committed r281764 (241105@main): <https://commits.webkit.org/241105@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 436777 [details].
<rdar://problem/82532289>