Summary: | [iOS] remote command should be considered user events | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Eric Carlson <eric.carlson> | ||||||
Component: | Media | Assignee: | Eric Carlson <eric.carlson> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | commit-queue, webkit-bug-importer | ||||||
Priority: | P2 | Keywords: | InRadar | ||||||
Version: | WebKit Nightly Build | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Attachments: |
|
Description
Eric Carlson
2016-04-13 10:39:36 PDT
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. |