This test currently fails because we check the port and protocol even if document.domain is explicitly set (rdar://problem/5366437).