Comment 44 for bug 434476

Revision history for this message
In , Cpearce-t (cpearce-t) wrote :

We already use the power manager service to create a "screen" wake lock to disable the screen saver in HTMLVideoElement::WakeLockUpdate(), but the wake lock listener that actually disables the screen saver is only implemented for B2G and I think Android, but not on other platforms.

I have a patch in Bug 968603 to implement a wake lock listener on Windows, so we'll disable the screensaver on Windows during video playback. To fix this on other platforms, we'll need to add wake lock listeners for them too.

I suggest we use this bug to track when support for Mac, Linux, and Windows (and Android if it hasn't already) have all landed.