nsIEditor is now builtinclass

Ehsan Akhgari ehsan.akhgari at gmail.com
Thu Aug 28 20:24:00 UTC 2014

On 2014-08-28, 3:54 PM, R Kent James wrote:
> On 8/26/2014 2:11 PM, Jonathan Protzenko wrote:
>> Here's the full explanation for the earlier initEditor breakage I
>> mentioned in my original mail below.
>> tl;dr: nsIEditor is, as Ehsan kindly pointed out to me, now
>> builtinclass (can't be implemented in JS); a consequence is that
>> clients who wish to send HTML emails now really need to abide by one
>> very specific state protocol. A way to workaround this would be to
>> make the editor field of nsIMsgCompose read-write. Thoughts?
> See *Bug 1059705* <https://bugzilla.mozilla.org/show_bug.cgi?id=1059705>
> -revert the change which made nsIEditor builtinclass and
> https://bugzilla.mozilla.org/show_bug.cgi?id=1053048#c29 "We can revert
> the change pretty easily though. Just tiny bit uglier C++ code, but that
> is fine."
> :smaug seems open to reverting this change. I hope that is what you
> wanted, protz!

This is sort of terrible.  I was hoping to get to a better solution here. :(


More information about the tb-planning mailing list