In Bug 172131 we added Document::processingUserGestureForMedia to support certain Media use cases. We have since learned that this same concept is useful for WebAuthentication interactions, and perhaps other operations. We should consider renaming this to something less Media-specific.
In another bug Brent mentioned at least one difference is: > processingUserGestureForMedia will populate the user gesture through XHR and fetch
<rdar://problem/74117759>