Use sandbox API to set state variable.
<rdar://problem/110549012>
Pull request: https://github.com/WebKit/WebKit/pull/14829
Committed 265044@main (08658287eb39): <https://commits.webkit.org/265044@main> Reviewed commits have been landed. Closing PR #14829 and removing active labels.