Closed Bug 1782991 Opened 3 years ago Closed 3 years ago

BrowserUsageTelemetry.jsm logs an error to the console every time I click in the search engine list in preferences (TypeError: node.getAttribute is not a function)

Categories

(Firefox :: Settings UI, defect)

defect

Tracking

()

RESOLVED FIXED
105 Branch
Tracking Status
firefox-esr91 --- unaffected
firefox-esr102 --- wontfix
firefox103 --- wontfix
firefox104 --- wontfix
firefox105 --- fixed

People

(Reporter: standard8, Assigned: standard8)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

STR

  1. Open preferences and select the search pane.
  2. Click anywhere in the Search shortcuts table, and monitor the browser console.

Actual Result

JavaScript error: resource:///modules/BrowserUsageTelemetry.jsm, line 832: TypeError: node.getAttribute is not a function

Expected Result

No errors.

I think this is a regression from bug 1757353. I'm going to put up a patch for it.

This detects if we've got to the parent document and if so, exits early - we don't appear to collect clicks on the parent document, so no need to go further.

Set release status flags based on info from the regressing bug 1757353

Pushed by mbanner@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/01f1a7f0b385 Avoid an error in BrowserUsageTelemetry when clicking in the search shortcuts table in preferences. r=Gijs
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 105 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: