Parallel sandboxed iframes

2014-01-16 Thread David Bruant
Hi, Machines are getting more cores, web devs want to make use of that opportunity. We (webdev hat) have WebWorkers, that's cool, but one can only do ~math in there. It's not possible to update a UI in real time from a WebWorker. It's not possible to update a canvas or WebGL context either. New

Re: Parallel sandboxed iframes

2014-01-16 Thread David Bruant
Le jeudi 16 janvier 2014 18:31:59 UTC+1, Boris Zbarsky a écrit : It's pretty far away in Gecko as it stands, because we have all sorts of global state (class statics, say!) that is not parallel-safe. Process-separated is likely to be simpler to get to work without pesky things like memory

Re: Parallel sandboxed iframes

2014-01-20 Thread David Bruant
Hi, So far, nobody said that the idea was either stupid or impossible/impractical, so I went ahead and filed https://bugzilla.mozilla.org/show_bug.cgi?id=961689 David ___ dev-platform mailing list dev-platform@lists.mozilla.org

Re: Firebug in embedded XULRunner.

2014-03-30 Thread David Bruant
Le mercredi 19 février 2014 13:43:57 UTC+1, apransk...@gmail.com a écrit : We need to debug and measure execution time of JavaScript inside the pages we display. For this sort of work, web developers tend to use PhantomJS or CasperJS nowadays. http://phantomjs.org/ http://casperjs.org/ (built

Re: Help with removing __iterator__ from JS

2015-07-22 Thread David Bruant
Hi Paolo, The ES6 iterator protocol is what you're looking for. See: * https://hacks.mozilla.org/2015/04/es6-in-depth-iterators-and-the-for-of-loop/ * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Symbol/iterator Alongside with the computed property syntax,

Re: ESLint is now available in the entire tree

2015-11-29 Thread David Bruant
Hi, Just a drive-by comment to inform folks that there is an effort to transition Mozilla JavaScript codebase to standard JavaScript. Main bugs is: https://bugzilla.mozilla.org/show_bug.cgi?id=867617 And https://bugzilla.mozilla.org/show_bug.cgi?id=1103158 is about removing non-standard

Reproducible builds

2016-07-17 Thread David Bruant
Hi, Two recent comments on the Linux reproducible build bug thread [1] suggest that the bug has no clear end goal. In this email, I'll try to describe what I understand of the problem and discuss the outline of a possible end goal. I felt that the topic covers a wide enough range of

Re: Reproducible builds

2016-07-18 Thread David Bruant
Le lundi 18 juillet 2016 20:57:12 UTC+2, Gregory Szorc a écrit : > On Sun, Jul 17, 2016 at 9:38 AM, David Bruant <bruan...@gmail.com> wrote: > > We already have deterministic packaging in some parts of Firefox (notably > most XPIs and omni.ja files). We've done this by implemen

Re: Please consider whether new APIs/functionality should be disabled by default in sandboxed iframes

2017-02-27 Thread David Bruant
Hi Boris, Did a particular feature triggered your message? Would it make sense to add the question to the "Intent to Implement" email template? https://wiki.mozilla.org/WebAPI/ExposureGuidelines#Intent_to_Implement "Intent to" emails seem like a good time to ask this questions/raise: * the

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

2016-09-27 Thread David Bruant
Le mardi 27 septembre 2016 14:49:36 UTC+2, David Teller a écrit : > I have opened bug 1305669 with one possible strategy for migrating > towards RequireJS. RequireJS [1] is a peculiar choice for chrome code especially if your goal is static analysis. From this thread and what I read in bug, it

Re: Eiminating nsIDOM* interfaces and brand checks

2017-09-15 Thread David Bruant
Hi, Sorry, arriving a bit late to the party. I was about to propose something related to @@toStringTag, but reading the discussions about how it may/will work [1][2][3], i realize it may not be your preferred solution. Maybe @@toStringTag will end up not working well enough for your need

Re: Fission MemShrink Newsletter #1: What (it is) and Why (it matters to you)

2018-07-11 Thread David Bruant
Thanks Kris for all this information and the beginning of the first issue of this newsletter! 2018-07-10 20:19 GMT+02:00 Kris Maglione : > The problem is thus: In order for site isolation to work, we need to be > able to run *at least* 100 content processes in an average Firefox session I've