Closed Bug 809671 Opened 13 years ago Closed 13 years ago

"Assertion failure: count.numLocks >= count.numHidden" switching tabs in full-screen mode

Categories

(Core :: DOM: Core & HTML, defect)

x86_64
All
defect
Not set
critical

Tracking

()

RESOLVED FIXED
mozilla19
blocking-b2g leo+
Tracking Status
b2g18 --- fixed
b2g18-v1.0.0 --- wontfix
b2g18-v1.0.1 --- wontfix
b2g-v1.1hd --- fixed

People

(Reporter: jruderman, Assigned: kanru)

References

Details

(Keywords: regression, testcase, Whiteboard: [battery])

Attachments

(2 files)

Attached file stack trace
In a debug build of Firefox for Mac: 1. Full screen a page (Cmd+Shift+F) 2. Open a new tab (Cmd+T) 3. Close that tab (Cmd+W) or switch back to the first tab Assertion failure: count.numLocks >= count.numHidden, at hal/HalWakeLock.cpp:118 Based on when I started seeing this, I'm guessing it's a regression from bug 805017.
We assumed that when visibility change event occurs, the visibility state is different. I should have asserted that. I don't know how could this happen though.
Assignee: nobody → kchen
Attachment #679538 - Flags: review?(justin.lebar+bug)
OS: Mac OS X → All
Comment on attachment 679538 [details] [diff] [review] Don't change wake lock state if visibility doesn't change. v1 Okay!
Attachment #679538 - Flags: review?(justin.lebar+bug) → review+
Keywords: checkin-needed
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla19
blocking-b2g: --- → tef?
Nominated because this will cause wrong wakelock count which will affect power usage.
+1. Power consumption is a big issue. We need to prevent our phones from exhausting the battery quickly.
Whiteboard: [battery]
I can confirm that this missed the b2g18 train. I doubt we can take this on tef now. That's a bummer, but missing bugs like this is the risk we knew we were taking when we adopted a many-branches model.
blocking-b2g: tef? → leo+
Flags: in-moztrap-
See Also: → 880609
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: