Closed Bug 1430319 Opened 2 years ago Closed 2 years ago

Get rid of nsIEditActionListener::Will*()

Categories

(Core :: DOM: Editor, enhancement)

enhancement
Not set

Tracking

()

RESOLVED FIXED
mozilla60
Tracking Status
firefox59 --- wontfix
firefox60 --- fixed

People

(Reporter: masayuki, Assigned: masayuki)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

After fixing bug 1430021, nobody listens to nsIEditActionListener::Will*(). So, we can just remove them simply.
Unfortunately, we cannot remove WillDeleteText, WillDeleteSelection nor DidInsertText because FinderHighlighter.jsm implements them:
https://searchfox.org/mozilla-central/rev/41925c0b6c6d58578690121de439d2a8d3d690f3/toolkit/modules/FinderHighlighter.jsm#1495,1516,1542
Comment on attachment 8942911 [details]
Bug 1430319 - Get rid of nsIEditActionListener::Will*() which are not used by anybody

https://reviewboard.mozilla.org/r/213174/#review219574
Attachment #8942911 - Flags: review?(m_kato) → review+
Pushed by masayuki@d-toybox.com:
https://hg.mozilla.org/integration/autoland/rev/837df5c8fac8
Get rid of nsIEditActionListener::Will*() which are not used by anybody r=m_kato
https://hg.mozilla.org/mozilla-central/rev/837df5c8fac8
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla60
You need to log in before you can comment on or make changes to this bug.