constructor(window = globalThis.window, document = globalThis.document) {
        this.window = window;
        this.document = document;
    }
@param {ExtendedWindow} [window]
@param {Document} [document]