Closed Bug 1775250 Opened 2 years ago Closed 2 years ago

Do not define lazy getter for XPCOMUtils

Categories

(Core :: WebRTC, task)

task

Tracking

()

RESOLVED FIXED
103 Branch
Tracking Status
firefox103 --- fixed

People

(Reporter: arai, Assigned: arai)

References

Details

Attachments

(1 file)

XPCOMUtils is known to be loaded early in the startup process, and not necessarily be a lazy getter.

https://searchfox.org/mozilla-central/rev/b1a5802e0f73bfd6d2096e5fefc2b47831a50b2d/browser/modules/webrtcUI.jsm#28-32

ChromeUtils.defineModuleGetter(
  lazy,
  "XPCOMUtils",
  "resource://gre/modules/XPCOMUtils.jsm"
);
Pushed by arai_a@mac.com:
https://hg.mozilla.org/integration/autoland/rev/a334eebc2e9f
Do not define XPCOMUtils as lazy getter. r=Gijs
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 103 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: