Now that the bug 242329 has been fixed, we should be able to instantiate ScriptDisallowedScope::InMainThread for the entirety of Document::updateStyleIfNeeded().
Pull request: https://github.com/WebKit/WebKit/pull/13473
Committed 263708@main (77c067951b82): <https://commits.webkit.org/263708@main> Reviewed commits have been landed. Closing PR #13473 and removing active labels.
<rdar://problem/108931514>