Web Activities is creating an nsIActivityManager, it's going to collide with Thunderbird's mail/components/activity/nsIActivityManager.idl

Andrew Sutherland asutherland at asutherland.org
Wed Jul 18 05:25:25 UTC 2012


https://bugzilla.mozilla.org/show_bug.cgi?id=715814 is implementing web 
activities.  It introduces an nsIActivityManager idl file (the part 4 
patch).  I assume this will end up being a problem for the various JS 
code that just references it via Components.interfaces. I find it hard 
to make a case for the patches changing their name.

Since the Thunderbird activity manager is effectively unowned right now, 
I'm sending an email rather than filing a bug because I'm not sure there 
would be anyone to see the bug.

In retrospect, once comm-central got forked off, we probably should have 
claimed our own prefix-space.  tbIActivityManager looks dumb. I think 
rkent has abandoned skink, but skIActivityManager is pretty cool.  I 
suppose nsITBActivityManager is also workable...

NB: "moz" is not a good prefix because mozilla-central is using that 
already, so that's just another source of potential collisions.

Andrew



More information about the tb-planning mailing list