Closed Bug 2051089 Opened 5 months ago Closed 5 months ago

ExtensionSettings no longer work

Categories

(Firefox :: Enterprise Policies, defect)

Firefox 154
defect

Tracking

()

RESOLVED FIXED
154 Branch
Tracking Status
firefox-esr140 --- unaffected
firefox-esr153 --- fixed
firefox152 --- unaffected
firefox153 --- unaffected
firefox154 --- fixed

People

(Reporter: nyanbinary, Assigned: mkaply)

References

(Regression)

Details

(Keywords: regression)

Attachments

(2 external files)

It seems this regressed ExtensionSettings specifically as now I'm getting "Invalid parameters specified for ExtensionSettings." I tried turning on the debug logs option in about:config to get more information but it doesn't seem to show more information.

Flags: needinfo?(mozilla)
Keywords: regression
OS: Unspecified → All
Regressed by: 2044429
Hardware: Unspecified → All

That's really odd since we have so many tests that test extension settings

how are you setting them? (gpo, Json, Mac)

would you mind posting your exact extension settings?

Flags: needinfo?(mozilla)

I just ran some local tests using GPO and everything is working.

Flags: needinfo?(nyanbinary)

The compliant validator throws (rather than returning invalid) for some inputs
such as an undefined value, which previously escaped _activatePolicies and
aborted all policy processing with nothing logged. Fail just that policy
instead, report a clean message for unparseable JSON, log the validator's
field-located error, and reword the ExtensionSettings handler message so it
no longer implies the whole policy was rejected when only part failed.

Assignee: nobody → mozilla
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true

Set release status flags based on info from the regressing bug 2044429

Pushed by mozilla@kaply.com: https://github.com/mozilla-firefox/firefox/commit/5fa7cbc2b296 https://hg.mozilla.org/integration/autoland/rev/db2777e0f99e Surface enterprise policy validation errors and keep one bad value from aborting the engine. r=apieper
Status: ASSIGNED → RESOLVED
Closed: 5 months ago
Resolution: --- → FIXED
Target Milestone: --- → 154 Branch

Thanks for this figured out menubar as a proper area was renamed to menupanel with this change! Sorry for the wrong bug report!

Flags: needinfo?(nyanbinary)

Thanks for this figured out menubar as a proper area was renamed to menupanel with this change! Sorry for the wrong bug report!

Thank you! I wouldn't have noticed the error logging was worse.

Glad it was able to help you!

And yeah, we use navbar and menupanel for Firefox (to match some internal stuff).

QA Whiteboard: [qa-triage-done-c155/b154]

The compliant validator throws (rather than returning invalid) for some inputs
such as an undefined value, which previously escaped _activatePolicies and
aborted all policy processing with nothing logged. Fail just that policy
instead, report a clean message for unparseable JSON, log the validator's
field-located error, and reword the ExtensionSettings handler message so it
no longer implies the whole policy was rejected when only part failed.

Original Revision: https://phabricator.services.mozilla.com/D309407

Attachment #9620605 - Flags: approval-mozilla-esr153?

firefox-esr153 Uplift Approval Request

  • User impact if declined/Reason for urgency: Policy schema update from bug 2044429 doesn't show good errors.
  • Code covered by automated testing?: yes
  • Fix verified in Nightly?: yes
  • Needs manual QE testing?: no
  • Steps to reproduce for manual QE testing:
  • Risk associated with taking this patch: low
  • Explanation of risk level: Policy only
  • String changes made/needed?: None
  • Is Android affected?: no
Flags: in-testsuite+
Attachment #9620605 - Flags: approval-mozilla-esr153? → approval-mozilla-esr153+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: