Closed Bug 1765750 Opened 2 years ago Closed 2 years ago

Stop using global this in UrlClassifierLib.jsm

Categories

(Toolkit :: General, task)

task

Tracking

()

RESOLVED FIXED
101 Branch
Tracking Status
firefox101 --- fixed

People

(Reporter: arai, Assigned: arai)

References

(Blocks 1 open bug)

Details

Attachments

(2 files)

toolkit/components/url-classifier/UrlClassifierLib.jsm uses the per-JSM global this to pass functions to the XPCOM consumer.
It's not necessarily be the global this object, but we can have separate object.

Product: Firefox → Toolkit
Pushed by arai_a@mac.com:
https://hg.mozilla.org/integration/autoland/rev/daa0037cc772
Part 1: Stop exposing the global this object in UrlClassifierLib.jsm. r=gcp
https://hg.mozilla.org/integration/autoland/rev/9e8c4348b179
Part 2: Stop using global this in UrlClassifierListManager.jsm. r=gcp
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 101 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: