Just need to remove a usage of GLib and it should work fine.
Created attachment 455960 [details] Patch
Created attachment 455961 [details] Patch
Created attachment 455981 [details] Patch
Created attachment 455992 [details] Patch
Committed r292031 (248974@main): <https://commits.webkit.org/248974@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 455992 [details].
<rdar://problem/90981248>