Re: Intent to ship: Path2D + addition canvas APIs

2014-03-25 Thread Rik Cabanier
I'm not too familiar with the "intent to ship" process for mozilla [1] Given that no one objected to my proposal, can I submit a patch to remove the runtime flag and put it up for review? 1: https://wiki.mozilla.org/WebAPI/ExposureGuidelines On Tue, Mar 25, 2014 at 11:11 AM, Rik Cabanier wrote:

Re: Test harness options now defined in-tree -- please pull m-c before pushing to try!

2014-03-25 Thread Gregory Szorc
On 3/25/14, 3:14 PM, Andrew Halberstadt wrote: With the completion of bug 981030 test harness options are now defined in-tree. This means any push without this patch [1] will fail. I already went ahead and landed it on all release branches, but if you have an integration or project branch, you m

Re: Having more control over when an IPDL message is compressed

2014-03-25 Thread Kyle Huey
On Tue, Mar 25, 2014 at 6:18 AM, Botond Ballo wrote: > Hello dev-platform, > > I recently fixed an APZ bug [1] that was caused by an IPDL message, > PBrowser::UpdateFrame, being compressed when it shouldn't have been. > > I think the compression was correct back when we didn't have subframe > scro

Re: Too many system compartments at start-up

2014-03-25 Thread Nicholas Nethercote
On Fri, Mar 21, 2014 at 5:00 PM, Nicholas Nethercote wrote: > On Fri, Mar 21, 2014 at 6:31 AM, Benjamin Smedberg > wrote: >> >> What is the per-compartment overhead? > > It's hard to pin an exact number on it. I talked to Bill about this today, and the overhead includes: - The JSCompartment obj

talk on XPCOM and String APIs

2014-03-25 Thread L. David Baron
During a Layout work week in Taipei last week, I gave a talk on: (1) some bits of XPCOM and its history that I thought were worth talking about (2) our string APIs (a bit about what the internal string APIs do and why and how to use them) (roughly a half hour on each topic) Since other

Test harness options now defined in-tree -- please pull m-c before pushing to try!

2014-03-25 Thread Andrew Halberstadt
With the completion of bug 981030 test harness options are now defined in-tree. This means any push without this patch [1] will fail. I already went ahead and landed it on all release branches, but if you have an integration or project branch, you may need to merge m-c in (or cherry pick that

Re: Too many system compartments at start-up

2014-03-25 Thread Richard Newman
On Friday, March 21, 2014 12:16:28 AM UTC-7, Gregory Szorc wrote: > What other solutions besides concatenating files and lazy loading are there? > Neither sound particularly appealing to me. I'd really like to be able to > "pin" specific JSMs to shared compartments. Kind of a hybrid between CPG

Re: Having more control over when an IPDL message is compressed

2014-03-25 Thread Trevor Saunders
On Mon, Mar 24, 2014 at 03:18:19PM -0700, Botond Ballo wrote: > Hello dev-platform, > > I recently fixed an APZ bug [1] that was caused by an IPDL message, > PBrowser::UpdateFrame, being compressed when it shouldn't have been. > > I think the compression was correct back when we didn't have subfr

Re: DOMWindowCreated not fired for some frames

2014-03-25 Thread Boris Zbarsky
On 3/25/14 2:22 PM, Matthew Gertner wrote: Is this a bug or am I misunderstanding something about the way the "DOMWindowCreated" event works? Is the url about:blank when the window is created, perhaps? It's hard to say without knowing exactly what you're logging/measuring. -Boris _

DOMWindowCreated not fired for some frames

2014-03-25 Thread Matthew Gertner
I registered a "DOMWindowCreated" listener for a tabbrowser in a standard browser.xul window. When I open www.khanacademy.org/login inside a tab, there is a frame in the page with the URL www.khanacademy.org/login?form=1. The listener seems to be fired for all other frames (including all other s

Re: Intent to ship: Path2D + addition canvas APIs

2014-03-25 Thread Rik Cabanier
On Tue, Mar 25, 2014 at 9:43 AM, Anne van Kesteren wrote: > On Tue, Mar 25, 2014 at 4:22 PM, Rik Cabanier wrote: > > The one shipping implementation was Safari and it was implemented last > year > > by Dirk. He renamed it last week to Path2D. > > I see, if it has been in Safari for over a year a

Re: Intent to ship: Path2D + addition canvas APIs

2014-03-25 Thread Anne van Kesteren
On Tue, Mar 25, 2014 at 4:22 PM, Rik Cabanier wrote: > The one shipping implementation was Safari and it was implemented last year > by Dirk. He renamed it last week to Path2D. I see, if it has been in Safari for over a year as Path, the claims it causes compatibility issues seem somewhat overblo

Re: Intent to ship: Path2D + addition canvas APIs

2014-03-25 Thread Rik Cabanier
On Tue, Mar 25, 2014 at 5:08 AM, Dirk Schulze wrote: > Hi Anne, > On Mar 25, 2014, at 11:29 AM, Anne van Kesteren wrote: > > > On Tue, Mar 25, 2014 at 3:53 AM, Rik Cabanier > wrote: > >> It's defined as the "Path" object in the WhatWG spec [1] but after a > long > >> discussion and author feedb

Re: Too many system compartments at start-up

2014-03-25 Thread Nicholas Nethercote
On Fri, Mar 21, 2014 at 5:44 PM, Nicholas Nethercote wrote: > > I should clarify: that's the memory consumption that's identified as > belonging to the compartment, but that's not the whole picture. Some > compartment data gets reported at the level of the runtime, including > 'script-sources' and

Re: Intent to ship: Path2D + addition canvas APIs

2014-03-25 Thread Dirk Schulze
Hi Anne, On Mar 25, 2014, at 11:29 AM, Anne van Kesteren wrote: > On Tue, Mar 25, 2014 at 3:53 AM, Rik Cabanier wrote: >> It's defined as the "Path" object in the WhatWG spec [1] but after a long >> discussion and author feedback that name was considered too generic and >> renamed. > > Pointer?

Re: Intent to ship: Path2D + addition canvas APIs

2014-03-25 Thread Anne van Kesteren
On Tue, Mar 25, 2014 at 3:53 AM, Rik Cabanier wrote: > It's defined as the "Path" object in the WhatWG spec [1] but after a long > discussion and author feedback that name was considered too generic and > renamed. Pointer? Almost none of the other -related interfaces have a suffix. Also, if there