[Webkit-unassigned] [Bug 14566] Changing document.domain does not raise javascript exception

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Sep 8 11:52:10 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=14566





--- Comment #11 from Yuan Song <song.yuan at ericsson.com>  2009-09-08 11:52:09 PDT ---
(In reply to comment #10)
> The patch looks good, but I don't see an answer to the "Have you tested IE?"
> question.

I answered it briefly in Comment #6. However, I've tested IE7 and IE8. Both of
them only allow to set document.domain to either the same domain as that of the
page (i.e. bugs.webkit.org to bugs.webkit.org) or the super domain (i.e.
bugs.webkit.org to webkit.org). Otherwise, an "Invalid argument" exception is
thrown. Furthermore, in case of IE8, the exception "This method can't be used
in this context." is thrown if I try to set document.domain to any value in a
local html file.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list