Re: PSA: Flaky timeouts in mochitest-plain now fail newly added tests

2014-12-17 Thread Daniel Holbert
Sorry -- after re-reading, I realized I was wrong here -- your example scenario is actually different from the legitimate scenario I alluded to in the first message of this thread. The legitimate scenario from that first message was: - We're expecting that an event *will not* fire. - We wait a b

Re: PSA: multipart/x-mixed-replace images will soon be restricted to MJPEG

2014-12-17 Thread James May
On 17 December 2014 at 09:43, Seth Fowler wrote: > > Right now, ImageLib provides very general support for > multipart/x-mixed-replace images. Each part may contain a different image > format (we may even switch between raster and vector images from one part > to the next), individual parts may be

Re: PSA: multipart/x-mixed-replace images will soon be restricted to MJPEG

2014-12-17 Thread Robert O'Callahan
Hooray! Rob -- oIo otoeololo oyooouo otohoaoto oaonoyooonoeo owohooo oioso oaonogoroyo owoiotoho oao oboroootohoeoro oooro osoiosotoeoro owoiololo oboeo osouobojoeocoto otooo ojouodogomoeonoto.o oAogoaoiono,o oaonoyooonoeo owohooo osoaoyoso otooo oao oboroootohoeoro oooro osoiosotoeoro,o o‘oRoaoc

Re: PSA: Support for Visual C++ 2010 has been dropped

2014-12-17 Thread Mike Hommey
On Wed, Dec 17, 2014 at 09:36:43PM -0500, Ehsan Akhgari wrote: > On 2014-12-17 5:43 PM, Joshua Cranmer 🐧 wrote: > >On 12/17/2014 10:10 AM, Ehsan Akhgari wrote: > >>Note that this is not a change in our in-production compiler for Windows > >>(MSVC 2013), it just disables building with MSVC 2010 loca

Re: PSA: Support for Visual C++ 2010 has been dropped

2014-12-17 Thread Ehsan Akhgari
On 2014-12-17 5:43 PM, Joshua Cranmer 🐧 wrote: On 12/17/2014 10:10 AM, Ehsan Akhgari wrote: Note that this is not a change in our in-production compiler for Windows (MSVC 2013), it just disables building with MSVC 2010 locally. MSVC 2012 and 2013 can still be used to build Firefox on Windows.

Re: PSA: Flaky timeouts in mochitest-plain now fail newly added tests

2014-12-17 Thread Ehsan Akhgari
On 2014-12-17 8:33 PM, Nils Ohlmeier wrote: On Dec 12, 2014, at 10:34 AM, Ehsan Akhgari wrote: We had a session on intermittent test failures in Portland < https://etherpad.mozilla.org/ateam-pdx-intermittent-oranges>, and one of the things that we discussed was adding analyses to our test sui

Re: PSA: Flaky timeouts in mochitest-plain now fail newly added tests

2014-12-17 Thread Ehsan Akhgari
On 2014-12-17 4:27 PM, Martijn wrote: What about setInterval? (I guess that's not really used much?) Yes, setInterval is not used that much. What about where setTimeout is used as a fallback for when some event failed to fire and the mochitest is stalled and the setTimeout is then used to fin

Re: PSA: Constructors callable with one argument should be marked as explicit/implicit

2014-12-17 Thread Ehsan Akhgari
On 2014-12-17 1:11 PM, Gregory Szorc wrote: On 12/17/14 9:32 AM, Ehsan Akhgari wrote: On 2014-12-17 11:40 AM, Ted Mielczarek wrote: On 12/17/2014 10:19 AM, Ehsan Akhgari wrote: Apple unfortunately doesn't ship the headers and libraries required to build against that clang, and if you try to c

Re: PSA: Flaky timeouts in mochitest-plain now fail newly added tests

2014-12-17 Thread Nils Ohlmeier
> On Dec 12, 2014, at 10:34 AM, Ehsan Akhgari wrote: > > We had a session on intermittent test failures in Portland < > https://etherpad.mozilla.org/ateam-pdx-intermittent-oranges>, and one of > the things that we discussed was adding analyses to our test suites that > detect known bad test writ

Web APIs documentation meeting Friday at 10 AM PST

2014-12-17 Thread Eric Shepherd
The Web APIs documentation meeting is Friday at 10 AM Pacific Time (see http://bit.ly/APIdocsMDN for your time zone). Everyone's welcome to attend; if you're interested in ensuring that all Web APIs are properly documented, we'd love your input. We have an agenda, as well as details on how to j

Re: PSA: Support for Visual C++ 2010 has been dropped

2014-12-17 Thread Joshua Cranmer 🐧
On 12/17/2014 10:10 AM, Ehsan Akhgari wrote: Note that this is not a change in our in-production compiler for Windows (MSVC 2013), it just disables building with MSVC 2010 locally. MSVC 2012 and 2013 can still be used to build Firefox on Windows. Is the plan/intent to keep MSVC 2012 working or

Re: PSA: Support for Visual C++ 2010 has been dropped

2014-12-17 Thread Mike Hommey
On Wed, Dec 17, 2014 at 06:06:25PM +, Neil wrote: > Ehsan Akhgari wrote: > > >MSVC 2012 and 2013 can still be used to build Firefox on Windows. > > > I downloaded the MSVC 2013 Community Edition, but there was no sign of an > SDK, so I downloaded that separately. Is this expected? If so, I'll

Re: PSA: Flaky timeouts in mochitest-plain now fail newly added tests

2014-12-17 Thread Daniel Holbert
On 12/17/2014 01:27 PM, Martijn wrote: > What about where setTimeout is used as a fallback for when some event > failed to fire and the mochitest is stalled and the setTimeout is then > used to finish the mochitest on time and give some useful debug info? This exact scenario was called out in the

Re: PSA: Flaky timeouts in mochitest-plain now fail newly added tests

2014-12-17 Thread Martijn
What about setInterval? (I guess that's not really used much?) What about where setTimeout is used as a fallback for when some event failed to fire and the mochitest is stalled and the setTimeout is then used to finish the mochitest on time and give some useful debug info? Regards, Martijn On Fri

Re: PSA: Support for Visual C++ 2010 has been dropped

2014-12-17 Thread Jeff Walden
On 12/17/2014 08:31 AM, Nathan Froyd wrote: > It's worth noting that enums with explicit types don't work in all cases > with our current B2G compiler, see bug 1058561. Also gcc will wrongly warn (and you can't turn off the warning, even in -Werror builds) if you use |enum Foo : T| as the type of

Re: PSA: Constructors callable with one argument should be marked as explicit/implicit

2014-12-17 Thread Gregory Szorc
On 12/17/14 9:32 AM, Ehsan Akhgari wrote: On 2014-12-17 11:40 AM, Ted Mielczarek wrote: On 12/17/2014 10:19 AM, Ehsan Akhgari wrote: Apple unfortunately doesn't ship the headers and libraries required to build against that clang, and if you try to compile the plugin against headers/libraries o

Re: PSA: Support for Visual C++ 2010 has been dropped

2014-12-17 Thread Neil
Ehsan Akhgari wrote: MSVC 2012 and 2013 can still be used to build Firefox on Windows. I downloaded the MSVC 2013 Community Edition, but there was no sign of an SDK, so I downloaded that separately. Is this expected? If so, I'll update MDN. -- Warning: May contain traces of nuts.

Re: Can gecko be used as a Window manager in Linux CLI as it is used Firefox OS?

2014-12-17 Thread Asa Dotzler
On 12/6/14, 3:00 PM, Ankit ladhania wrote: I was thinking of using building a desktop environment that was build using HTML, CSS and JavaScript. I have read about Firefox OS and i know that Gecko is used as a Windows Manager in it. So i want to use it to make DE for my desktop. Does this kind

Re: PSA: Constructors callable with one argument should be marked as explicit/implicit

2014-12-17 Thread Ehsan Akhgari
On 2014-12-17 11:40 AM, Ted Mielczarek wrote: On 12/17/2014 10:19 AM, Ehsan Akhgari wrote: Apple unfortunately doesn't ship the headers and libraries required to build against that clang, and if you try to compile the plugin against headers/libraries obtained from elsewhere there is a good chan

Re: Serious performance regression when setting the background of window to be transparent under win32.

2014-12-17 Thread Jeff Muizelaar
Can you get profiles of the two cases? https://developer.mozilla.org/en-US/docs/Mozilla/Performance/Profiling_with_the_Built-in_Profiler It's also probably worth filing a bug about this. -Jeff On Tue, Dec 16, 2014 at 4:08 PM, 罗勇刚(Yonggang Luo) wrote: > > The result for Win7 X64, when the backg

Re: Serious performance regression when setting the background of window to be transparent under win32.

2014-12-17 Thread William Lachance
On 14-12-17 11:44 AM, William Lachance wrote: It's not clear to me that this is a "regression" in the usual sense, i.e. the browser performs worse than it used to. If that's right, then mozregression won't be useful. But a test case will be useful! If you have a test case, you can use mozreg

Re: Cross origin communication and the navigator.connect API

2014-12-17 Thread Alex Russell
On Mon, Dec 15, 2014 at 6:25 PM, Jonas Sicking wrote: > On Mon, Dec 15, 2014 at 2:50 PM, Alex Russell > wrote: > > On Thu, Dec 11, 2014 at 6:17 PM, Jonas Sicking wrote: > >> > >> On Thu, Dec 11, 2014 at 5:56 PM, Alex Russell > >> wrote: > >> >> One solution would be to at that point allow the

Re: Serious performance regression when setting the background of window to be transparent under win32.

2014-12-17 Thread Yonggang Luo
The result for Win7 X64, when the background of the window is transparent. CanvasMark Score: 4538 (Mozilla 31 on Windows) Without transparent background: CanvasMark Score: 5366 (Mozilla 31 on Windows) Tweet this result. 2014-12-16 23:30 GMT+08:00 Jeff Muizelaar : > Or rather than what platform

Re: Serious performance regression when setting the background of window to be transparent under win32.

2014-12-17 Thread William Lachance
On 14-12-16 05:41 PM, Nicholas Nethercote wrote: >Please file a bug with a testcase that people can run (e.g. an add-on that >creates such a tree on such a window) and look for a regression window using >e.g. mozregression (http://mozilla.github.io/mozregression/ ). It's not clear to me that th

Re: PSA: Constructors callable with one argument should be marked as explicit/implicit

2014-12-17 Thread Ted Mielczarek
On 12/17/2014 10:19 AM, Ehsan Akhgari wrote: > > Apple unfortunately doesn't ship the headers and libraries required to > build against that clang, and if you try to compile the plugin against > headers/libraries obtained from elsewhere there is a good chance that > the plugin won't work, so your b

Re: PSA: Support for Visual C++ 2010 has been dropped

2014-12-17 Thread Nathan Froyd
On Wed, Dec 17, 2014 at 11:10 AM, Ehsan Akhgari wrote: > This will allow us to use enum classes (currently shimmed by > MOZ_BEGIN_ENUM_CLASS/MOZ_END_ENUM_CLASS) in mozilla-central code. > It's worth noting that enums with explicit types don't work in all cases with our current B2G compiler, see

PSA: Support for Visual C++ 2010 has been dropped

2014-12-17 Thread Ehsan Akhgari
With a few days of delay in order to give Thunderbird a chance to update their infrastructure, I just landed bug 1084532 which makes it a configure error to build with MSVC 2010 and have also updated the relevant documentation on MDN that I could find. Note that this is not a change in our in-prod

Re: PSA: Constructors callable with one argument should be marked as explicit/implicit

2014-12-17 Thread Ehsan Akhgari
On 2014-12-15 9:02 PM, Anthony Jones wrote: On 15/12/14 12:28, Ehsan Akhgari wrote: In order to avoid burning the tree, if you are a clang user you can add ac_add_options --enable-clang-plugin to your mozconfig and make sure you are using a recent version of clang with the development headers an

Re: PSA: Constructors callable with one argument should be marked as explicit/implicit

2014-12-17 Thread Ehsan Akhgari
On 2014-12-15 10:08 PM, Bobby Holley wrote: On Sun, Dec 14, 2014 at 3:28 PM, Ehsan Akhgari mailto:ehsan.akhg...@gmail.com>> wrote: In order to avoid burning the tree, if you are a clang user you can add ac_add_options --enable-clang-plugin to your mozconfig and make sure you are usin