Closed Bug 1789285 Opened 3 years ago Closed 3 years ago

Incorrect call to log in Policies.jsm

Categories

(Firefox :: Enterprise Policies, defect)

defect

Tracking

()

RESOLVED FIXED
106 Branch
Tracking Status
firefox-esr91 --- unaffected
firefox-esr102 --- unaffected
firefox104 --- wontfix
firefox105 --- fixed
firefox106 --- fixed

People

(Reporter: standard8, Assigned: standard8)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

Whilst working on Policies.jsm I noticed that there is a global definition for ESLint that is wrong - it defines log as a global, but that is not available. It should be using lazy.log.

This would only show up if ExpireAtSessionEnd was defined in a enterprise policy, it would likely cause the rest of the Cookie policy to not be applied.

This was caused by bug 1764761 which probably happened around the time of the module changes.

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

Pushed by mbanner@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/8704795182d2 Fix incorrect log call in Policies.jsm. r=mkaply

Comment on attachment 9293170 [details]
Bug 1789285 - Fix incorrect log call in Policies.jsm. r?mkaply

Beta/Release Uplift Approval Request

  • User impact if declined: If a enterprise policy is using the now deprecated ExpireAtSessionEnd field for a cookie, then processing of cookies related policies may fail and stop.
  • Is this code covered by automated tests?: No
  • Has the fix been verified in Nightly?: Yes
  • Needs manual test from QE?: No
  • If yes, steps to reproduce:
  • List of other uplifts needed: None
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): Correction for a console logging call.
  • String changes made/needed:
  • Is Android affected?: No
Attachment #9293170 - Flags: approval-mozilla-beta?
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 106 Branch

Comment on attachment 9293170 [details]
Bug 1789285 - Fix incorrect log call in Policies.jsm. r?mkaply

Approved for 105.0b9.

Attachment #9293170 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: