nsIUnicodeEncoder and nsIUnicodeDecoder are non-scriptable interface. Now, to get these interfaces, we have to get nsICharsetConverterManager service/interface, then we use GetUnicode* method to get these. Since nsIUnicode* is noscript interface, we should add fastpath function to get these without getService().
We now have EncodingUtils::DecoderForEncoding and EncodingUtils::EncoderForEncoding. Duplicating forward to where they were implemented.
Status: NEW → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → DUPLICATE
Duplicate of bug: 919935
You need to log in before you can comment on or make changes to this bug.