Closed Bug 1453054 Opened 6 years ago Closed 6 years ago

EdReplace.js has useless QI to nsIDOMNode

Categories

(MailNews Core :: Composition, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Thunderbird 61.0

People

(Reporter: bzbarsky, Assigned: jorgk-bmo)

Details

Attachments

(1 file)

This one:

  var rootNode = gEditor.rootElement.QueryInterface(Ci.nsIDOMNode);

This will likely stop working at some point (maybe even as part of bug 1453053).
Assignee: nobody → jorgk
Status: NEW → ASSIGNED
Comment on attachment 8966702 [details] [diff] [review]
1453054-remove-qi.patch

Forgot to set r?
Attachment #8966702 - Flags: review?(bzbarsky)
Comment on attachment 8966702 [details] [diff] [review]
1453054-remove-qi.patch

r=me
Attachment #8966702 - Flags: review?(bzbarsky) → review+
Pushed by mozilla@jorgk.com:
https://hg.mozilla.org/comm-central/rev/0e10269b8a3a
Remove needless QI to nsIDOMNode in editor's EdReplace.js. r=bz
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Component: General → Composition
Product: Composer → MailNews Core
Target Milestone: --- → Thunderbird 61.0
Version: other → unspecified
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: