Closed Bug 599084 Opened 15 years ago Closed 15 years ago

Work-around bug 313700 for auto-updates to make flash-check report the right value

Categories

(Camino Graveyard :: Plug-ins, defect)

All
macOS
defect
Not set
minor

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: alqahira, Assigned: stuart.morgan+bugzilla)

References

Details

(Whiteboard: [camino-2.0.5])

Attachments

(1 file)

(In reply to bug 514815 comment #45) > So, this is really going to suck for users due to bug 313700 :( (it hit me > tonight, and made me question my sanity, or my ability to do math). (In reply to bug 514815 comment #47) > To summarize from irc: for whatever reason, sometimes pluginreg.dat just never > updates. (In my case, I had physically removed the old Flash and installed the > new one, so no matter what the "do-i-rebuild?" code was checking, it should > have seen new timestamps.) In this case, the bad data could persist through > the next Camino update, which would cause the user to see an incorrect warning. > > Stuart suggested we could touch a bundle wrapper directory on quit for an > autoupdate (but that wouldn't solve my problem), or nuke pluginreg.dat before > autoupdates (which would be a bit sketchy, but maybe better than nothing).
Flags: camino2.0.5?
Attached patch workaroundSplinter Review
Delete pluginreg.dat on pre-auto-update-quit. This isn't perfect, since it won't help manual updaters, but I feel a lot better about nuking a file during shutdown than I do nuking it after Gecko has started up (although it would *probably* work out in this case, since I think it's not read in until something uses plugins). Hopefully most people are auto-updating :)
Attachment #478168 - Flags: superreview?(mikepinkerton)
Assignee: nobody → stuart.morgan+bugzilla
Comment on attachment 478168 [details] [diff] [review] workaround + // Partially hack around bug 313700 (pluginreg.dat not udpating). Since our s/udpating/updating
Comment on attachment 478168 [details] [diff] [review] workaround sr=pink
Attachment #478168 - Flags: superreview?(mikepinkerton) → superreview+
Status: NEW → RESOLVED
Closed: 15 years ago
Flags: camino2.0.5? → camino2.0.5+
Resolution: --- → FIXED
CAMINO_2_0_BRANCH for 2.0.5.
Whiteboard: [camino-2.0.5]
For historical reference, we fixed this in a more comprehensive way in bug 740620.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: