Closed Bug 1774566 Opened 2 years ago Closed 2 years ago

Unnecessary 2nd argument for ChromeUtils.import in layout/tools/reftest/manifest.jsm

Categories

(Core :: XPConnect, task)

task

Tracking

()

RESOLVED FIXED
103 Branch
Tracking Status
firefox103 --- fixed

People

(Reporter: arai, Assigned: arai)

References

Details

Attachments

(1 file)

https://searchfox.org/mozilla-central/rev/ec3889f74d6b5695833280f4370ca0e9ba59a3e4/layout/tools/reftest/manifest.jsm#32

} = ChromeUtils.import("resource://reftest/globals.jsm", this);

The 2nd argument isn't necessary (my mistake) given the returned value is explicitly assigned.

Pushed by arai_a@mac.com: https://hg.mozilla.org/integration/autoland/rev/58c9770be1b1 Remove unnecessary 2nd parameter from ChromeUtils.import in layout/tools/reftest/manifest.jsm. r=mossop
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: