cheers

2017-07-08 Thread waxmiguel
___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform

Re: Converting const char (&name)[N] to nsACString

2017-07-08 Thread Boris Zbarsky
On 7/5/17 5:41 AM, nmago wrote: char* cname = new char[N]; memcpy(cname, &name, N); nsACString strName(cname, N, 0); This copies the data twice, and leaks it once, as far as I can tell. What, exactly, are you trying to accomplish? For example, do you need an nsACString that has a copy of you

Re: Intent to unship: tree pseudo-element selectors from web content (::-moz-tree-*)

2017-07-08 Thread Emilio Cobos Álvarez
On 07/07/2017 06:03 AM, Xidorn Quan wrote: > On Fri, Jul 7, 2017, at 01:42 PM, Jet Villegas wrote: >> Thanks for cleaning this up. >> >> On Thu, Jul 6, 2017 at 8:29 PM, Xidorn Quan wrote: >> >>> Although they don't currently match anything on web content, there is >>> still some risk for unshipp