Bug 1107255-Fix tested Loop callers of window.close to use WindowCloseMixin, r=NiKo`