All the other APIs are guarded by calls to isContextLostOrPending(), this function shouldn't be any different.
rdar://94289317
Pull request: https://github.com/WebKit/WebKit/pull/1422
Committed r295430 (251436@main): <https://commits.webkit.org/251436@main> Reviewed commits have been landed. Closing PR #1422 and removing active labels.