Bug 1528978 Comment 1 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

I'd say a simple piece of migratory code somewhere in startup-proximity that does the following:

```
if (Services.prefs.prefHasUserValue("extensions.fxmonitor.warnedHosts") {
  migratePrefToContentPrefs();
  Services.prefs.clearUserPref("extensions.fxmonitor.warnedHosts");
}
```

should do the trick :)

That really doesn't look too hacky to me. We could probably remove the migratory code at some point, though there's no real harm in leaving it in as long as we think is appropriate.

Does that sound good to you?
I'd say a simple piece of migratory code somewhere in startup-proximity that does the following:

```
if (Services.prefs.prefHasUserValue("extensions.fxmonitor.warnedHosts")) {
  migratePrefToContentPrefs();
  Services.prefs.clearUserPref("extensions.fxmonitor.warnedHosts");
}
```

should do the trick :)

That really doesn't look too hacky to me. We could probably remove the migratory code at some point, though there's no real harm in leaving it in as long as we think is appropriate.

Does that sound good to you?

Back to Bug 1528978 Comment 1