Test this within an iframe from different domains - domain.test and outer.domain.test
show document.domain
test accessing parent domain