Re: The Object performance are 5-100 times slower than Chrome. Array is a bit slow, map is faster, uint32array are 5 times faster.

2016-03-08 Thread Jan de Mooij
On Mon, Mar 7, 2016 at 10:42 PM, 罗勇刚(Yonggang Luo) wrote: > My conclution: we really need improve the performance of Object, > cause that's the most frequently used Thing. > I agree plain objects are among "the most frequently used objects", but here you're using them as arrays and that's not ho

Re: now available on desktop Firefox

2016-03-08 Thread J. Ryan Stinnett
On Mon, Mar 7, 2016 at 8:00 PM, Jonas Sicking wrote: > > On Mon, Mar 7, 2016 at 1:55 PM, J. Ryan Stinnett wrote: > > By default, can't access the storage used by > > for cookies and other site data, making it hard to share page > > state across the two browser frame types. An additional feature

Re: Are we in favour of implementing the client hints header?

2016-03-08 Thread Johnny Stenback
Based on what I know I'm not opposed to implementing this feature from the point of view of whether this would be good for the web or not. What I'd question is whether this is good use of our time given the platform team's current focus on quality. - jst On Tue, Mar 8, 2016 at 3:21 PM, Martin Th

Re: Are we in favour of implementing the client hints header?

2016-03-08 Thread Martin Thomson
On Wed, Mar 9, 2016 at 6:42 AM, Jonas Sicking wrote: > I know there's some concern that always sending CH with all requests > would generate too much header traffic which would be wasteful. We could limit the feature to h2. (Which would also address the other request, which is to limit this to

Tier-1 for Linux 64 Debug builds in TaskCluster on March 14 (and more!)

2016-03-08 Thread Selena Deckelmann
The time has come! We are planning to switch to Tier-1 on Treeherder for TaskCluster Linux 64 Debug build jobs on March 14. At the same time, we will hide the Buildbot build jobs, but continue running them. On March 21, we plan to switch the Linux 64 Debug tests to Tier-1 and hide the related Buil

Re: now available on desktop Firefox

2016-03-08 Thread Jonas Sicking
On Mon, Mar 7, 2016 at 10:35 PM, Tim Guan-tin Chien wrote: > I am confused. In your proposal, are you referring to the chrome > *user/embedder* of (e.g. shell.html), or a chrome > *embedded* page (I am not aware of any example). What I'm saying is that in pages that run with chrome privileges (l

Re: The Object performance are 5-100 times slower than Chrome. Array is a bit slow, map is faster, uint32array are 5 times faster.

2016-03-08 Thread Nicholas Nethercote
On Wed, Mar 9, 2016 at 6:40 AM, Boris Zbarsky wrote: > > That said, some of your results are a bit suspect. Indeed, microbenchmarks like these are surprisingly difficult to write well, and they often end up measuring something other than what the author intends. Microbenchmarks that are extracte

Re: Report from Build Team Sprint

2016-03-08 Thread Nicholas Nethercote
On Wed, Mar 9, 2016 at 7:56 AM, David Burns wrote: > > we started working on > replacing the Autoconf configure script. We are planning to replace the old > shell and m4 code with sandboxed python, which will allow us to have > improved performance (especially on Windows), parallel configure chec

Report from Build Team Sprint

2016-03-08 Thread David Burns
February 22-26 saw the build team gathered in San Francisco to discuss all the work that is required to speed up developer ergonomics around building Firefox. After discussing all the major items of work we want to work on in the first half of this year (of which there are many), we started workin

Re: The Object performance are 5-100 times slower than Chrome. Array is a bit slow, map is faster, uint32array are 5 times faster.

2016-03-08 Thread Boris Zbarsky
On 3/7/16 4:42 PM, 罗勇刚(Yonggang Luo) wrote: My conclution: we really need improve the performance of Object, Please file a bug on JS engine. That said, some of your results are a bit suspect. For example, the "testObjectSingle" number for Chrome shows that each set takes 4.9ns on your hard

Re: Are we in favour of implementing the client hints header?

2016-03-08 Thread Jonas Sicking
I think the idea is a good one in general, though it would be good to get data from Google on how it's been used in practice. It's been quite a while since I reviewed the spec, so my thoughts below might be outdated (or I might be misremembering). There were two things that I found unfortunate ab

Re: call prompt service dynamically

2016-03-08 Thread Benjamin Smedberg
On 3/8/2016 7:33 AM, Tobias Wolf wrote: We`re develping a PKCS11 modul in c/c++ for a custom card reader to support. I just want to display a simple dialog. This is not a good idea. I don't believe that PKCS11 modules run on the UI thread and so trying to do anything with XPCOM from this thre

Re: now available on desktop Firefox

2016-03-08 Thread Benjamin Francis
On 8 March 2016 at 06:06, Jonas Sicking wrote: > On Mon, Mar 7, 2016 at 9:51 PM, Tim Guan-tin Chien > wrote: > > This implies the Gaia System app, which is framed by shell.html (a > > chrome document), will switch cookie jar when the default is changed, > > no? > > No, the Gaia System app doesn'

Re: call prompt service dynamically

2016-03-08 Thread Tobias Wolf
Am Dienstag, 8. März 2016 13:40:12 UTC+1 schrieb Kyle Huey: > You're probably just not linking to the xpcom glue library in eclipse/gcc. > > - Kyle > > On Tue, Mar 8, 2016 at 8:33 PM, Tobias Wolf wrote: > > > We`re develping a PKCS11 modul in c/c++ for a custom card reader to > > support. I just

Re: Are we in favour of implementing the client hints header?

2016-03-08 Thread Xidorn Quan
On Tue, Mar 8, 2016 at 7:40 PM, Gervase Markham wrote: > On 08/03/16 06:22, Andrew Overholt wrote: > > Implement Client-Hints HTTP header > > https://bugzilla.mozilla.org/show_bug.cgi?id=935216 > > Well, we are in favour of adaptive content, progressive enhancement, > responsive images in HTML,

Re: call prompt service dynamically

2016-03-08 Thread Tobias Wolf
Am Montag, 7. März 2016 18:50:36 UTC+1 schrieb Benjamin Smedberg: > On 3/7/2016 11:17 AM, Tobias Wolf wrote: > > I try to call this code dynamically: > > > > nsCOMPtr promptService = > > do_GetService("@mozilla.org/embedcomp/prompt-service;1")); > > promptService->Alert(NULL, NULL, NULL); > >

Re: call prompt service dynamically

2016-03-08 Thread Kyle Huey
You're probably just not linking to the xpcom glue library in eclipse/gcc. - Kyle On Tue, Mar 8, 2016 at 8:33 PM, Tobias Wolf wrote: > We`re develping a PKCS11 modul in c/c++ for a custom card reader to > support. I just want to display a simple dialog. The code below works great > until I stay

Re: call prompt service dynamically

2016-03-08 Thread Tobias Wolf
Am Montag, 7. März 2016 18:50:36 UTC+1 schrieb Benjamin Smedberg: > On 3/7/2016 11:17 AM, Tobias Wolf wrote: > > I try to call this code dynamically: > > > > nsCOMPtr promptService = > > do_GetService("@mozilla.org/embedcomp/prompt-service;1")); > > promptService->Alert(NULL, NULL, NULL); > >

Re: call prompt service dynamically

2016-03-08 Thread Tobias Wolf
We`re develping a PKCS11 modul in c/c++ for a custom card reader to support. I just want to display a simple dialog. The code below works great until I stay on MS Visual Studio. But our project is running on eclipse/gcc. nsCOMPtr promptService = do_GetService("@mozilla.org/embedcomp/prompt-se

Re: Are we in favour of implementing the client hints header?

2016-03-08 Thread Gervase Markham
On 08/03/16 06:22, Andrew Overholt wrote: > Implement Client-Hints HTTP header > https://bugzilla.mozilla.org/show_bug.cgi?id=935216 Well, we are in favour of adaptive content, progressive enhancement, responsive images in HTML, and feature detection. The question is whether we think that these t

Re: now available on desktop Firefox

2016-03-08 Thread Chris Mills
Thanks! We’ll have a discussion and work out exactly where best to put this on MDN. Chris Mills Senior tech writer || Mozilla developer.mozilla.org || MDN cmi...@mozilla.com || @chrisdavidmills > On 8 Mar 2016, at 08:34, Kan-Ru Chen (陳侃如) wrote: > > It's only available to chrome code on desk

Re: now available on desktop Firefox

2016-03-08 Thread 陳侃如
It's only available to chrome code on desktop. For FxOS I'm not sure how the permission model will evolve. Kanru Chris Mills writes: > So I guess this means we need to move the API out of Firefox-OS-specific > APIs, and back into the regular APIs section? > > https://developer.mozilla.org/en-U

Re: now available on desktop Firefox

2016-03-08 Thread Chris Mills
So I guess this means we need to move the API out of Firefox-OS-specific APIs, and back into the regular APIs section? https://developer.mozilla.org/en-US/docs/Mozilla/Firefox_OS/API/Browser_API And this is only available to privileged code on desktop (and FxOS still), right? Chris Mills Seni