Re: Switching to async/await from Task.jsm/yield

2017-05-15 Thread Sam Foster
I think this deserves a round of applause. Its a large undertaking with measurable perf wins in areas with strong SEP(1) fields 1. https://en.wikipedia.org/wiki/Somebody_else%27s_problem /Sam On Wed, May 10, 2017 at 7:09 PM, Florian Quèze wrote: > On Mon, Mar 27, 2017 at 9:42 PM, Dave Townse

Re: nsIDownloadManager replaced by Downloads.jsm

2013-08-28 Thread sam foster
> if you are maintaining an add-on or a Mozilla product that interacts > with downloads, you should look into updating your code to use the new > Downloads.jsm module instead of nsIDownloadManager as soon as possible. We're currently using nsIDownloadManager in Firefox for Metro and will be wanti

Re: Simplify async code-flows and unify unit tests

2013-05-08 Thread sam foster
I want to add my +1 to the goal of unifying and streamlining the setting up of test flows and a common assertion syntax. I know some of the issues you raise with Promises (like getting a useful stack on exceptions) are being discussed and addressed already. I dont have all the context, but IST