Open
Bug 1186702
Opened 10 years ago
Updated 2 years ago
ProcessHangMonitor.jsm: TypeError: win.gBrowser is undefined
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
NEW
Tracking | Status | |
---|---|---|
firefox42 | --- | affected |
People
(Reporter: jruderman, Unassigned)
References
Details
(Keywords: testcase)
Attachments
(2 files)
With:
user_pref("nglayout.debug.disable_xul_cache", true);
JavaScript error: resource:///modules/ProcessHangMonitor.jsm, line 194: TypeError: win.gBrowser is undefined
(I'm testing with e10s disabled, and popups enabled.)
Reporter | ||
Comment 1•9 years ago
|
||
Reporter | ||
Comment 2•9 years ago
|
||
With that one I saw both:
* win.gBrowser is undefined
* win.gBrowser is null
Comment hidden (Intermittent Failures Robot) |
Comment 4•6 years ago
|
||
I saw this error today when keeping Cmd+N pressed for a few seconds to open several browser windows at once. I was on this line: https://searchfox.org/mozilla-central/rev/5e3bffe964110b8d1885b4236b8abd5c94d8f609/browser/modules/ProcessHangMonitor.jsm#410
I think gBrowser doesn't exist yet because the window hasn't finished initializing. That's likely because Services.wm.getEnumerator("navigator:browser") returns all browser windows, including the ones that aren't done loading.
Assignee | ||
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
Updated•2 years ago
|
Severity: minor → S4
You need to log in
before you can comment on or make changes to this bug.
Description
•