"Clear Flash Cookies" extension no longer clears Flash plugin data (removePluginData) on Firefox startup
Categories
(WebExtensions :: General, defect, P5)
Tracking
(firefox-esr68 wontfix, firefox75 wontfix, firefox76 wontfix, firefox77 wontfix, firefox78 wontfix)
People
(Reporter: cpeterson, Unassigned)
References
(Regression)
Details
(Keywords: regression)
I wrote a "Clear Flash Cookies" extension to delete Flash "super cookies" (Local Shared Objects). The extension calls the browsingData.removePluginData()
WebExtension API in three different cases:
- When the extension is enabled (either on first installation or re-enabled).
- When the last open window is closed. That's easy to do on Mac. On Windows, closing the last window quits the app. You can work around that by opening the Browser Console window and then closing all the other browser windows.
- On Firefox startup (after a three second delay to avoid janking startup).
removePluginData()
works correctly for case #1 and #2, but not #3 on startup. I don't know if this is a problem specifically with removePluginData()
on startup or a general problem about running extension code during startup. This could also be a Flash Player bug during Firefox or plugin process startup.
My extension's code is on GitHub:
https://github.com/cpeterso/clear-flash-cookies/blob/master/src/background.js
Steps to reproduce
- Load Adobe's Flash Settings Manager page to view and delete any pre-existing Shared Objects.
- Load permadi.com's Flash Shared Object demo and run the Flash content to write and read some Shared Objects.
- Re-load Adobe's Flash Settings Manager page to see the new "permadi.com" Shared Object.
- Now install my "Clear Flash Cookies" extension.
- Re-load Adobe's Flash Settings Manager and you will see the "permadi.com" Shared Object has been deleted.
- Re-load permadi.com's Flash Shared Object demo and create a new Shared Object.
- Re-load Adobe's Flash Settings Manager and you will see the "permadi.com" Shared Object has been recreated.
- Quit and restart Firefox.
- Re-load Adobe's Flash Settings Manager.
Expected result
The "permadi.com" Shared Object should have been auto-deleted three seconds after Firefox startup.
Actual result
The "pemadi.com" Shared Object still exists.
Comment 1•3 years ago
|
||
Bugbug thinks this bug should belong to this component, but please revert this change in case of error.
Reporter | ||
Comment 2•3 years ago
|
||
(In reply to Release mgmt bot [:sylvestre / :calixte / :marco for bugbug] from comment #1)
Bugbug thinks this bug should belong to this component, but please revert this change in case of error.
I think this bug first needs some WebExtension investigation of extension startup initialization before concluding it's a Plug-ins bug. Moving back to the WebExtensions component from Core::Plugin-ins.
Comment 3•3 years ago
|
||
Hi,
I was able to reproduce this issue on Windows 10 with Firefox version Nightly 77.0a1 (2020-04-21) (64-bit) - Beta 76.0b6 (64-bit) - Release 75.0 (64-bit). I'm setting component to WebExtensions - General.
Thanks.
Comment 4•3 years ago
|
||
Augusto, can you please find the regression window for this?
Comment 5•3 years ago
|
||
Krupa, can you please forward this to the right person.
Reporter | ||
Comment 6•3 years ago
|
||
Note that Firefox will EOL Flash plugin support in December 2020 (Firefox 84). If this bug is only about Firefox or Flash not deleting plugin data, fixing it is probably not worth the trouble. But we should probably first verify that this bug is not a general problem when trying to run extension code during Firefox startup.
Comment 7•3 years ago
|
||
Alex, can you take a look pls? Thanks
Comment 8•3 years ago
|
||
Hello ,
I performed a bisection for this issue with the following results :
2020-05-18T15:04:17: DEBUG : Found commit message:
Bug 1541344 - Delete plugin-data only for the sites with data,r=gsvelto
Thanks,
Victor
Reporter | ||
Comment 9•3 years ago
|
||
(In reply to Victor Carciu from comment #8)
I performed a bisection for this issue with the following results :
2020-05-18T15:04:17: DEBUG : Found commit message:
Bug 1541344 - Delete plugin-data only for the sites with data,r=gsvelto
Thanks, Victor! That bug certainly looks related. :)
The code change added an if (tag.loaded)
check. Perhaps there is a race condition on browser startup where the plugins haven't been loaded yet?
https://hg.mozilla.org/mozilla-central/rev/225c129a3f3e
Since the regressing code change is specific to plugins, and given that Firefox will drop Flash support in Fx84 (October Nightly), I don't think anyone should invest any more time debugging or fixing this bug. But I'll leave the decision to WONTFIX this bug or not to you all.
Updated•3 years ago
|
Comment 10•3 years ago
|
||
The severity field is not set for this bug.
:mixedpuppy, could you have a look please?
For more information, please visit auto_nag documentation.
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
![]() |
||
Comment 11•2 years ago
|
||
Adobe Flash is no longer supported.
Updated•2 years ago
|
Description
•