On Thu, Aug 15, 2013 at 4:22 PM, Nicholas Nethercote <[email protected]> wrote: > > - Somehow indicate that I want the string on the JS side to be an > JSExternalString.
I just had a discussion on #developers with khuey, bent, and jcranmer. AIUI, if I change the |description| parameter to an AString (i.e. a 16-bit string, like the JS engine uses) then xpconnect will create external strings on the JS side, which avoids the duplication... well, xpconnect won't do that yet, but it should be possible to do so: https://bugzilla.mozilla.org/show_bug.cgi?id=514173. So there's a path forward, though it will take some work. Nick _______________________________________________ dev-platform mailing list [email protected] https://lists.mozilla.org/listinfo/dev-platform

