Closed Bug 408099 Opened 17 years ago Closed 17 years ago

Installing Flashgot extension causes Firefox app to hang on restart

Categories

(Firefox :: Extension Compatibility, defect)

PowerPC
macOS
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 400227

People

(Reporter: marcia, Unassigned)

Details

Attachments

(1 file)

Seen while testing Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10.5; en-US; rv:1.9b2) Gecko/2007121014 Firefox/3.0b2.

STR:
1. Install the latest version of Flashgot (FlashGot 0.7).
2. Restart using the button in Add Ons Manager

Expected: Firefox restarts normally.
Actual: The app hangs, and I get an alert on Leopard asking me to approve that Flashgot has been downloaded from the internet.

Bad user experience since it is not really clear to tell why the app is hanging.
Summary: Flashgot extension causes Firefox app to hang → Installing Flashgot extension causes Firefox app to hang on restart
I believe what is happening is that flashgot is attempting to run some executable on startup. The warning comes up I think because Leopard believes that files created by us are downloaded and so potentially a problem. Nice for downloads, bad here. Apparently Apple did something hardcoded into the OS to make this the case?
Can you take a screenshot of the dialog? I just want to make sure that we are talking about the same dialog.

If this is the case that the OS is marking extensions and themes we are downloading as quarantined, perhaps we should explicitly opt-OUT of automatic quarantine marking, and do all of the quarantine marking ourselves.

Mark, what do you think?
Attached image screenshot
This is the dialog you get.

This is a different case to the majority of add-ons though. It isn't just that we have downloaded and installed flashgot. Mao can explain better exactly what it does but on first run Flashgot extracts an executable into the profile folder and runs it. It is this run that is getting warned about.
An even worse variant of this had already been reported just before Leopard was released, and it's been sort of worked around in FlashGot by creating an immutable "executable" (a shell script launcher, actually) only once, first time is installed. Before this work around, the warning was displayed on every startup.
Anyway I suspect every extension which uses nsIProcess.run on a bundled file would pop up the same warning, just because the extension package (and thus the bundled file) appears to be created by Firefox (i.e. downloaded).
Look at the discussion of bug 400227 for more details (is this a duplicate?)
Duping this - it is the same general bug. In my case since the dialogs came up behind the app, it was causing me to hammer on the Firefox icon and then end up force quitting the app.
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.