Closed Bug 1413013 Opened 9 years ago Closed 9 years ago

nsITransactionList looks unused

Categories

(Core :: DOM: Editor, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla58
Tracking Status
firefox58 --- fixed

People

(Reporter: marco, Assigned: marco)

References

(Blocks 2 open bugs)

Details

Attachments

(1 file)

From the code coverage report, it looks like nsTransactionList.cpp is never executed during tests. From a quick inspection, it looks like dead code to me.
Attached patch Patch — — Splinter Review
Attachment #8923584 - Flags: review?(m_kato)
Attachment #8923584 - Flags: review?(m_kato) → review?(masayuki)
Comment on attachment 8923584 [details] [diff] [review] Patch getUndoList() and getRedoList() are still used by SeaMonkey. However, looks like that they are used only by their QA extensions: https://searchfox.org/comm-central/source/suite/extensions/debugQA/content/debugQAEditorOverlay.js#391 https://searchfox.org/comm-central/source/suite/extensions/debugQA/content/debugQAEditorOverlay.js#369 So, perhaps, it's no problem to remove them from m-c.
Attachment #8923584 - Flags: review?(masayuki) → review+
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla58
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: