Closed Bug 560261 Opened 14 years ago Closed 14 years ago

_DOMElement assertion on livemarks update

Categories

(Firefox :: Bookmarks & History, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
Firefox 3.7a5

People

(Reporter: mak, Assigned: mak)

References

Details

(Keywords: dogfood, regression)

Attachments

(1 file)

sounds like i get a bunch of assertions when a livemark updates, not sure what's up, investigating.
i think i figured out this happens when there is no active window, since livemarks update can happen when there is no FX window active, we hit the assertion. I can reproduce this asking a livemark to update and immediately switching to another unrelated window.
I think links between PUIU and window are too lazy, so i'll try to extract the window/document from params.
Attached patch patch v1.0Splinter Review
This should be good, since these are tasks that could happen in background, it's common we could not have an activeWindow. I just get the document from the popup we are building then, for backwards compat with add-ons i use the top browser window otherwise.
Attachment #440001 - Flags: review?(dietrich)
Flags: in-testsuite-
Flags: in-litmus?
Target Milestone: --- → Firefox 3.7a5
Comment on attachment 440001 [details] [diff] [review]
patch v1.0

r=sdwilsh
Attachment #440001 - Flags: review?(dietrich) → review+
FYI, I won't use the nightlies until this is landed.
Keywords: dogfood
http://hg.mozilla.org/mozilla-central/rev/2e1b0e131c49
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
to reproduce the bug, right click on a livemark, ask for a reload and immediately switch to another application (not a firefox window), then wait some second.
Does this also cover the message I'm receiving "assert mode must have dom element set"?
(In reply to comment #7)
> Does this also cover the message I'm receiving "assert mode must have dom
> element set"?

it's about it.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: