W3C home > Mailing lists > Public > whatwg@whatwg.org > December 2008

[whatwg] DOM-related and API-related feedback

From: Jonas Sicking <jonas@sicking.cc>
Date: Sun, 28 Dec 2008 20:44:17 +0100
Message-ID: <63df84f0812281144g6b95c4eeu6afe016d2b572f6b@mail.gmail.com>
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

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:46 UTC