This should say `window.document.domain`.