Remote control commands are always triggered by a user gesture.
<rdar://problem/25560877>
Created attachment 276335 [details] Proposed patch.
Comment on attachment 276335 [details] Proposed patch. View in context: https://bugs.webkit.org/attachment.cgi?id=276335&action=review > Source/WebCore/html/HTMLMediaElement.cpp:6649 > LOG(Media, "HTMLMediaElement::didReceiveRemoteControlCommand(%p) - %i", this, static_cast<int>(command)); > > + ++m_processingRemoteControlCommand; > + It seems much simpler to add the following here instead: UserGestureIndicator remoteControlUserGesture(DefinitelyProcessingUserGesture); This will tell the ScriptController that a user gesture is present, so all of the below should be unnecessary.
Created attachment 276349 [details] Updated patch
Comment on attachment 276349 [details] Updated patch Clearing flags on attachment: 276349 Committed r199515: <http://trac.webkit.org/changeset/199515>
All reviewed patches have been landed. Closing bug.