Bugs involving multiple extensions

I thought bug 324586: browser.xul leaks (with Flashgot & Adblock Filterset.G Updater installed) was notable for involving multiple extensions. Then I saw bug 325279: Firefox 1.6a1 crash on exit, which requires a combination of four extensions.

I wonder whether these are bugs in the extensions, bugs in Firefox that are tickled by extensions, or problems where the extensions interfere with each other directly (such as two extensions having global variables in browser.xul overlays with the same name).

7 Responses to “Bugs involving multiple extensions”

  1. shaver Says:

    You have a busted link to dbaron’s site, though a .argh TLD is something that I could get behind these days.

  2. monk.e.boy Says:

    > (such as two extensions having global variables
    > in browser.xul overlays with the same name)

    Wouldn’t this raise an exception, or at least a warning?

    monk.e.boy

  3. Jesse Ruderman Says:

    Link fixed. Thanks, Shaver.

    monk.e.boy, it would raise an exception, but things being broken would be the most visible result. I’m not sure how much would break.

  4. Villa Says:

    Shouldn’t there be a standard for global variables inside extensions to avoid these problems? Maybe some packaging convention?

  5. Ted Mielczarek Says:

    Wow. Also, in his first comment, he says he uses *51* extensions. That’s crazy.

    Villa:

    Should there be? Yes. Is it enforceable the way things are currently? No.

  6. Jesse Ruderman Says:

    Some extensions wrap everything in an anonymous function (like in bookmarklets) or in a “class” to limit their impact on the global variable namespace in browser.xul.

  7. Shawn Wilsher Says:

    It would be great if Firefox gave each extension its own ‘sandbox’ so this could be easily avoidable. If someone were to branch off of your extension, but leave all the function names the same, it can completely kill your extension or theirs depending on the order in which they are installed.