Closed Bug 596418 Opened 15 years ago Closed 14 years ago

Web Console cleanup: break; in HUDService.unregisterDisplay()

Categories

(DevTools :: General, defect)

defect
Not set
trivial

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: pcwalton, Unassigned)

References

Details

(Whiteboard: [cleanup] [post-fx-4])

In HUD_SERVICE.unregisterDisplay(), the line "specHudArr.splice(i, 1)" should have a "break;" after it, since there should only be one HUD per URI (and the logic would be incorrect otherwise).
This bug no longer applies to the existing HUDService.jsm code. This was fixed, the code was removed. I can't remember when, with which patch.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → WORKSFORME
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.