Introduce WorkerGlobalScope::type() function to replace isDedicatedWorkerGlobalScope() / isServiceWorkerGlobalScope() / isSharedWorkerGlobalScope().
Created attachment 445792 [details] Patch
Committed r286499 (244838@main): <https://commits.webkit.org/244838@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 445792 [details].
<rdar://problem/86022947>