Closed Bug 1507117 Opened 6 years ago Closed 6 years ago

aboutPerformance.js, TypeError: row.nextSibling is null; can't access its "firstChild" property

Categories

(Toolkit :: Performance Monitoring, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla65
Tracking Status
firefox65 --- fixed

People

(Reporter: florian, Assigned: florian)

Details

Attachments

(1 file)

JavaScript error: chrome://global/content/aboutPerformance.js, line 1114: TypeError: row.nextSibling is null; can't access its "firstChild" property

This happens when attempting to hide a subtree at the bottom of the list. So either when collapsing the "Recently closed tabs" section (which is always at the bottom), or when closing a tab that's the last row in the table.

This is just noise in the console, can be fixed with a simple null check.
Attachment #9025001 - Flags: review+
Pushed by florian@queze.net:
https://hg.mozilla.org/integration/mozilla-inbound/rev/d933706067df
aboutPerformance.js, add a null check before accessing row.nextSibling when removing a subtree, r=Gijs.
https://hg.mozilla.org/mozilla-central/rev/d933706067df
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla65
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: