<video> elements should disable the system and display sleep when playing on OS X.
Created attachment 117740 [details]
Created attachment 117743 [details]
Created attachment 117746 [details]
Comment on 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 attachment 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.
Comment on attachment 117773 [details]
Committed r102024: <http://trac.webkit.org/changeset/102024>
*** Bug 65061 has been marked as a duplicate of this bug. ***