Remove DOM window URI check

Per discussion in #2937