mozilla / memchaser

Firefox extension to chase the memory usage and garbage collector activity
https://wiki.mozilla.org/QA/Automation_Services/Projects/Addons/MemChaser
29 stars 23 forks source link

Adding shortcut key support for starting and stopping logging. #177

Open EvanHon opened 11 years ago

EvanHon commented 11 years ago

Hi, I am using selenium to simulate user actions on the browser and the browser started by selenium has bind the memchaser with it, but unfortunately, every time I have to MANUALLY click the logging icon, so do you have any plan for adding the shortcut key support for starting and stopping logging?

davehunt commented 11 years ago

We could possibly add a preference that made logging enabled by default, would that help?

EvanHon commented 11 years ago

That definitely helped me a lot, thanks!

davehunt commented 11 years ago

Do you mean it would help a lot? Nothing has actually been changed in this area. I think it would be okay to have a preference to enable logging by default, and shouldn't be too difficult to implement. What do you think @whimboo ? Would you be interested on working on it @EvanHon?

whimboo commented 11 years ago

Adding a preference for that sounds like a good idea. Then you could initially set it to true for the pre-configured profile you make use of with Selenium. For the extension itself it should be set to false.