Closed Bug 1641888 Opened 4 years ago Closed 4 years ago

JavaScript error: resource:///modules/UrlbarInput.jsm, line 366: Error: Unrecognized UrlbarInput event: unload

Categories

(Firefox :: Address Bar, defect, P3)

defect

Tracking

()

VERIFIED FIXED
Firefox 78
Iteration:
78.2 - May 18 - May 31
Tracking Status
firefox78 --- verified

People

(Reporter: florian, Assigned: mak)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

JavaScript error: resource:///modules/UrlbarInput.jsm, line 366: Error: Unrecognized UrlbarInput event: unload

I see this error in my terminal when I press Cmd+Q while the url bar is focused.

https://searchfox.org/mozilla-central/rev/9aa7bebfd169bc2ead00ef596498a406e56bbb85/browser/components/urlbar/UrlbarInput.jsm#62 adds an unload event listener, but nothing in the file seems to be handling this event, and an exception is thrown at https://searchfox.org/mozilla-central/rev/9aa7bebfd169bc2ead00ef596498a406e56bbb85/browser/components/urlbar/UrlbarInput.jsm#366

this is a leftover. thanks, I just hit the same error while running tests.

Assignee: nobody → mak
Severity: -- → S4
Status: NEW → ASSIGNED
Iteration: --- → 78.2 - May 18 - May 31
Priority: -- → P3
Regressed by: 1627858
Has Regression Range: --- → yes
Pushed by mak77@bonardo.net: https://hg.mozilla.org/integration/autoland/rev/a3a9125a6e9d Remove no more used 'unload' event listener. r=harry
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 78

I verified this issue on Fx 78.0 using macOS 10.13.

Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: