Last Comment Bug 664466 - Sometimes hud is undefined in HS_deactivateHUDForContext
: Sometimes hud is undefined in HS_deactivateHUDForContext
Status: RESOLVED FIXED
:
Product: Firefox
Classification: Client Software
Component: Developer Tools: Console (show other bugs)
: Trunk
: All All
: -- normal (vote)
: Firefox 12
Assigned To: Nobody; OK to take it and work on it
:
: Brian Grinstead [:bgrins]
Mentors:
Depends on: 609890
Blocks:
  Show dependency treegraph
 
Reported: 2011-06-15 09:33 PDT by David Dahl :ddahl
Modified: 2012-01-13 03:01 PST (History)
1 user (show)
See Also:
Crash Signature:
(edit)
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Attachments

Description David Dahl :ddahl 2011-06-15 09:33:06 PDT
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.

Note You need to log in before you can comment on or make changes to this bug.