On Fri, Sep 01, 2017 at 01:18:12PM -0400, Boris Zbarsky wrote:
That has the unfortunate side-effect of allocating a new JS string for every call, but we can probably optimize it if it becomes necessary.

We could add a hasClassName if we wanted.

That's an interesting idea. It would also remove the need to convert to UTF-16, since we could just use EqualsASCII.
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to