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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Sep 25 04:51:36 PDT 2009


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





--- Comment #26 from Yuan Song <song.yuan at ericsson.com>  2009-09-25 04:51:34 PDT ---
(In reply to comment #25)

I can't see that it does. The first if statement of Document::setDomain returns
silently (no exception thrown) if the new and old domain are the same, as
expected. This check was already there.

I verified manually that re-setting the same domain doesn't throw any exception
in my build of WebKit. I also verified that IE, Firefox, and Opera behave the
same way.

-- 
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