Closed Bug 1795164 Opened 3 years ago Closed 3 years ago

Remove Cu.generateXPCWrappedJS

Categories

(Core :: XPConnect, task)

task

Tracking

()

RESOLVED FIXED
107 Branch
Tracking Status
firefox107 --- fixed

People

(Reporter: kmag, Assigned: kmag)

Details

Attachments

(1 file)

It doesn't have any reasonable uses except (somewhat) in the test it was originally added for. But that test doesn't exist anymore, and it is now only used to awkwardly get the debug name of functions for the timer code. We should just replace it with a method to get that name directly.

The only remaining user of this function uses it as an awkward way to get the
debug name of a timer callback function. We should just provide it with a
straightforward way to do that instead.

Pushed by maglione.k@gmail.com: https://hg.mozilla.org/integration/autoland/rev/114742d0b37f Replace Cu.generateXPCWrappedJS with Cu.getDebugName. r=mccr8
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 107 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: