Closed Bug 664466 Opened 13 years ago Closed 13 years ago

Sometimes hud is undefined in HS_deactivateHUDForContext

Categories

(DevTools :: Console, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 12

People

(Reporter: ddahl, Unassigned)

References

Details

As I fixed a failing test in bug 609890, I noticed that the hud can be undefined while HS_deactiveHUDForContext is called. perhaps we just need to return early if hud is undefined? maybe there is a deeper issue here? I wrapped:

browser.webProgress.removeProgressListener(hud.progressListener);
delete hud.progressListener;

in a try catch in my patch for bug 609890 to just ignore the error for now. This may also be a problem strictly in testing.
Whiteboard: [being-fixed-in-609890]
Status: NEW → RESOLVED
Closed: 13 years ago
Component: Developer Tools → Developer Tools: Console
Depends on: 609890
QA Contact: developer.tools → developer.tools.console
Resolution: --- → FIXED
Whiteboard: [being-fixed-in-609890]
Target Milestone: --- → Firefox 12
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.