67ef721c85
The previous commit left one code path un-converted to globalThis. That exposed a bug in Karma: Karma loads jasmine-core via <script type="module"> even though it's not an ES module. In ES modules, the value of `this` outside of a method is undefined rather than window. The Angular dev tools try to work around that bug by monkey-patching window to look like GJS's window object, which worked until the GJS hack was removed in the previous commit.