Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need to clean up temporary XPI files. #1

Open
ndanner-wesleyancs opened this issue Jun 12, 2024 · 1 comment
Open

Need to clean up temporary XPI files. #1

ndanner-wesleyancs opened this issue Jun 12, 2024 · 1 comment
Assignees

Comments

@ndanner-wesleyancs
Copy link
Owner

It looks like geckodriver does not clean up the temporary copy of the extension XPI file that it creates when it is installed. That results in a copy of the file being left in /tmp for every browser that is run. This needs a workaround.

See https://gitlab.com/ajacewicz/similarity_phish_detect/-/issues/10 for preliminary discussion (the problem was discovered while developing that crawl infrastructure), and openwpm#1090 for the issue on the main OpenWPM repo. I'm using this issue for recording my work on it.

@ndanner-wesleyancs
Copy link
Owner Author

Looks like shutdown_browser is not called if there is a problem during the site visit, so that isn't a good place to delete the temporary directory. But close_browser_manager is called, so maybe that is a better place. But then why is the profile directory deleted in shutdown_browser? And how is it getting deleted under the same circumstances?

@ndanner-wesleyancs ndanner-wesleyancs self-assigned this Jun 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant