Closed Bug 1813377 Opened 1 year ago Closed 1 year ago

Clean up XPCNativeWrapper globals handling for ESLint.

Categories

(Core :: XPConnect, task)

task

Tracking

()

RESOLVED FIXED
111 Branch
Tracking Status
firefox111 --- fixed

People

(Reporter: standard8, Assigned: standard8)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Currently ESLint defines XPCNativeWrapper as a global for tests, but not for privileged code. This appears to be incorrect.

However, given bug 1481337, I think it might be worth not defining this as a general global, but only defining it where used and adding references to that bug.

PCNativeWrapper may be going away (bug 1481337). Stop defining it in the main environments and only define it
where necessary to discourage more uses.
This also helps to clarify the ESLint test environment globals.

Pushed by mbanner@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/6002fda7615c
Clean up XPCNativeWrapper globals handling for ESLint. r=mccr8
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 111 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: