- From: Jonas Sicking <jonas@sicking.cc>
- Date: Sun, 28 Dec 2008 20:44:17 +0100
On Sun, Dec 28, 2008 at 6:22 PM, Adam Barth <whatwg at adambarth.com> wrote: >> On Fri, 13 Jun 2008, Adam Barth wrote: >>> 3) The document's origin and effective script origin become the origin >>> and the effective script origin of the currently executing script. >>> (Note: actually, the origins are aliased, as in the about:blank case, so >>> that changes to one of the document's document.domain property affects >>> the other.) >> >> Does the aliasing happen with all browsers? > > Test case: http://www.webblaze.org/tests/alias/ > > Browsers that alias: Firefox 3, Safari 3.1.2, Chrome. > Browsers that do not alias: Internet Explorer 7, Opera 9.5.2 > > This looks like a Firefox-ism that I copied into WebKit. We added > aliasing to WebKit because, without it, we failed a regression test. > I'll investigate whether that test is based on a real web site. Jonas > has previously said he thinks the aliasing is important for web > compatibility. Jonas, do you know of actual web sites that will break > if we follow the current HTML 5 text? I don't know of any websites unfortunately. I've cc'ed Boris who might know. In general, if IE doesn't do it it seems unlikely that many sites depend on it. / Jonas
Received on Sunday, 28 December 2008 11:44:17 UTC