I would suggest use use of weak maps + `Cu.nondeterministicGetWeakMapKeys()` to avoid tracking windows etc. Plus global already has a reference to a window it's attached to.