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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Sep 21 01:58:42 PDT 2009


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


Yuan Song <song.yuan at ericsson.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #39843|                            |review?
               Flag|                            |
  Attachment #39180|0                           |1
        is obsolete|                            |




--- Comment #18 from Yuan Song <song.yuan at ericsson.com>  2009-09-21 01:58:40 PDT ---
Created an attachment (id=39843)
 --> (https://bugs.webkit.org/attachment.cgi?id=39843)
Patch to raise SECURITY_ERR exception if an attempt is made to change
document.domain to an invalid value ("document.domain" is not set to
"mydummydomain" any more in fast/forms/basic-textareas.html)

In this new patch, "document.domain" is not set to "mydummydomain" any more in
fast/forms/basic-textareas.html. It looks to me that it's faulty and not
necessary. Because "document.domain" is set to "layouttests" if a local html
file is launched by DumpRenderTree, so the access to the iframe is allowed
anyway. Running this modified basic-textarea.html in DumpRenderTree gives
exactly the same output as the original one. The test is conducted in WebKit
gtk port in Ubuntu. I'm now trying to borrow a Mac to verify it.

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