Skip to content
This repository has been archived by the owner on Nov 10, 2017. It is now read-only.

b2g profile needs to be moved outside of extension install root #872

Open
kmaglione opened this issue Dec 3, 2013 · 1 comment
Open

Comments

@kmaglione
Copy link

The simulator currently runs b2g using a profile directory stored directly under its install root. There are several problems with this:

  1. Changing the modification time of an extension's install root has been known to cause problems with the add-on manager in the past.

  2. Any time a file within an extension install root is modified, the startup cache is flushed, and every time the simulator runs, files are modified.

  3. At the moment, the add-on manager stats every file in an unpacked extension at startup. Given the number of files in a b2g profile, it has a significant performance cost.

We also have a policy on AMO that forbids add-ons from modifying files within their install root.

@mykmelez
Copy link
Contributor

mykmelez commented Dec 3, 2013

cc: @ochameau

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants