Re: How do you run unit tests against Firefox?

2014-11-13 Thread jmaher
On Wednesday, November 12, 2014 5:51:40 PM UTC-5, Benjamin Smedberg wrote: On 11/12/2014 5:49 PM, Nicholas Nethercote wrote: What exactly do you mean by unit tests? I presumed that this meant all of our pass/fail test suites (not the performance tests): xpcshell, the various flavors of

Re: Mailing list for version control discussion

2014-11-13 Thread Philip Chee
On 13/11/2014 09:58, Gregory Szorc wrote: version-control-...@mozilla.org is now a mailing list. Is this gated to a nntp newsgroup? Thanks! Short term, we'll likely be talking about upgrading the server infrastructure and fixing Try. Long term, I imagine there will be some interesting

proposal: cloneable input streams

2014-11-13 Thread Ben Kelly
Hello all, I'd like to propose an addition to our nsIInputStream infrastructure. Please let me know what you think. Basics: I propose adding this interface: interface nsICloneableInputStream : nsIInputStream { nsIInputStream clone(); }; The clone() method returns a copy of the

PSA: nsRefPtr.h no longer depends on nsCOMPtr.h

2014-11-13 Thread Nathan Froyd
Bug 1095541, currently on inbound, moves various things around so that nsRefPtr.h no longer depends on nsCOMPtr.h. Surprisingly enough, no tree-wide changes were required to break this dependency, but it's possible that code that doesn't reside in mozilla-central may depend on this

Profiling on Linux

2014-11-13 Thread smaug
Hi all, looks like Zoom profiler[1] is now free. It has rather good UI on top of oprofile/rrprofile making profiling quite easy. I've found it easier to use than Gecko profiler and it gives different kinds of views to the same data. However it does lack the JS specific bits Gecko profiler has.

Re: Profiling on Linux

2014-11-13 Thread smaug
On 11/13/2014 08:01 PM, smaug wrote: Hi all, looks like Zoom profiler[1] is now free. It has rather good UI on top of oprofile/rrprofile perf/oprofile/rrprofile making profiling quite easy. I've found it easier to use than Gecko profiler and it gives different kinds of views to the same

Re: http-schemed URLs and HTTP/2 over unauthenticated TLS (was: Re: WebCrypto for http:// origins)

2014-11-13 Thread Martin Thomson
I’m not all that enthused by the blow-by-blow here. Nonetheless, there are some distortions to correct. On 2014-11-12, at 20:23, Henri Sivonen hsivo...@hsivonen.fi wrote: That's true if the server presents a publicly trusted cert for the wrong hostname (as is common if you try to see what

Re: http-schemed URLs and HTTP/2 over unauthenticated TLS (was: Re: WebCrypto for http:// origins)

2014-11-13 Thread Patrick McManus
I haven't really waded into this iteration of the discussion because there isn't really new information to talk about. But I know everyone is acting in good faith so I'll offer my pov again. We're all trying to serve our users and the Internet - same team :) OE means ciphertext is the new

Re: Profiling on Linux

2014-11-13 Thread Benoit Girard
Thanks for pointing this out, there's no single all purpose tool. Just a reminder that we have documentation on how to look into performance problems here: https://developer.mozilla.org/en-US/docs/Mozilla/Performance Zoom already has a page on there. If there's any mozilla specific information

Re: Profiling on Linux

2014-11-13 Thread smaug
On 11/13/2014 10:42 PM, Benoit Girard wrote: Thanks for pointing this out, there's no single all purpose tool. Indeed. Obviously for b2g stuff for example Gecko profiler is way more useful (because you can run it on the device and knowing what js is running can be very relevant there).

FYI:

2014-11-13 Thread Hal Wine
tl;dr: trees and buildfarm will be bumpy this Saturday, November 15, from 0300-1400 PT (1100-2200 UTC) devs will need to monitor their builds, and trigger rebuilds via self serve as needed. There may be several short time frames when

Re: http-schemed URLs and HTTP/2 over unauthenticated TLS (was: Re: WebCrypto for http:// origins)

2014-11-13 Thread Henri Sivonen
On Thu, Nov 13, 2014 at 8:29 PM, Martin Thomson m...@mozilla.com wrote: This is true for TLS = 1.2, but will not be true for TLS 1.3. Certificates are available to a MitM currently, but in future versions, that sort of attack will be detectable. Great. I was unaware of this. (This is