Re: Buildbot Try artifact expiration

2016-09-26 Thread Boris Zbarsky
On 9/23/16 2:53 PM, gar...@mozilla.com wrote: For taskcluster, starting in May, the entire task would be expired, including any output from it (artifacts, logs, etc). OK. In my experience, it's very useful to have logs available longer than just two weeks. If nothing else, some of the thing

Re: Upcoming hg.mozilla.org certificate change

2016-09-26 Thread Gregory Szorc
Yup. There are a few outstanding issues in automation. People in #releng are on it. On Mon, Sep 26, 2016 at 11:22 AM, Justin D'Arcangelo < jdarcang...@mozilla.com> wrote: > Looks like the cert change broke try: > > https://treeherder.mozilla.org/#/jobs?repo=try&revision=a83c34bc2716 < > https://t

Re: Upcoming hg.mozilla.org certificate change

2016-09-26 Thread Justin D'Arcangelo
Looks like the cert change broke try: https://treeherder.mozilla.org/#/jobs?repo=try&revision=a83c34bc2716 -Justin > On Sep 26, 2016, at 2:11 PM, Mats Palmgren wrote: > > On 09/26/2016 07:20 PM, Gregory Szorc wrote: >> #

Re: Upcoming hg.mozilla.org certificate change

2016-09-26 Thread Mats Palmgren
On 09/26/2016 07:20 PM, Gregory Szorc wrote: # Mercurial 3.9+ [hostsecurity] hg.mozilla.org:fingerprints = sha256:8e:ad:f7:6a:eb:44:06:15:ed:f3:e4:69:a6:64:60:37:2d:ff:98:88:37:bf:d7:b8:40:84:01:48:9c:26:ce:d9 # Mercurial <= 3.8 [hostfingerprints]hg.mozilla.org = 73:7f:ef:ab:68:0f:49:3f:88:91:

Re: So, what's the point of Cu.import, these days?

2016-09-26 Thread zbraniecki
So, it seems to me that we're talking about two aspects of module loading: 1) Singleton vs. per-instance Cu.import allows us to share a single object between all the code that references it. ES6 modules are not meant to do that. 2) Conditional vs. static Cu.import allows us to decide *when*

Re: Upcoming hg.mozilla.org certificate change

2016-09-26 Thread Gregory Szorc
The certificate has been flipped. New hashes are: sha1:73:7f:ef:ab:68:0f:49:3f:88:91:f0:b7:06:69:fd:8f:f2:55:c9:56 sha256:8e:ad:f7:6a:eb:44:06:15:ed:f3:e4:69:a6:64:60:37:2d:ff:98:88:37:bf:d7:b8:40:84:01:48:9c:26:ce:d9 You can pin these in your hgrc via: # Mercurial 3.9+ [hostsecurity] hg.mozil

Re: So, what's the point of Cu.import, these days?

2016-09-26 Thread David Teller
I agree that my formulation was poor, but that's what I meant: in *a single webpage*, all these modules behave the same wrt the underlying objects. On 26/09/16 18:14, Boris Zbarsky wrote: > On 9/26/16 12:09 PM, David Teller wrote: >> In web content, that's also the case with ES6 and require-styl

Re: So, what's the point of Cu.import, these days?

2016-09-26 Thread Boris Zbarsky
On 9/26/16 12:09 PM, David Teller wrote: In web content, that's also the case with ES6 and require-style modules. No, only on a per-global basis. Put another way, if you Cu.import the same thing from two instances of browser.xul, you will get the same objects. But if import the same ES7 mod

Re: So, what's the point of Cu.import, these days?

2016-09-26 Thread David Teller
In web content, that's also the case with ES6 and require-style modules. I realize that it's a bit more complicated in chrome code, with all the XUL + XBL + XPCOM + subscript loader, but I believe that we should be able to reach the same result. Cheers, David On 26/09/16 18:01, Joshua Cranmer 🐧

Re: So, what's the point of Cu.import, these days?

2016-09-26 Thread Joshua Cranmer 🐧
On 9/24/2016 5:13 PM, David Teller wrote: Which begs the question: what's the point of `Cu.import` these days? One major difference between Cu.import and ES6/require-style modules is that only one version of the script is created with Cu.import. This allows you to make databases using Cu.impo

Re: Why I don't like DXR

2016-09-26 Thread Erik Rose
> I wanted to find usage of a member called "io_pending". DXR is happy to search for identifiers (id:whatever). The problem is that all the uses of io_pending are #ifdef'd out when compiling for Linux, which is the platform we use to run the indexing job for moz-central. A clue is that there's

Re: So, what's the point of Cu.import, these days?

2016-09-26 Thread David Teller
Ideally, it would be great to replace our current messy module loading with something stricter. I suspect, however, that we have subtleties that won't let us proceed. Let me detail a bit some of the problems that might occur if we wish to rewrite existing code with a stricter module loader. * Si

Progressive Web Metrics (PWM) in Gecko

2016-09-26 Thread Dominik Strohmeier
Greetings, in an effort to enable a modern user-centric metrics suite that will allow us to track measurements that represent the user perceived performance, we aim to get Progressive Web Metrics (PWM) into Gecko (meta bug 1298380

Re: Converting assertions into release assertions

2016-09-26 Thread Julian Seward
> [assertions expensive, etc] (random suggestion): Why don't we profile the cost of all assertions, or at least the number of times each is evaluated, across some some test workload. Then we'd have a quantitative basis on which to say "we can enable the following set of assertions at the cost o

Re: Why I don't like DXR

2016-09-26 Thread Gijs Kruitbosch
On 26/09/2016 14:14, Honza Bambas wrote: Today I tried to search for an identifier on DXR. Something that was so easy with MXR... I wanted to find usage of a member called "io_pending". Typing that string to the DXR search field gives me a number of results that are definitely not what I'm loo

Re: Why I don't like DXR

2016-09-26 Thread Jonathan Kew
On 26/9/16 14:14, Honza Bambas wrote: Today I tried to search for an identifier on DXR. Something that was so easy with MXR... I wanted to find usage of a member called "io_pending". Typing that string to the DXR search field gives me a number of results that are definitely not what I'm lookin

Re: Why I don't like DXR

2016-09-26 Thread Andrew Osmond
I think it is a matter of failing to parse/index all of the code; for example, var:mError works for me as I think you would expect. If I find a definition of "io_pending": https://dxr.mozilla.org/mozilla-central/source/nsprpub/pr/include/private/primpl.h#1608 I notice that it isn't recognized as

Re: Why I don't like DXR

2016-09-26 Thread Karl Dubost
Le 26 sept. 2016 à 22:14, Honza Bambas a écrit : > - how can I look for a string as always _case sensitive_ and _whole word > only_ ? Probably not exactly what you are looking for, but: https://dxr.mozilla.org/mozilla-central/search?q=%22+io_pending%22&redirect=false -- Karl Dubost, Mozilla

Why I don't like DXR

2016-09-26 Thread Honza Bambas
Today I tried to search for an identifier on DXR. Something that was so easy with MXR... I wanted to find usage of a member called "io_pending". Typing that string to the DXR search field gives me a number of results that are definitely not what I'm looking for, like lines containing ERROR_

[Firefox Desktop] Issues found: September 19th to September 23th

2016-09-26 Thread Cornel Ionce
Hi everyone, Here's the list of new issues found and filed by the Desktop Release QA Team last week, *September 19 - September 23* (week 38). Additional details on the team's priorities last week, as well as the plans for the current week are available at: https://public.etherpad-mozilla

Re: So, what's the point of Cu.import, these days?

2016-09-26 Thread jcoppeard
On Sunday, 25 September 2016 07:32:32 UTC+1, David Teller wrote: > What's the current status of the implementation of ES6 modules? ES6 modules are supported for chrome code, but not yet for content (pending spec related discussions that are not relevant for chrome). It would be great if we coul