Re: Project Stockwell - February 2017 update

2017-02-07 Thread Bill McCloskey
Hi Joel, I spent about an hour tonight trying to debug a test failure, and I'm writing this email in frustration at how difficult it is. It seems like the process has actually gotten a lot worse over the last few years (although it was never good). Here's the situation I ran into: A test is failin

Re: How to see which parts of Servo are in use?

2017-02-13 Thread Bill McCloskey
I just filed bug 1339165 to use this categorization in Searchfox. The order of priorities would probably be: normal code test files non-Quantum Servo code generated code -Bill On Mon, Feb 13, 2017 at 5:21 AM, Simon Sapin wrote: > On 13/02/17 13:49, Henri Sivonen wrote: > >> A search like https

Recommendation: please disable uBlock Origin on Searchfox, DXR

2017-02-20 Thread Bill McCloskey
Hi everyone, I did some profiling today to find ways to improve how quickly pages load in Searchfox. One of the biggest gains I found was to turn off uBlock Origin. Disabling it shaves about a second off the load time of both Searchfox and DXR when loading nsGlobalWindow.cpp. It seems that uBlock

Re: Doxygen output?

2017-02-21 Thread Bill McCloskey
I've been thinking about how to integrate documentation into Searchfox. One obvious thing is to allow it to display Markdown files and reStructuredText. I wonder if it could do something useful with Doxygen comments though? Is this something people would be interested in? On Tue, Feb 21, 2017 at 1

Re: All the processes

2017-03-06 Thread Bill McCloskey
On Mon, Mar 6, 2017 at 7:29 PM, Ben Kelly wrote: > In general I think processes that rely on native code vs chrome script will > do better here. My impression is that the chrome script js heaps make it > more difficult for the processes to share memory compared to native code > pages. I could b

Re: Future of out-of-tree spell checkers?

2017-03-24 Thread Bill McCloskey
If we do end up going with the dlopen plan, let's make sure that we enforce some kind of code signing. We're finally almost rid of all the untrusted binary code that we used to load (NPAPI, binary XPCOM, ctypes). It would be a shame to open up a new path. -Bill On Fri, Mar 24, 2017 at 6:20 AM, Eh

Re: Future of out-of-tree spell checkers?

2017-04-25 Thread Bill McCloskey
On Tue, Apr 25, 2017 at 5:41 AM, Henri Sivonen wrote: > What problem did you mean to address by code signing? The reason I suggested code signing is because loading libvoikko would provide an easy way for people to inject code into Firefox. For a while we've been trying to make it difficult for

Re: Intent to Ship throttling of tracking timeouts

2017-05-11 Thread Bill McCloskey
On Thu, May 11, 2017 at 8:12 PM, Boris Zbarsky wrote: > On 5/11/17 10:30 PM, Eric Shepherd (Sheppy) wrote: > >> So part of private browsing and not a developer-facing feature, then? >> > > No, as I understand this is being applied across the board, not just in > private browsing, and not just if

Changing our thread APIs for Quantum DOM scheduling

2017-05-18 Thread Bill McCloskey
Hi everyone, One of the challenges of the Quantum DOM project is that we will soon have multiple "main" threads [1]. These will be real OS threads, but only one of them will be allowed to run code at any given time. We will switch between them at well-defined points (currently just the JS interrup

Re: Improving visibility of compiler warnings

2017-05-19 Thread Bill McCloskey
I strongly agree with you, Michael! Especially now that I'm using IceCC, I pretty much always have to use search-and-replace to find compiler errors. It's a pointless drain on productivity. On Fri, May 19, 2017 at 1:27 PM, Michael Layzell wrote: > With regard to ALLOW_COMPILER_WARNINGS, I'm stro

Re: Proposal for informing Developers and Sheriffs about new Testsuites

2017-06-14 Thread Bill McCloskey
Related to this, I would like to ask that people not enabled test suites on try if they're orange. I've wasted a lot of time myself trying to understand failures that were not my fault, and I know other people have too. Since new tests suites are presumably being enabled through TaskCluster and do

Re: Extensions and Gecko specific APIs

2017-07-27 Thread Bill McCloskey
On Thu, Jul 27, 2017 at 7:14 PM, Nicholas Nethercote wrote: > FWIW, I share Steve's broad concerns here. Mozilla's track record on > extension APIs has had many dead-ends and changes of direction. Now that > we're wiping the slate clean, it would be good to not repeat history. > I'm surprised it

Re: Is Quantum DOM affecting DevTools?

2017-09-28 Thread Bill McCloskey
If that's caused by anything Quantum-related, it's more likely to be Quantum networking stuff. -Bill On Thu, Sep 28, 2017 at 2:30 AM, Salvador de la Puente < sdelapue...@mozilla.com> wrote: > Hello there! > > I was testing some WebRTC demos in two separate tabs in Nightly. I realized > I needed t

New IPC module owner

2017-12-20 Thread Bill McCloskey
Hi everyone, Jim Mathies is taking ownership of the IPC module. We also have some new peers for the module: Ben Kelly, Nathan Froyd, Andrew McCreight, and Bevis Tseng. Please congratulate all of them! If you're looking for a reviewer, here's some guidance: anything in Chromium code: Jed Davis Me

Re: Emulating WebExtensions

2015-12-23 Thread Bill McCloskey
On Wed, Dec 23, 2015 at 4:37 AM, Marcello Stanisci < marcello.stani...@inria.fr> wrote: > Hi list, > > Would it be possible to emulate what the 'backgroud' page does > in the context of a "normal" Firefox extension by using Web workers? > > In detail, WebExtensions dictates that each extension has

Re: Unsafe CPOWs are about to be outlawed in browser code

2016-01-28 Thread Bill McCloskey
On Thu, Jan 28, 2016 at 10:16 AM, Mike Conley wrote: > Add-ons that are not yet marked multi-process compatible will use our > shimming layer, which allows usage of unsafe CPOWs within add-on code / > compartments. > > At least part of the problem here appears to be that FireGestures has > "multi

IPDL syntax change

2016-01-29 Thread Bill McCloskey
Hi everyone, In bug 1240871 , we changed the syntax for IPDL to require an explicit message type annotation. Previously you could write the following: FooMessage(nsString arg); and it would be an async message by default. That was a bit co

Re: Touch events enabled on Windows desktop (nightly only)

2016-02-01 Thread Bill McCloskey
On Mon, Feb 1, 2016 at 2:12 PM, Gijs Kruitbosch wrote: > Several people including me have been bitten by this, but based on the > last comment on https://bugzilla.mozilla.org/show_bug.cgi?id=1166564, it > seems the current plan is "fix a11y to work on e10s so we can enable it for > a11y users, to

Re: Proposing preferring Clang over GCC for developer buidls

2016-03-02 Thread Bill McCloskey
Is the debugging information generated by clang as good or better than GCC's? My experience with lldb has been terrible, but that may have more to do with the debugger itself than with the information clang generates. -Bill On Wed, Mar 2, 2016 at 2:50 PM, Gregory Szorc wrote: > Over in bug 1253

Searchfox (new code search tool)

2016-06-06 Thread Bill McCloskey
Hi everyone, I would like to announce a new tool I've been working on for source code searching called Searchfox (http://searchfox.org). If you use MXR or DXR, I recommend you try Searchfox. Here are some of the benefits: - Besides C++ code, Searchfox indexes JavaScript, XBL, and IDL. You can s

Re: Searchfox (new code search tool)

2016-06-07 Thread Bill McCloskey
will continue. I'm also hopeful that we can work together on some projects, like indexing other platforms. It doesn't seem to likely that we'll be able to fully merge the projects anytime soon, but I don't think there's any great need to do so. You can find the code for Se

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

2016-09-24 Thread Bill McCloskey
If we're going to do a mass conversion, shouldn't we try to move to ES modules? There's some support for them in SpiderMonkey for chrome code, and it would be great to move towards a future standard. -Bill On Sat, Sep 24, 2016 at 4:16 PM, Bobby Holley wrote: > If the conversion is tractable an

Runnable labeling for Quantum DOM

2016-12-01 Thread Bill McCloskey
Hi everyone, As part of the Quantum DOM project, we're going to be "labeling" all runnables in the browser to say which document they're operating on. Labeling will allow us to prioritize some documents over other documents as well as running different documents concurrently. An API for labeling h

Re: Intent to Experiment: CSS Houdini Paint API Level 1

2017-01-06 Thread Bill McCloskey
On Fri, Jan 6, 2017 at 6:20 AM, Boris Zbarsky wrote: > On 1/6/17 5:53 AM, Xidorn Quan wrote: > >> I guess that may also mean billm's bug 1308039 [1] which tried to do >> painting during GC (which will be backed out soon [2] because of lots of >> breakage) may never get chance to land anymore, sin

Re: Intent to Experiment: CSS Houdini Paint API Level 1

2017-01-06 Thread Bill McCloskey
On Fri, Jan 6, 2017 at 12:19 PM, Boris Zbarsky wrote: > On 1/6/17 2:34 PM, Bill McCloskey wrote:The patch that allows tab switch > painting > >> while content JS runs isn't going to be backed out. If the tab switch >> paints allow JS to run, and that JS is from the same

Re: improving access to telemetry data

2013-02-28 Thread Bill McCloskey
- Original Message - > From: "Justin Lebar" > To: "Benjamin Smedberg" > Cc: "Benoit Jacob" , "Josh Aas" > , dev-platform@lists.mozilla.org > Sent: Thursday, February 28, 2013 9:14:52 AM > Subject: Re: improving access to telemetry data > > It sounds to me like people want both > > 1) E

Re: Rethinking the amount of system JS we use in Gecko on B2G

2013-04-22 Thread Bill McCloskey
I can't agree with you more, Justin. I think Boris is right that we should make these decisions on a case-by-case basis. But in the case of these workers, it seems clear that converting them to C++ is the way to go, assuming we have the resources to do so. -Bill On 04/22/2013 11:07 AM, Justin

Re: reminder: content processes (e10s) are now used by desktop Firefox

2013-08-01 Thread Bill McCloskey
On 08/01/2013 06:50 PM, Nicholas Nethercote wrote: On Thu, Aug 1, 2013 at 6:29 PM, Gavin Sharp wrote: Do you have specific issues you're worried about, or are you just speaking about issues in general? This AdBlock issue worries me specifically. And the fact that there's breakage with our #1

Silencing debug spew

2013-09-30 Thread Bill McCloskey
Hi everyone, If you run debug builds, you're probably aware of all the gunk that gets dumped out to the console for even simple things like starting up a browser. There's probably a rationale for all of WARNING: No disk space watcher component available!: file /home/billm/mozilla/in1/dom/indexedD

Re: Poll: What do you need in MXR/DXR?

2013-10-02 Thread Bill McCloskey
I would like better documentation about how to use dxr. I know it's pretty powerful, but it's always just easier for me to use mxr than to figure out the right query. One that would be really useful to me is to find all references to a field of a given class. If dxr's main search page had some e

New --start-at and --end-at options for running mochitests

2013-10-28 Thread Bill McCloskey
Hi everyone, Bug 931279 just landed, and I thought it might be of general interest. Here's a quick description from the bug: Sometimes a test fails because of something done by an earlier test. In that case, you want to run all tests from the earlier test to the failing test. If the tests are

Re: Parallel sandboxed iframes

2014-01-16 Thread Bill McCloskey
- Original Message - > From: "David Bruant" > To: dev-platform@lists.mozilla.org > Sent: Thursday, January 16, 2014 11:29:59 AM > Subject: Re: Parallel sandboxed iframes > > As a web developer, I'm happy with process-separated if it's easier, at least > for a first shot, but I can imagine

Re: Parallel sandboxed iframes

2014-01-16 Thread Bill McCloskey
- Original Message - > From: "Ehsan Akhgari" > To: "Bill McCloskey" , "David Bruant" > > Cc: dev-platform@lists.mozilla.org > Sent: Thursday, January 16, 2014 1:45:08 PM > Subject: Re: Parallel sandboxed iframes > > About the front

[e10s] Changes to the browser.tabs.remote preference in desktop Firefox

2014-02-13 Thread Bill McCloskey
Hi everyone, I just wanted to make a quick announcement about preference changes for out-of-process tabs. Bug 960783, which landed recently, added a "New OOP Window" menu option to open a new window with out-of-process tabs. Right now this option is only enabled on Macs because it requires OMTC

Re: [e10s] Changes to the browser.tabs.remote preference in desktop Firefox

2014-02-14 Thread Bill McCloskey
- Original Message - > From: "Robert Kaiser" > To: dev-platform@lists.mozilla.org > Sent: Friday, February 14, 2014 12:29:13 PM > Subject: Re: [e10s] Changes to the browser.tabs.remote preference in desktop > Firefox > > Hrm, we just recently added an annotation to crashes that states i

Re: Too many system compartments at start-up

2014-03-21 Thread Bill McCloskey
- Original Message - > From: "Bobby Holley" > To: "Benjamin Smedberg" > Cc: "dev-platform" , "Nicholas Nethercote" > > Sent: Friday, March 21, 2014 8:02:58 AM > Subject: Re: Too many system compartments at start-up > > I'm also curious to hear about the overhead of compartments now tha

Re: Too many system compartments at start-up

2014-03-21 Thread Bill McCloskey
- Original Message - > From: "Gregory Szorc" > To: "Nicholas Nethercote" > Cc: "dev-platform" > Sent: Friday, March 21, 2014 9:27:34 AM > Subject: Re: Too many system compartments at start-up > > Also, the bug I was referring to is bug 807205. It was marked WONTFIX > because gc now happ

Re: Too many system compartments at start-up

2014-03-21 Thread Bill McCloskey
- Original Message - > From: "Nicholas Nethercote" > To: "Benjamin Smedberg" > Cc: "dev-platform" > Sent: Friday, March 21, 2014 2:00:01 PM > Subject: Re: Too many system compartments at start-up > > Marco identified a number of modules that could be lazily loaded, and > filed several b

New e10s tests on tinderbox

2014-04-08 Thread Bill McCloskey
Hi everyone, Starting today, we have new mochitests that show up as M-e10s (1 2 3 4 5). These are mochitests-plain running inside an e10s content process. Aside from being in a separate process, they work pretty much the same as normal. Some tests have been disabled for e10s. If you add a new t

Re: New e10s tests on tinderbox

2014-04-08 Thread Bill McCloskey
> Most of the work for this was done by Ted, Armen, Aki, and Mark Hammond. > Thanks guys! And RyanVM! I knew I'd forget someone. Sorry. -Bill ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform

Re: New e10s tests on tinderbox

2014-04-08 Thread Bill McCloskey
- Original Message - > From: "Bobby Holley" > To: "Bill McCloskey" > Cc: "dev-platform" > Sent: Tuesday, April 8, 2014 2:35:26 PM > Subject: Re: New e10s tests on tinderbox > > Can you elaborate on the kinds of things that make tests

Re: New e10s tests on tinderbox

2014-04-09 Thread Bill McCloskey
- Original Message - > From: "Ehsan Akhgari" > To: "Bill McCloskey" , "dev-platform" > > Sent: Wednesday, April 9, 2014 6:51:46 AM > Subject: Re: New e10s tests on tinderbox > > Just to be explicit, this means that changesets which re

Re: Disabling strict warnings as errors in xpcshell

2014-05-06 Thread Bill McCloskey
- Original Message - > From: "Chris Peterson" > To: dev-platform@lists.mozilla.org > Sent: Tuesday, May 6, 2014 3:11:40 PM > Subject: Re: Disabling strict warnings as errors in xpcshell > > btw, I believe the JS team now uses the term "extra warnings" to > differentiate SpiderMonkey's non

Testing compartment-per-addon change

2014-06-25 Thread Bill McCloskey
Hi everyone, Brian Hackett, Bobby Holley, and I have been working on some changes to the way that add-ons run (bug 990729). These changes make possible a lot of awesome new features for monitoring add-on performance and memory usage (which I'll talk about below). However, there's the possibilit

Re: Rethinking the crash experience

2014-07-08 Thread Bill McCloskey
- Original Message - > From: "Justin Dolske" > To: dev-platform@lists.mozilla.org > Sent: Tuesday, July 8, 2014 9:23:00 AM > Subject: Re: Rethinking the crash experience > > 3) E10S will already need something vaguely like this, since a > content-process crash won't take down the whole br

Re: PSA: ./mach build doesn't work reliably any longer

2014-08-25 Thread Bill McCloskey
- Original Message - > From: "Gregory Szorc" > To: "Ehsan Akhgari" , dev-platform@lists.mozilla.org > Sent: Monday, August 25, 2014 8:37:42 AM > Subject: Re: PSA: ./mach build doesn't work reliably any longer > > The reason people do partial builds is because the full tree build isn't >

Re: PSA: ./mach build doesn't work reliably any longer

2014-08-25 Thread Bill McCloskey
- Original Message - > On the other hand, if the build system automatically prioritized > .cpp dependencies ahead of .h dependencies and just automatically > built the things most likely to break first, I wouldn't have to > worry about this at all. I'd be satisfied with that as well. > St

Re: ES6 lexical temporal dead zone has landed on central

2014-09-17 Thread Bill McCloskey
If this change proves to be really disruptive to add-on authors, I wonder if we could just make "let" behave like "var" for add-ons? The JS tokenizer could just substitute var for let when parsing code from an add-on compartment. (Bug 1030420 will put add-on code in a separate compartment and it

Re: Test Informant Report - Week of 2014-10-05

2014-10-14 Thread Bill McCloskey
On Tue, Oct 14, 2014 at 8:45 AM, Dave Townsend wrote: > Is there any way to see the breakdown of which testsgot enabled. I'm > surprised to see mochitest-plain rise by 3456 yet mochitest-plain-e10s rise > by only 28. I'd love to find out which tests got turned on on one but not > the other. If yo

Re: e10s is now enabled by default for Nightly!

2014-11-07 Thread Bill McCloskey
Unfortunately, I checked it a patch yesterday (bug 1092156) that is causing lots of crashes if you have certain add-ons installed (such as the Gecko profiler). The crash happens regardless of whether e10s is enabled. Starting up in safe mode (via -safe-mode) fixes the problem. The bad patch has

Re: The e10s throbber

2015-04-07 Thread Bill McCloskey
On Tue, Apr 7, 2015 at 5:48 AM, Benjamin Smedberg wrote: > With desktop e10s on there can be a noticeable delay after switching tabs > where there is a throbber displayed before the page content. > When the user switches tabs, we allow the content process 300ms to send layer information to the p

Re: The e10s throbber

2015-04-07 Thread Bill McCloskey
On Tue, Apr 7, 2015 at 10:06 AM, George Wright wrote: > We've discussed adding telemetry probes to measure page painting time so > we can properly gauge what the impact is of e10s vs non-e10s. See  > https://bugzilla.mozilla.org/show_bug.cgi?id=1135719 for the bug tracking > page render time iss

Tab titles no longer underlined in e10s

2015-04-30 Thread Bill McCloskey
A very minor announcement: Starting in tomorrow's nightly, we will no longer underline tab titles in e10s. If you want to find out if a tab is remote, look at its tooltip. For remote tabs it will be " - e10s". The "New e10s window" menu item is also going away. If you want an e10s window, you nee

Re: Tab titles no longer underlined in e10s

2015-04-30 Thread Bill McCloskey
; few things here and there, without having to fully enable e10s. > > From: Bill McCloskey > Sent: 30 Apr 2015 21:35 > To: dev-platform ; firefox-dev-owner list > Subject: Tab titles no longer underlined in e10s > > A very minor announcement: > > > Starting in tomorrow&#x

Re: Is there an e10s plan for multiple content processes?

2015-05-05 Thread Bill McCloskey
The only issues I'm aware of with dom.ipc.processCount > 1 are: 1. The devtools "Browser Content Toolbox" doesn't work. 2. Some printing related stuff doesn't work. 3. There's a theoretical issue where plugins can hang when processCount > 1 and when more than one plugin is running. The first two sh

Re: Is there an e10s plan for multiple content processes?

2015-05-05 Thread Bill McCloskey
On Tue, May 5, 2015 at 4:34 PM, Nicholas Nethercote wrote: > "resident-unique" (only available on Linux, alas) is probably the most > interesting measurement in this case. > Usually I see resident-unique pretty consistently about 15-20MB higher than explicit for content processes. I wonder if w

Re: AdBlock Plus as a ServiceWorker?

2015-05-20 Thread Bill McCloskey
The only way to do this now is to register a content policy in the content process using a frame script. That's how the shim stuff works internally. There's some reference to this at [1]. I'm working on an API that should make this easier in bug 1157561. It's not finished yet though. -Bill [1] h

Re: Why are video downloader add-ons so popular?

2015-06-09 Thread Bill McCloskey
Having looked at a couple of these add-ons, the code is usually pretty site-specific. They often have a script that gets loaded for each different video site: YouTube, Vimeo, Daily Motion, etc. A lot of times these scripts muck with the URL and do other stuff that probably needs to be updated frequ

Re: Proposal: Remove Linux PGO Testing

2012-10-11 Thread Bill McCloskey
On 10/11/2012 03:49 PM, Ehsan Akhgari wrote: Don't both of these proposals map to tons of manual work? I'm not convinced that doing either of those would necessarily be easier than finding and fixing the PGO bug at hand. The problem is that fixing this one bug might take only a few days, but