Closed
Bug 1990793
Opened 11 months ago
Closed 7 months ago
Live policies proper application
Categories
(Enterprise Products :: Firefox, task)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: gerard-majax, Assigned: gerard-majax)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
When live policies has been prototypes, a new observer was added EnterprisePolicies:Activate that will blindly run all policies callbacks. This may be a problem if we run them at the early startup phase before the expected observer event has been sent.
STR was:
{
"policies": {
"BlockAboutConfig": true,
"DisableFirefoxScreenshots": true,
"ExtensionSettings": {
"{a3331e55-214f-49f8-a9d8-0ab78558885f}": {
"installation_mode": "force_installed",
"install_url": "https://addons.mozilla.org/firefox/downloads/file/4289501/aurora_ray_lights-1.0.xpi",
"updates_disabled": true
}
}
}
}
to serve an XPI to install. This would fail because this policy depends on onBeforeUIStartup which is run only when final-ui-startup has been received
Proper solution would be to just schedule those calls for later, when it's too early. But for later calls to apply the policy it should be fine to run directly
| Assignee | ||
Comment 1•11 months ago
|
||
Assignee: nobody → lissyx+mozillians
| Assignee | ||
Comment 2•11 months ago
|
||
This was fixed by merging this PR
Updated•9 months ago
|
Group: firefox-enterprise
| Assignee | ||
Comment 3•7 months ago
|
||
Status: NEW → RESOLVED
Closed: 7 months ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•