Enabling NSPR logging in release builds

2014-10-03 Thread Eric Rahm
Hi all- In bug 806819 we're planning on landing a change that allows us to turn on NSPR logging in release builds [1]. To be clear, by default all logging output is disabled, this will just allow you to turn on logging via the same mechanisms [2] that have been available to debug builds and m

Re: Intent to implement: WOFF2 webfont format

2014-10-03 Thread chris
On Friday, 3 October 2014 02:12:22 UTC+2, Jonas Sicking wrote: > Could we at least add woff2 to the Accept header when fetching fonts? If Internet Media Types for fonts were widely and consistently deployed, then that sort of server-mediated content negotiation (client sends list of accepted f

Re: Blockers of using GCC 4.5+?

2014-10-03 Thread Xidorn Quan
On Fri, Oct 3, 2014 at 8:57 AM, Nathan Froyd wrote: > - Original Message - > > I found that both Linux build and Android build have been using GCC 4.7 > for > > a time, and after searching the bugzilla with keyword gcc 4.5, 4.6, 4.7, > > 4.8, I found no open tracking bugs about upgrading

Re: Blockers of using GCC 4.5+?

2014-10-03 Thread Mike Hommey
On Fri, Oct 03, 2014 at 08:51:38AM -0700, Xidorn Quan wrote: > Hi, > > It seems that many useful C++11 features supported since GCC 4.5 is not > allowed, including lambdas and local structs as template parameters. > > I found that both Linux build and Android build have been using GCC 4.7 for > a

Re: Blockers of using GCC 4.5+?

2014-10-03 Thread Nathan Froyd
- Original Message - > I found that both Linux build and Android build have been using GCC 4.7 for > a time, and after searching the bugzilla with keyword gcc 4.5, 4.6, 4.7, > 4.8, I found no open tracking bugs about upgrading the version of GCC we > use from a version older than 4.5. From

Blockers of using GCC 4.5+?

2014-10-03 Thread Xidorn Quan
Hi, It seems that many useful C++11 features supported since GCC 4.5 is not allowed, including lambdas and local structs as template parameters. I found that both Linux build and Android build have been using GCC 4.7 for a time, and after searching the bugzilla with keyword gcc 4.5, 4.6, 4.7, 4.8

Re: c++ unit test in content process

2014-10-03 Thread Eric Rescorla
Sadly, the WebRTC gtest-based ones (e.g., media/webrtc/signaling/test) do. On Fri, Oct 3, 2014 at 6:04 AM, Kyle Huey wrote: > On Fri, Oct 3, 2014 at 5:44 AM, Benjamin Smedberg > wrote: > > > > On 10/3/2014 4:59 AM, Patrick Wang wrote: > >> > >> Hi, > >> > >> I am trying to write a C++ unit te

Re: c++ unit test in content process

2014-10-03 Thread Benjamin Smedberg
On 10/3/2014 9:46 AM, Patrick Wang wrote: The test I am writing is to test an implementation of WebRTC's TCP socket in content process. These codes are build on top of TCPSocket's IPDL in C++ and don't have IDL so it cannot be called directly from JS, and the tests for chrome process version are

Re: c++ unit test in content process

2014-10-03 Thread Patrick Wang
The test I am writing is to test an implementation of WebRTC's TCP socket in content process. These codes are build on top of TCPSocket's IPDL in C++ and don't have IDL so it cannot be called directly from JS, and the tests for chrome process version are written with gtest. Therefore I am thinking

Re: c++ unit test in content process

2014-10-03 Thread Kyle Huey
On Fri, Oct 3, 2014 at 5:44 AM, Benjamin Smedberg wrote: > > On 10/3/2014 4:59 AM, Patrick Wang wrote: >> >> Hi, >> >> I am trying to write a C++ unit test for code that runs in child >> process, but all c++ tests I found run in parent process. Is it possible >> to write a c++ test case that runs

Re: c++ unit test in content process

2014-10-03 Thread Benjamin Smedberg
On 10/3/2014 4:59 AM, Patrick Wang wrote: Hi, I am trying to write a C++ unit test for code that runs in child process, but all c++ tests I found run in parent process. Is it possible to write a c++ test case that runs in child process, or is there any example in our code? Could you be more s

Fwd: JavaScript (strict) Warning from FF mochitest-plain test.

2014-10-03 Thread Mike de Boer
FYI, forwarding Ehsan’s reply: Begin forwarded message: > From: Ehsan Akhgari > Subject: Re: JavaScript (strict) Warning from FF mochitest-plain test. > Date: 2 Oct 2014 23:09:29 GMT+2 > To: Mike de Boer > > Great! I'm all for this if we decide to act on the data. :-) > > (BTW this email wa

c++ unit test in content process

2014-10-03 Thread Patrick Wang
Hi, I am trying to write a C++ unit test for code that runs in child process, but all c++ tests I found run in parent process. Is it possible to write a c++ test case that runs in child process, or is there any example in our code? Thanks, Patrick smime.p7s Description: S/MIME Cryptographic Si

Re: JavaScript (strict) Warning from FF mochitest-plain test.

2014-10-03 Thread David Rajchenbach-Teller
I'm in the process of doing that for uncaught rejections, fwiw. On 03/10/14 03:34, Boris Zbarsky wrote: > On 10/2/14, 4:53 PM, Jeff Gilbert wrote: >> If you want to guarantee it, don't warn, assert. > > Note that mochitest-plain tests will go orange on unexpected uncaught > exceptions. Not least

Re: Intent to implement: WOFF2 webfont format

2014-10-03 Thread Jonathan Kew
On 3/10/14 01:11, Jonas Sicking wrote: On Thu, Oct 2, 2014 at 9:42 AM, Jonathan Kew wrote: Or do people need to hardcode UA versions to know what UAs support it? I believe that's what Google Fonts currently does, though IMO a better approach is to serve CSS that offers both WOFF2 and older (

Re: JavaScript (strict) Warning from FF mochitest-plain test.

2014-10-03 Thread ISHIKAWA,chiaki
Dear Steve, Thank you for the feedback. Also I would like to thank other people whose e-mails also give an glimpse of the depth of the problem. On 2014/10/03 4:49, Steve Fink wrote: On 10/02/2014 11:59 AM, ISHIKAWA,chiaki wrote: Hi, I was looking at a large number of JavaScript (strict) warni