Closed Bug 500598 Opened 12 years ago Closed 12 years ago

Undefined item in tabContainer.childNodes after closing tabs

Categories

(Firefox :: Sync, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: Mardak, Assigned: Mardak)

References

Details

Every time when sync runs, there might be some warnings like..
2009-06-25 22:12:01	Store.Tabs.Store     WARN	Undefined item in tabContainer.childNodes.

They seem to appear after closing tabs, and some reason undefined children appear, so maybe we should just change how we iterate over the tabs.
Bug 485539 added the warning.
Depends on: 485539
http://hg.mozilla.org/labs/weave/rev/ef98c4ccf64a
The childNodes NodeList keeps its indices even after removal, so it's safer to convert the array-like thing into an actual array. Condense the QueryInterface code to the instanceof magic.
Assignee: nobody → edilee
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → 0.4
Component: Firefox Sync: Backend → Sync
Product: Cloud Services → Firefox
You need to log in before you can comment on or make changes to this bug.