Fix dijit Editor in cross-domain pages with document.domain set

Fixes #17529.