I saw this error today when keeping Cmd+N pressed for a few seconds to open several browser windows at once. It was on this line: hhttps://searchfox.org/mozilla-central/rev/5e3bffe964110b8d1885b4236b8abd5c94d8f609/browser/modules/BrowserUsageTelemetry.jsm#108 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.
Bug 1526986 Comment 0 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
I saw this error today when keeping Cmd+N pressed for a few seconds to open several browser windows at once. It was on this line: https://searchfox.org/mozilla-central/rev/5e3bffe964110b8d1885b4236b8abd5c94d8f609/browser/modules/BrowserUsageTelemetry.jsm#108 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.