Closed Bug 595103 Opened 14 years ago Closed 9 years ago

fastpath to get nsIUnicodeEncoder and nsIUnicodeDecoder

Categories

(Core :: Internationalization, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 919935

People

(Reporter: m_kato, Assigned: smontagu)

References

(Blocks 1 open bug)

Details

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
Closed: 9 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.