Add self.queueMicrotask(f) on DOMWindow