Closed Bug 1771152 Opened 3 months ago Closed 3 months ago

Uncaught TypeError: mutation.target.closest is not a function when opening edit credit card dialog

Categories

(Toolkit :: Form Autofill, defect, P1)

defect

Tracking

()

RESOLVED FIXED
102 Branch
Tracking Status
firefox102 --- fixed

People

(Reporter: dimi, Assigned: dimi)

References

()

Details

Attachments

(1 file)

No description provided.

mutation.target is HTMLDocument, which doesn't have closest function.
This patch uses mutation.target.documentElement instead.

Pushed by dlee@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/6fc99ee8219e
Use documentElement.closest r=sgalich

Backed out for causing mochitest failures on browser_editAddressDialog.js

  • Backout link
  • Push with failures
  • Failure Log
  • Failure line: TEST-UNEXPECTED-FAIL | browser/extensions/formautofill/test/browser/browser_editAddressDialog.js | Uncaught exception in test - Wait for label to be populated by the mutation observer - timed out after 50 tries.
Flags: needinfo?(dlee)
Pushed by dlee@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/ce97bb200fba
Use documentElement.closest r=sgalich
Status: ASSIGNED → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → 102 Branch
Flags: needinfo?(dlee)
You need to log in before you can comment on or make changes to this bug.