Mossop Status Update: 2012-01-27

Posted: January 27th, 2012

Done:

  • Sent out schedule for the Add-ons SDK work week
  • Worked on job descriptions for new hires
  • Assigning owners to goals

Tags: , ,

No Comments »

Categories: mozilla

Mossop Status Update: 2012-01-13

Posted: January 13th, 2012

Done:

  • Finalized the Add-ons SDK goals for Q1
  • Add-ons SDK work week planning
  • Finalized the new Toolkit module peer structure
  • Working on testing the new hotfix feature
  • Building test hotfix add-ons to ship out to beta users

Next:

  • Post to the newsgroup about the Toolkit module peer changes
  • Find owners for all the Add-ons SDK goals
  • Write up the draft schedule for the Add-ons SDK work week

Tags: , ,

No Comments »

Categories: mozilla

How Crashplan breaks xpcshell tests on Windows

Posted: November 23rd, 2011

I recently switched to a Windows laptop and have been going through the usual teething pains related. One thing that confused me though was that when I was running xpcshell tests on my new machine they would frequently fail with access denied errors. I’ve seen this sort of thing before so I know some service was monitoring files and opening them after they had changed, when this happens they can’t be deleted or edited until the service closes them again and often tests open, close and delete files so fast that there isn’t time for that to happen.

It took me a little while to remember that I can just use Process Monitor to track down the offending service. Just fire it up, set a filter to only include results to a particular directory (the temp directory in this case) and go create a file there and see what shows up. I was quite surprised to see Crashplan, the backup software I (and probably many people in Mozilla) use. Surprised because Crashplan isn’t set to backup my temp directory and really I shudder to think what the performance cost is of something continually accessing every file that changes in the temp directory.

Turns out you can turn it off though. Hidden in the depths of Crashplan’s advanced backup settings is an option to disable real-time filesystem watching. From what I can see online the downside to this is that files will only be backed up once a day, but that’s a pretty fine tradeoff to  having functioning xpcshell tests for me. There is also an option to put crashplan to sleep for an hour or so, that seems to work too but I don’t know exactly what that does.

It confuses me a little why Crashplan monitors files it never intends to backup (even when the backup server isn’t connected and backups aren’t in progress) and it is quite a lot of file accesses it does too. Seems likely to be a bug to me but at least I can workaround it for now.

Tags: , , ,

1 Comment »

Categories: general, mozilla

Mossop Status Update: 2011-10-29

Posted: October 29th, 2011

Done:

  • Implemented a number of performance fixes for mobile (bug 696141 and dependents)
  • Reviewed more of the default to compatible work
  • Basic implementation for add-on hotfix (bug 694068)
  • Landed the final third-party add-on patches on aurora and beta
  • Product planning meeting for Firefoxes 8, 9 and 10

Next:

  • Finish the add-on hotfix work
  • Various HR stuff
  • Start planning Jetpack work week

Tags: , ,

Comments Off

Categories: mozilla

Mossop Status Update: 2011-10-14

Posted: October 14th, 2011

Done:

  • 7.0.1 Post Mortem
  • Hotfix planning work
  • Understanding the new mobile architecture
  • Problems with third party add-ons in Firefox 8
  • Default to compatible planning
  • Final draft of Q4 goals

Next:

  • Update module description for the Jetpack module
  • Fix third-party add-on detection problems

Tags: , ,

Comments Off

Categories: mozilla

Mossop Status Update: 2011-10-07

Posted: October 7th, 2011

Done:

  • Worked with the team to fix the version number problems with the last repacks
  • Security reviews for embedded add-on preferences and showing performance information to users
  • Working on Q4 goals for the team

Next:

  • Finalize Q4 goals
  • Update module description for the Jetpack module

Tags: , ,

Comments Off

Categories: mozilla

Mossop Status Update: 2011-09-02

Posted: September 2nd, 2011

Done:

  • Worked with the Jetpack drivers to come up with a new way to prioritise bugs
  • Talked over issues with add-on compatibility and version upgrades
  • Helped prepare a test plan for SDK repacks
  • Killed most of my review queue

Next:

  • Try to clear anything that is blocked on me before my vacation

Tags: , ,

1 Comment »

Categories: mozilla

Mossop Status Update: 2011-08-26

Posted: August 26th, 2011

Done:

  • Regular bug triage (epic bug triage deferred)
  • Tinkering with the Bugzilla APIs
  • Cleared out my inbox and review queues

Next:

  • Formalise priorities for the Jetpack team

Next week I'll probably be in and out randomly as relatives and friends are going to be in town

Tags: , ,

Comments Off

Categories: mozilla

Mossop Status Update: 2011-08-15

Posted: August 15th, 2011

Done:

  • Landed UI to allow users to check they have the add-ons they want on next upgrade (bug 596343)
  • Landed UI to allow users to confirm that they want third-party add-ons before they are enabled (bug 476430)
  • E10S planning

Next:

  • Fix test failures on aurora
  • Mobile planning

Tags: , ,

Comments Off

Categories: mozilla

Adding add-on preferences to the Add-ons Manager

Posted: July 7th, 2011

For some time now Firefox for mobile has had this nice feature where add-ons could embed their preferences right into the list of add-ons, no need to open a whole a new window like add-ons for desktop have to. During the development of Firefox 4 we were a little jealous of what the mobile team had done and so we drew up some ideas for how the same functionality would look on desktop. We didn’t get time to implement them then but I’m excited that someone from the community stepped up and implemented it for us. Not just that but he made the code shared between mobile and desktop, added some new option types and made it work fine for restartless add-ons which are unable to register their own chrome.

The basic idea is simple. Create a XUL file containing a list of <setting> elements. Different types of settings are possible, checkboxes, input boxes, menulists, buttons, etc. Each one shows up as a row in the details view for an add-on in the add-ons manager. The XUL file can either be just added to your XPI (call it options.xul) or referenced by the optionsURL option in your install.rdf.

Get it right and you’ll see something like this:

I want to thank Geoff Lankow (darktrojan on IRC) for his awesome work getting this done. This feature is now in the Aurora builds and it’d be great to get add-on developers playing with it. Geoff even wrote up some detailed docs to help you out.

As a bonus Geoff also implemented support for in-tab preferences. This makes Firefox load an add-ons options UI in a new tab instead of a new window. Setting the optionsType property to 3 enables this.

Tags: , , , ,

13 Comments »

Categories: mozilla