Re: New MFBT features: enum underlying type and enum classes

2012-08-09 Thread David Rajchenbach-Teller
consider some static analysis to try and root out untyped enumerations? Cheers, David -- David Rajchenbach-Teller, PhD Performance Team, Mozilla signature.asc Description: OpenPGP digital signature ___ dev-platform mailing list dev-platform

Re: Imminent conversion of nsresult into an enum

2012-09-21 Thread David Rajchenbach-Teller
___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform That sounds great! Are you somehow using the new C++11 typesafe enums? -- David Rajchenbach-Teller, PhD Performance Team, Mozilla signature.asc

Re: Off main thread file I/O

2012-10-17 Thread David Rajchenbach-Teller
on that topic in the documentation. This is generally not very useful for platform or add-ons, but it can be quite useful for tests. - I assume the file name arguments are all nsIFile.path-compatible across platforms? Barring any bug, they should be. Cheers, David -- David Rajchenbach-Teller, PhD

Re: Changes to JS components/JSMs

2012-11-02 Thread David Rajchenbach-Teller
update them... It would if we turned this on for a product that uses Jetpack, but we don't currently have plans to do that. We actually have some code that imports these without using Jetpack, including OS.File (although OS.File doesn't work on Gonk, though). Cheers, David -- David Rajchenbach

Re: Suggestion: Improve Panorama

2012-12-18 Thread David Rajchenbach-Teller
/dev-platform I like the idea of sliding in Panorama. Cheers, David -- David Rajchenbach-Teller, PhD Performance Team, Mozilla signature.asc Description: OpenPGP digital signature ___ dev-platform mailing list dev-platform@lists.mozilla.org

Re: API for creating web page screenshot

2012-12-19 Thread David Rajchenbach-Teller
/Drawing_DOM_objects_into_a_canvas Couldn't this serve your needs? Cheers, David -- David Rajchenbach-Teller, PhD Performance Team, Mozilla signature.asc Description: OpenPGP digital signature ___ dev-platform mailing list dev-platform@lists.mozilla.org https

Re: API for creating web page screenshot

2012-12-19 Thread David Rajchenbach-Teller
Ah, silly me, I misread the original message. Sorry. signature.asc Description: OpenPGP digital signature ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform

Handling execution dependencies

2013-01-12 Thread David Rajchenbach-Teller
Firefox into asynchronicity. As a base for discussion, I have put together a small RFC based on promises: https://wiki.mozilla.org/RFC/TaskDependencies Cheers, David -- David Rajchenbach-Teller, PhD Performance Team, Mozilla signature.asc Description: OpenPGP digital signature

Re: Effects of JSM Compartments on Performance and Development Practices

2013-01-20 Thread David Rajchenbach-Teller
I have some shared concerns, given that I am one of the persons involved in the ongoing heavy refactoring on Session Restore, which for some users needs to deal with 50Mb+ strings sent across JSMs. At the moment, my main worry is not memory usage (yet) but string copying. Cheers, David

[Ann] JavaScript deprecation warnings

2013-01-29 Thread David Rajchenbach-Teller
now appear in the console. * Marking a method as deprecated Components.utils.import(toolkit/content/Deprecated.jsm); function foobar() { Deprecated.warning(Method foobar is deprecated, urlToDocumentation); // ... } Well, essentially, this is it. Have fun! David -- David Rajchenbach

Re: OS.File and shutdown

2013-05-13 Thread David Rajchenbach-Teller
-- David Rajchenbach-Teller, PhD Performance Team, Mozilla ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform

Re: OS.File and shutdown

2013-05-15 Thread David Rajchenbach-Teller
(or anything goes that works and is early enough..) profile-before-change should be good. Any OS.File call posted before xpcom-shutdown will be completed before we exit Firefox. Cheers, David -- David Rajchenbach-Teller, PhD Performance Team, Mozilla

Re: Storage in Gecko

2013-05-16 Thread David Rajchenbach-Teller
On 5/16/13 2:26 AM, Robert Kaiser wrote: David Rajchenbach-Teller schrieb: I'd even go as far as limiting it to 16kb. (possibly with a transition phase during which going above 16kb only prints warnings) I think most of us agree, but the problem is that apparently a number of add-ons rely

Re: Ordering shutdown observers?

2013-05-16 Thread David Rajchenbach-Teller
somewhat explicit, otherwise we will at some point end up with unsatisfiable implicit dependencies and we will need large refactorings to get around these. Cheers, David -- David Rajchenbach-Teller, PhD Performance Team, Mozilla ___ dev-platform mailing

[RFC] Modules for workers

2013-05-18 Thread David Rajchenbach-Teller
like to place worker modules in resource://gre/modules/workers/ Any comments? Cheers, David -- David Rajchenbach-Teller, PhD Performance Team, Mozilla ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo

[Advance warning] Session Restore is changing, will break add-ons

2013-05-21 Thread David Rajchenbach-Teller
that we are about to break your add-on, please inform us asap, so that we can work out a solution. Cheers, David -- David Rajchenbach-Teller, PhD Performance Team, Mozilla ___ dev-platform mailing list dev-platform@lists.mozilla.org https

Re: [Advance warning] Session Restore is changing, will break add-ons

2013-05-22 Thread David Rajchenbach-Teller
at build-time which I used when Firefox 20 migrated through our release channel and finally shipped. I would be happy to help you on doing the same thing if needed. Cheers, Ehsan -- David Rajchenbach-Teller, PhD Performance Team, Mozilla ___ dev

Re: [Advance warning] Session Restore is changing, will break add-ons

2013-05-22 Thread David Rajchenbach-Teller
Nightingale VP Firefox Engineering @johnath -- David Rajchenbach-Teller, PhD Performance Team, Mozilla ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform

Re: [RFC] Modules for workers

2013-05-22 Thread David Rajchenbach-Teller
PM, Dave Townsend wrote: On the face of it it looks like it should be possible for Jetpack's module loader to load these worker modules. Is that something that seems desirable or are these modules not useful outside of workers? -- David Rajchenbach-Teller, PhD Performance Team, Mozilla

Re: [Advance warning] Session Restore is changing, will break add-ons

2013-05-24 Thread David Rajchenbach-Teller
, David - Tim -- David Rajchenbach-Teller, PhD Performance Team, Mozilla ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform

Re: [RFC] Modules for workers

2013-05-24 Thread David Rajchenbach-Teller
frontend desktop-only code seems fine. But it's something that would worry me if we start doing in cross platform Gecko code. / Jonas -- David Rajchenbach-Teller, PhD Performance Team, Mozilla ___ dev-platform mailing list dev-platform

Re: [RFC] Modules for workers

2013-05-28 Thread David Rajchenbach-Teller
into separate processes anyway? This has been discussed, but I haven't heard from this since in ages. / Jonas -- David Rajchenbach-Teller, PhD Performance Team, Mozilla ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org

Re: Sandboxed, off-screen pages for thumbnail capture

2013-06-18 Thread David Rajchenbach-Teller
On 6/18/13 3:01 PM, Gavin Sharp wrote: On Tue, Jun 18, 2013 at 8:10 AM, David Rajchenbach-Teller dtel...@mozilla.com wrote: If I understand correctly, we are doubling both network and disk activity (possibly CPU activity, too) for this purpose. Performance- and battery-wise, that's not a very

We now have a module loader for chrome workers

2013-07-19 Thread David Rajchenbach-Teller
, David -- David Rajchenbach-Teller, PhD Performance Team, Mozilla ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform

Async APIs: Make wishes for Q4 and beyond

2013-10-01 Thread David Rajchenbach-Teller
and gradually improved Promise.jsm, Task.jsm, OS.File, Sqlite.jsm, mozIStorageAsyncConnection, AsyncShutdown.jsm, nsIBackgroundFileSaver, add_task for xpcshell and mochitest-browser, async transactions for places, the chrome worker module loader, ... -- David Rajchenbach-Teller, PhD Performance

Extensibility of JavaScript modules

2013-10-08 Thread David Rajchenbach-Teller
. Some developers prefer to Object.freeze() them, to ensure that this doesn't happen, while others leave them open voluntarily and use monkey-patching in test suites. Both approaches have their pros and cons. Do we/should we have a policy? Cheers, David -- David Rajchenbach-Teller, PhD

Re: Coding style for functions called by Task.jsm tasks

2013-10-08 Thread David Rajchenbach-Teller
it and forget that it's asynchronous. If someone wanted to use the function outside of a task, they'd just need to add the Task wrapper. I actually believe that it's quite easy to forget adding the Task wrapper and end up with something wrong. Cheers, David -- David Rajchenbach-Teller, PhD

Re: Extensibility of JavaScript modules

2013-10-10 Thread David Rajchenbach-Teller
Don't hesitate to ping me when it's time. Cheers, David On 10/10/13 12:04 AM, Jason Orendorff wrote: On 10/9/13 12:56 PM, David Rajchenbach-Teller wrote: I am interested, although my buglist is rather full. What kind of help would be useful? When it's time, we'll need to: 1. write

Re: java click to run problem on Firefox

2013-10-10 Thread David Rajchenbach-Teller
Can you describe the usability problem in detail? We absolutely are planning to continue to make all versions of Java click-to-play by default. Users should be presented with the choice to always activate Java on your site. -- David Rajchenbach-Teller, PhD Performance Team, Mozilla

Re: What platform features can we kill?

2013-10-11 Thread David Rajchenbach-Teller
I'd be happy if we could progressively kill FileUtils.jsm and make nsIFile [noscript]. Don't know if this qualifies as platform feature, though. Cheers, David ___ dev-platform mailing list dev-platform@lists.mozilla.org

Re: What platform features can we kill?

2013-10-11 Thread David Rajchenbach-Teller
://lists.mozilla.org/listinfo/dev-platform -- David Rajchenbach-Teller, PhD Performance Team, Mozilla ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform

[Ann] Displaying uncaught asynchronous errors

2013-10-15 Thread David Rajchenbach-Teller
should make debugging async code much easier. Cheers, David -- David Rajchenbach-Teller, PhD Performance Team, Mozilla ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform

Re: [RFC] Changing the behavior of safe file output stream

2013-10-18 Thread David Rajchenbach-Teller
Sorry, I meant flush() (lower-case), aka PR_Sync. On Fri Oct 18 16:11:43 2013, Neil wrote: Are we looking at the same stream? Finish() calls Flush() because otherwise Close() discards the file. -- David Rajchenbach-Teller, PhD Performance Team, Mozilla signature.asc Description: OpenPGP

Re: Faster builds, now ; on windows, too.

2013-10-21 Thread David Rajchenbach-Teller
list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform -- David Rajchenbach-Teller, PhD Performance Team, Mozilla ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev

Re: Removing a window from the session store

2013-10-23 Thread David Rajchenbach-Teller
, Ehsan ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform -- David Rajchenbach-Teller, PhD Performance Team, Mozilla ___ dev-platform mailing list

Re: Removing a window from the session store

2013-10-23 Thread David Rajchenbach-Teller
Yes, please do. There's a component Session Restore. Cheers, David On 10/23/13 2:39 PM, Matthew Gertner wrote: On Wednesday, October 23, 2013 2:36:12 PM UTC+2, David Rajchenbach-Teller wrote: At the moment, there is no good way to do what you need. The only solution I can think of would

Re: Removing a window from the session store

2013-10-24 Thread David Rajchenbach-Teller
/listinfo/dev-platform -- David Rajchenbach-Teller, PhD Performance Team, Mozilla signature.asc Description: OpenPGP digital signature ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform

Measuring power usage

2013-11-05 Thread David Rajchenbach-Teller
for this purpose ? Note that I don't even know if that's possible in userland. - do we already have a good way to measure total power usage by a xpcshell test, perhaps by interfacing with powertop or Intel Power Gadget? Cheers, David -- David Rajchenbach-Teller, PhD Performance Team, Mozilla

Re: Measuring power usage

2013-11-05 Thread David Rajchenbach-Teller
PM, Andreas Gal wrote: If you can access the remaining battery status of a large enough population over time it should be easy to use telemetry to measure this pre and post patch. Andreas -- David Rajchenbach-Teller, PhD Performance Team, Mozilla

Re: Measuring power usage

2013-11-05 Thread David Rajchenbach-Teller
interested in using it in workers. Any thought? Cheers, David -- David Rajchenbach-Teller, PhD Performance Team, Mozilla ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform

Re: Booting to the Web

2013-11-12 Thread David Rajchenbach-Teller
/dev-platform -- David Rajchenbach-Teller, PhD Performance Team, Mozilla ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform

[RFC] Should we persist dynamically generated iframes?

2013-11-13 Thread David Rajchenbach-Teller
of these choices would change the semantics of sessionstore.js and would alter the user experience when reopening/recovering from crash on some sites that make good use of dynamic iframes. I would like people's opinion on such changes or possible other countermeasures. Cheers, David -- David Rajchenbach

Re: [RFC] Should we persist dynamically generated iframes?

2013-11-13 Thread David Rajchenbach-Teller
? Cheers, David -- David Rajchenbach-Teller, PhD Performance Team, Mozilla ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform

Re: [RFC] Should we persist dynamically generated iframes?

2013-11-13 Thread David Rajchenbach-Teller
it to ‘Put a reasonable cap on the amount of history we store for invisible, dynamic iframes, using a fifo queue’? Mike. -- David Rajchenbach-Teller, PhD Performance Team, Mozilla ___ dev-platform mailing list dev-platform@lists.mozilla.org https

Re: Shared Desktop and Metro profile work on mozilla-central

2013-11-14 Thread David Rajchenbach-Teller
___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform -- David Rajchenbach-Teller, PhD Performance Team, Mozilla ___ dev-platform mailing list dev-platform@lists.mozilla.org https

Re: Intent to replace Promise.jsm and promise.js with DOM Promises

2013-11-20 Thread David Rajchenbach-Teller
-- David Rajchenbach-Teller, PhD Performance Team, Mozilla ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform

[RFC] Cleaning up sessionstore.js

2013-11-28 Thread David Rajchenbach-Teller
don't have space usage number for each of these (bug 942340 should provide more insight). If anybody feels that we are going to break one million websites (or one million profiles), we would be interested to hear about this. Cheers, David -- David Rajchenbach-Teller, PhD Performance Team, Mozilla

Re: [RFC] Cleaning up sessionstore.js

2013-11-28 Thread David Rajchenbach-Teller
, anyway. That was the idea, yes. Cheers, David -- David Rajchenbach-Teller, PhD Performance Team, Mozilla ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform

Re: [RFC] Cleaning up sessionstore.js

2013-11-28 Thread David Rajchenbach-Teller
On 11/29/13 12:15 AM, Matthew N. wrote: On 11/28/13, 7:15 AM, Honza Bambas wrote: On 11/28/2013 12:56 PM, David Rajchenbach-Teller wrote: As many of you know, Session Restore is something of a performance hog, for many reasons – we have reports of. One of the reasons is that we store so very

Re: [RFC] Cleaning up sessionstore.js

2013-11-29 Thread David Rajchenbach-Teller
where session store is going. Well, any change that would split sessionstore.js is going to need even more effort in ensuring that we collect the garbage, so I believe that this is a useful first step. Cheers, David -- David Rajchenbach-Teller, PhD Performance Team, Mozilla

Re: We should write memory reporters for new features as they're being developed

2013-12-17 Thread David Rajchenbach-Teller
reporters for things that are typically only 100s of KBs. On B2G, 100KB per process is significant. -- David Rajchenbach-Teller, PhD Performance Team, Mozilla ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev

Re: Terminating xulrunner?

2014-01-16 Thread David Rajchenbach-Teller
. ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform -- David Rajchenbach-Teller, PhD Performance Team, Mozilla ___ dev-platform mailing list dev-platform@lists.mozilla.org

Tagging legitimate main thread I/O

2014-02-07 Thread David Rajchenbach-Teller
, David -- David Rajchenbach-Teller, PhD Performance Team, Mozilla ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform

Re: Tagging legitimate main thread I/O

2014-02-10 Thread David Rajchenbach-Teller
On 2/10/14 2:43 PM, Benjamin Smedberg wrote: On 2/7/2014 10:31 AM, David Rajchenbach-Teller wrote: Since main thread I/O keeps being added to the tree, for good or bad reasons, I believe that we should adopt a convention of tagging legitimate main thread I/O. When you say tagging do you mean

Announcing AsyncShutdown

2014-02-17 Thread David Rajchenbach-Teller
in touch (bug 918317). Asynchronously yours, David -- David Rajchenbach-Teller, PhD Performance Team, Mozilla ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform

ISomething, nsISomething or mozISomething?

2014-02-17 Thread David Rajchenbach-Teller
Do we have naming conventions for new xpcom interfaces? I believe that I have seen all three forms on the tree. I need to pick one for my new bug. Which one should I pick? Cheers, David (Cross-posting to ask.mozilla.org) -- David Rajchenbach-Teller, PhD Performance Team, Mozilla

Re: Announcing AsyncShutdown

2014-02-18 Thread David Rajchenbach-Teller
the queue of events be queued to run on startup? i have a great need for that -- David Rajchenbach-Teller, PhD Performance Team, Mozilla ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform

Re: Announcing AsyncShutdown

2014-02-19 Thread David Rajchenbach-Teller
. Much thanks for the reply David and really appreciate this module nonetheless, it should help me with making that final call if they don't ctrl+alt+del the process or some other thing causes the process to hang/crash. -- David Rajchenbach-Teller, PhD Performance Team, Mozilla

Re: Memory management in features implemented in JS

2014-03-19 Thread David Rajchenbach-Teller
. On 3/20/14 12:39 AM, Kyle Huey wrote: Followup to dev-platform please. -- David Rajchenbach-Teller, PhD Performance Team, Mozilla ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform

Re: Memory management in features implemented in JS

2014-03-20 Thread David Rajchenbach-Teller
with weak observers and weak listeners too. -Olli ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform -- David Rajchenbach-Teller, PhD Performance Team, Mozilla

Re: Warning about mutating the [[Prototype]] of an object ?

2014-03-28 Thread David Rajchenbach-Teller
with a recommended solution that won't bog down performance. ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform -- David Rajchenbach-Teller, PhD Performance Team, Mozilla

Re: Promise.jsm and the predefined Promise object

2014-03-29 Thread David Rajchenbach-Teller
the bigger footgun. Also, keeping the necessity to import Promise.jsm will make it easier to eventually migrate from Promise.jsm to [a superset of] DOM Promise once we consider that everything is ready for that migration. Cheers, David -- David Rajchenbach-Teller, PhD Performance Team, Mozilla

Re: Promise.jsm and the predefined Promise object

2014-03-31 Thread David Rajchenbach-Teller
with bz a long time ago, but it might have been someone else. Numbers would be interesting, though. Paolo, do you have plans to perform benchmarking? Cheers, David -- David Rajchenbach-Teller, PhD Performance Team, Mozilla ___ dev-platform mailing

Re: OS.File design issue from bug 961080 (making downloads respect umask)

2014-04-28 Thread David Rajchenbach-Teller
as a prefix than posix, to match the rest of the API. Unless somebody disagrees, all that's left is nitpicking and we can finish that discussion on the bug. Cheers, David -- David Rajchenbach-Teller, PhD Performance Team, Mozilla signature.asc Description: OpenPGP digital signature

Re: Argument validation as a JSM?

2014-05-15 Thread David Rajchenbach-Teller
? If there's an existing module out there, I'd like to hear of it before reinventing the wheel. ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform -- David Rajchenbach-Teller, PhD

Uncaught rejections in xpcshell will now cause orange

2014-05-28 Thread David Rajchenbach-Teller
, this heuristic hasn't caused any false positive. We intend to progressively extend this policy to: - mochitests (bug 1016387); - addon-sdk tests (bug 998277); - DOM Promise (bug 989960). Cheers, David -- David Rajchenbach-Teller, PhD Performance Team, Mozilla signature.asc Description

Re: bugzilla can now show bugs that have been updated since you last visited them

2014-06-04 Thread David Rajchenbach-Teller
/p1JUqW-9M -- David Rajchenbach-Teller, PhD Performance Team, Mozilla signature.asc Description: OpenPGP digital signature ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform

Re: Identifiable TBPL Try push tab titles

2014-06-24 Thread David Rajchenbach-Teller
Thanks for that change. It's really helpful for my day-to-day use of TBPL. Cheers, David signature.asc Description: OpenPGP digital signature ___ dev-platform mailing list dev-platform@lists.mozilla.org

Re: Are you interested in doing dynamic analysis of JS code?

2014-06-26 Thread David Rajchenbach-Teller
it would look like. There are several possibilities. We need to know how to prioritize this work. We need to know what kind of API we should build. So we're looking for early adopters. If that's you, please speak up and tell us how you'd like to instrument JS code. -- David Rajchenbach-Teller

Re: Session Restore (sessionstore)

2014-06-28 Thread David Rajchenbach-Teller
as a power user. ;^) I have so much, too. ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform -- David Rajchenbach-Teller, PhD Performance Team, Mozilla signature.asc Description

Re: Session Restore (sessionstore)

2014-06-28 Thread David Rajchenbach-Teller
! ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform -- David Rajchenbach-Teller, PhD Performance Team, Mozilla signature.asc Description: OpenPGP digital signature

Re: Session Restore (sessionstore)

2014-06-28 Thread David Rajchenbach-Teller
-used bytes on the storage and brings a big fragmentation to it! This significantly slows down a system! ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform -- David Rajchenbach-Teller, PhD

Re: Session Restore (sessionstore)

2014-06-28 Thread David Rajchenbach-Teller
-- David Rajchenbach-Teller, PhD Performance Team, Mozilla signature.asc Description: OpenPGP digital signature ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform

Depending on libnotify

2014-07-02 Thread David Rajchenbach-Teller
? Thanks, David -- David Rajchenbach-Teller, PhD Performance Team, Mozilla signature.asc Description: OpenPGP digital signature ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform

Re: Depending on libnotify

2014-07-02 Thread David Rajchenbach-Teller
://lists.mozilla.org/listinfo/dev-platform -- David Rajchenbach-Teller, PhD Performance Team, Mozilla signature.asc Description: OpenPGP digital signature ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev

Re: Depending on libnotify

2014-07-02 Thread David Rajchenbach-Teller
the systems we support. (our current glibc dependency is on a version = 2.7, fwiw) Mike -- David Rajchenbach-Teller, PhD Performance Team, Mozilla signature.asc Description: OpenPGP digital signature ___ dev-platform mailing list dev-platform

Reordering opened windows

2014-07-04 Thread David Rajchenbach-Teller
. Cheers, David -- David Rajchenbach-Teller, PhD Performance Team, Mozilla signature.asc Description: OpenPGP digital signature ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform

Re: Depending on libnotify

2014-07-04 Thread David Rajchenbach-Teller
for the kind of applications we have in mind, so that's ok for me. Thanks, David On 02/07/14 18:45, Gregory Szorc wrote: I've written a cross-platform file watching API for Windows/OS X/Linux before. It's no fun. -- David Rajchenbach-Teller, PhD Performance Team, Mozilla signature.asc

Rethinking the crash experience

2014-07-05 Thread David Rajchenbach-Teller
-on encountered a problem [a few seconds ago / on July 4rd, 2014] and recovered. If you wish, Firefox can report it automatically so that we can fix the bug report/not this time/always report/never report. My apologies if this is part of the ongoing CrashManager work. Cheers, David -- David Rajchenbach-Teller

Improving Session Restore Experience (was Re: Reordering opened windows)

2014-07-07 Thread David Rajchenbach-Teller
Rajchenbach-Teller wrote: We are considering redesigning slightly how windows are reopened by Session Restore, to ensure that most recently used windows are loaded first. I can't quite tell from your phrasing whether the bottleneck here is the time it takes to open windows. I'm assuming

Re: Rethinking the crash experience

2014-07-07 Thread David Rajchenbach-Teller
to keep the behavior as a fallback, in case of startup or near-startup crash. Cheers, David -- David Rajchenbach-Teller, PhD Performance Team, Mozilla signature.asc Description: OpenPGP digital signature ___ dev-platform mailing list dev-platform

Re: Rethinking the crash experience

2014-07-08 Thread David Rajchenbach-Teller
into Firefox: Oh, by the way, I recovered. Cheers, David -- David Rajchenbach-Teller, PhD Performance Team, Mozilla signature.asc Description: OpenPGP digital signature ___ dev-platform mailing list dev-platform@lists.mozilla.org https

Capturing the JS stack in case of crash

2014-07-08 Thread David Rajchenbach-Teller
, and to attach the output to the Crash Reporter if available. Cheers, David -- David Rajchenbach-Teller, PhD Performance Team, Mozilla signature.asc Description: OpenPGP digital signature ___ dev-platform mailing list dev-platform@lists.mozilla.org https

Re: Rethinking the crash experience

2014-07-08 Thread David Rajchenbach-Teller
On 08/07/14 16:25, Tobias Besemer wrote: Am Samstag, 5. Juli 2014 14:21:47 UTC+2 schrieb David Rajchenbach-Teller: [...] 3. Crash report is stored to disk, without any dialog; 4. If the crash happened during Firefox shutdown, do nothing, otherwise restart Firefox to its previous state

Re: Rethinking the crash experience

2014-07-09 Thread David Rajchenbach-Teller
mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform -- David Rajchenbach-Teller, PhD Performance Team, Mozilla signature.asc Description: OpenPGP digital signature ___ dev-platform mailing list dev-platform

Re: Rethinking the crash experience

2014-07-10 Thread David Rajchenbach-Teller
mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform -- David Rajchenbach-Teller, PhD Performance Team, Mozilla signature.asc Description: OpenPGP digital signature ___ dev-platform mailing list dev-platform

Re: How to use jquery in xul files of thunderbird

2014-07-16 Thread David Rajchenbach-Teller
___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform -- David Rajchenbach-Teller, PhD Performance Team, Mozilla signature.asc Description: OpenPGP digital signature ___ dev

Re: Intent to implement: navigator.deviceStorage

2014-07-18 Thread David Rajchenbach-Teller
at an example? I believe that Ehsan is referring to https://developer.mozilla.org/en-US/docs/Web/Guide/Events/Event_handlers -- David Rajchenbach-Teller, PhD Performance Team, Mozilla signature.asc Description: OpenPGP digital signature ___ dev

Re: Introducing mozilla::UniquePtr and mozilla::MakeUnique for |new T| and |new T[]| resources

2014-08-05 Thread David Rajchenbach-Teller
| or |delete[]| its pointer when it's destroyed. (You can also define custom deletion policies if you want.) -- David Rajchenbach-Teller, PhD Performance Team, Mozilla signature.asc Description: OpenPGP digital signature ___ dev-platform mailing list

Re: Reordering opened windows

2014-08-20 Thread David Rajchenbach-Teller
No success, I take it? On 04/07/14 20:11, Ehsan Akhgari wrote: I'm not aware of any such APIs, but CCing some other folks who know more about Windows than I do. -- David Rajchenbach-Teller, PhD Performance Team, Mozilla signature.asc Description: OpenPGP digital signature

Opening windows hidden, showing windows lowered

2014-08-20 Thread David Rajchenbach-Teller
that we consider useful visible and start loading it; 3/ make other windows progressively visible, with a lower z-order. So far, I haven't been able to find any such API in or around window. Does anyone have any suggestions as to where I could poke? Cheers, David -- David Rajchenbach-Teller, PhD

Re: Reordering opened windows

2014-08-20 Thread David Rajchenbach-Teller
pretty sure it would cause flickering. -- David Rajchenbach-Teller, PhD Performance Team, Mozilla signature.asc Description: OpenPGP digital signature ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo

Re: How to implement XPCOM API void render(in long width, in long height, out nsIImageLoadingContent imageContent); in Javascript?

2014-08-22 Thread David Rajchenbach-Teller
that. ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform -- David Rajchenbach-Teller, PhD Performance Team, Mozilla signature.asc Description: OpenPGP digital signature

Re: How to implement XPCOM API void render(in long width, in long height, out nsIImageLoadingContent imageContent); in Javascript?

2014-08-22 Thread David Rajchenbach-Teller
@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform -- David Rajchenbach-Teller, PhD Performance Team, Mozilla signature.asc Description: OpenPGP digital signature ___ dev-platform mailing list dev-platform@lists.mozilla.org https

Re: Is there anyway to do await in Mozilla javascript

2014-08-27 Thread David Rajchenbach-Teller
-- David Rajchenbach-Teller, PhD Performance Team, Mozilla signature.asc Description: OpenPGP digital signature ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform

Re: Intent to implement and ship: DOMRequest.then

2014-09-27 Thread David Rajchenbach-Teller
in three main ways: its API surface is completely different, it uses DOM events to dispatch success/error events, and its events are dispatched synchronously. Currently DOMRequest is used by a lot of APIs on Firefox OS. -- David Rajchenbach-Teller, PhD Performance Team, Mozilla signature.asc

Re: Documenting uses of Github at Mozilla

2014-10-01 Thread David Rajchenbach-Teller
/Yoric/bugzilla-dashboard -- David Rajchenbach-Teller, PhD Performance Team, Mozilla signature.asc Description: OpenPGP digital signature ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform

Re: PSA: Array.prototype.contains is going away again

2014-10-02 Thread David Rajchenbach-Teller
list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform -- David Rajchenbach-Teller, PhD Performance Team, Mozilla signature.asc Description: OpenPGP digital signature ___ dev-platform mailing list dev-platform

Re: JavaScript (strict) Warning from FF mochitest-plain test.

2014-10-03 Thread David Rajchenbach-Teller
___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform -- David Rajchenbach-Teller, PhD Performance Team, Mozilla signature.asc Description: OpenPGP digital signature

Re: Intent to implement: `//# sourceURL=display-url.js` in Error.prototype.stack

2014-10-10 Thread David Rajchenbach-Teller
); window.foo(); The youngest frame in the stack returned by the call to `window.foo` would have my-url.js reported as the filename. -- David Rajchenbach-Teller, PhD Performance Team, Mozilla signature.asc Description: OpenPGP digital signature

  1   2   >