Closed Bug 1471111 Opened 6 years ago Closed 4 years ago

Port | Bug 1449522 - Remove nsIEditorStyleSheets | to comm-central

Categories

(Thunderbird :: Upstream Synchronization, defect, P3)

defect

Tracking

(thunderbird_esr78 unaffected)

RESOLVED FIXED
Thunderbird 77.0
Tracking Status
thunderbird_esr78 --- unaffected

People

(Reporter: t.matsuu, Unassigned)

References

Details

(Whiteboard: [ fixed by bug 1449522])

+++ This bug was initially created as a clone of Bug #1449522 +++ nsIEditorStyleSheets will be removed from m-c. https://searchfox.org/comm-central/search?q=nsIEditorStyleSheets&case=false&regexp=false&path=
Blocks: 1449522
No longer depends on: 1449522, 1470361
We haven't removed nsIEditorStyleSheets, only some of the APIs which, afaik, aren't used by comm-central.
(That being said, if you removed nsIEditorStyleSheets usage from comm-central, it'd certainly be nice!)
Looks like there are only two uses: https://dxr.mozilla.org/comm-central/search?q=nsIEditorStyleSheets&redirect=false editor/ui/composer/content/editor.js 276 editor.QueryInterface(nsIEditorStyleSheets); 1900 editor.QueryInterface(nsIEditorStyleSheets); mail/components/compose/content/MsgComposeCommands.js 3038 var editorStyle = editor.QueryInterface(Ci.nsIEditorStyleSheets); 6790 editor.QueryInterface(nsIEditorStyleSheets); We use it to add style sheets. Is there a replacement or a better way to do it?
I don't mind to move necessary methods to nsIHTMLEditor or somewhere if there is no equivalent but we can get rid of an interface.
Type: enhancement → defect
Component: General → Upstream Synchronization
Product: MailNews Core → Thunderbird

To what extent was this completed in bug 1449522 ?

Flags: needinfo?(mkmelin+mozilla)

This was all fixed by bug 1449522, thx.

Flags: needinfo?(mkmelin+mozilla)
Whiteboard: [ fixed by bug 1449522]
Target Milestone: --- → Thunderbird 77.0
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.