Closed Bug 974412 Opened 7 years ago Closed 7 years ago
Assertion failure: Get
Container Weak() (Invalidation in detached pres context), at layout/base/ns Pres Context .cpp:2357
I got this when running reftests in a local debug Linux64 build: Assertion failure: GetContainerWeak() (Invalidation in detached pres context), at layout/base/nsPresContext.cpp:2357 (with some local patches for bug 613659 but those shouldn't affect invalidation I think)
http://hg.mozilla.org/mozilla-central/annotate/bf0e76f2a7d4/layout/base/nsPresShell.cpp#l619 Looks like nsIPresShell::InvalidatePresShellIfHidden() was added in Bug 539356 - Part 26. http://hg.mozilla.org/mozilla-central/rev/ec48fbf9dd69 but I can't find any description in the bug about what it's for. https://bugzilla.mozilla.org/show_bug.cgi?id=539356#attach_637472 Matt/roc do you remember what it's for?
This appears to fix it.
Assignee: nobody → matspal
I'm demoting this assertion to a warning in bug 974905, but I think this is the right fix for this case. https://tbpl.mozilla.org/?tree=Try&rev=934345768b02
Attachment #8379485 - Flags: review?(roc) → review+
I just hit this while browsing; I'm not sure exactly what I was doing, though I think I might have just bumped the hardware back or forward button keys.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla30
You need to log in before you can comment on or make changes to this bug.