You need to
before you can comment on or make changes to this bug.
<video> elements should disable the system and display sleep when playing on OS X.
Created an attachment (id=117740) [details]
Created an attachment (id=117743) [details]
Created an attachment (id=117746) [details]
(From update of attachment 117746 [details])
View in context: https://bugs.webkit.org/attachment.cgi?id=117746&action=review
> + m_sleepDisabler = DisplaySleepDisabler::create("WebCore::HTMLMediaElement playback");
The reason for the power assertion doesn’t match the format used elsewhere in WebKit. It would be good to be consistent.
Also, it would be great if you could mention the associated Radar number both in Bugzilla and the ChangeLog.
Created an attachment (id=117773) [details]
While Mark already r+'d the previous patch, I thought this new patch was worth obsoleting that one. This new patch has changes to the WebKit2 sandbox profile, which allows DisplaySleepDisabler to work when running in the WebProcess.
(From update of attachment 117773 [details])
Committed r102024: <http://trac.webkit.org/changeset/102024>
*** Bug 65061 has been marked as a duplicate of this bug. ***