Open Bug 1183185 Opened 9 years ago Updated 2 years ago

Handle old permissions database schemas better in mozprofile

Categories

(Testing :: Mozbase, defect)

defect

Tracking

(Not tracked)

People

(Reporter: nika, Unassigned)

References

Details

In testing, permissions are granted for a variety of different URIs, with varying schema, and ports. The permission database before bug 1165263 lands did not care about port and scheme, while after it lands it will. This means that permissions databases for testing generated with an old schema will not upgrade correctly into the new schema.

Currently, tests are run with fresh profiles, and so this should not be a problem. However, for correctness, it may make sense to nuke the moz_hosts database in mozprofile if an old database schema is found.
You might also stumble across weird legacy stuff like "file://".
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.