[Bug 434476]

Edwin-d 434476 at bugs.launchpad.net
Wed May 14 04:59:06 UTC 2014


(In reply to Karl Tomlinson (needinfo?:karlt) from comment #41)
> >+WakeLockTopic::UninhibitScreensaver()
> >+{
> >+  if (!mShouldInhibit) {
> >+    // Screensaver isn't inhibited. Nothing to do here.
> >+    return NS_OK;
> 
> Could this instead assert that this path is not reached, as in
> InhibitScreensaver()?

No. There are two states "unlocked" and "locked-background" that we map
to Uninhibit, that can both be reached directly from "locked-
foreground".

Addressing other comments, new patch coming.

-- 
You received this bug notification because you are a member of Mozilla
Bugs, which is subscribed to Mozilla Firefox.
https://bugs.launchpad.net/bugs/434476

Title:
  screensaver starts while playing HTML5 videos

To manage notifications about this bug go to:
https://bugs.launchpad.net/firefox/+bug/434476/+subscriptions




More information about the Ubuntu-mozillateam-bugs mailing list