Bug 1795164: Replace Cu.generateXPCWrappedJS with Cu.getDebugName. r=mccr8
commit242c704d1048a4d88167cf65856cf807504cd3ce
authorKris Maglione <maglione.k@gmail.com>
Fri, 14 Oct 2022 22:49:20 +0000 (14 22:49 +0000)
committerKris Maglione <maglione.k@gmail.com>
Fri, 14 Oct 2022 22:49:20 +0000 (14 22:49 +0000)
tree7b8706e4dde92f77121a38a050c961ea238c8cc0
parentdd7b52f2f0976c6133a6f93adb3d07fadc2fcebe
Bug 1795164: Replace Cu.generateXPCWrappedJS with Cu.getDebugName. r=mccr8

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.

Differential Revision: https://phabricator.services.mozilla.com/D159335
js/xpconnect/idl/xpccomponents.idl
js/xpconnect/src/XPCComponents.cpp
js/xpconnect/src/XPCWrappedJSClass.cpp
js/xpconnect/src/nsXPConnect.cpp
js/xpconnect/src/xpcpublic.h
toolkit/modules/Timer.jsm