Closed Bug 888131 Opened 11 years ago Closed 11 years ago

SideMenuWidget displays tooltips that simply say 'undefined'.

Categories

(DevTools :: General, defect, P2)

x86
macOS
defect

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: anton, Unassigned)

Details

I'm using custom nodes as items for SideMenuWidget. AFAIK, there's no way for me to set a description property on my items and because of that the resulting UI has a tooltip that says "undefined" (to reproduce simply hover over any profile item in the Profiler sidebar).

I think the widget should a) not set tooltiptext property if its undefined and b) allow me to set descriptions when using custom DOM nodes.
Yup, should be fixed by bug 887203.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WORKSFORME
(In reply to Anton Kovalyov (:anton) from comment #0)
> 
> I think the widget should a) not set tooltiptext property if its undefined
> and b) allow me to set descriptions when using custom DOM nodes.

You now can, after bug 884006:
> .push([customNode, someValue, descriptionAsTooltip]);
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.