[Webkit-unassigned] [Bug 15313] Same-origin check wrong when document.domain set

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Sep 28 18:26:58 PDT 2007


http://bugs.webkit.org/show_bug.cgi?id=15313


hk9565 at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #16438|0                           |1
        is obsolete|                            |




------- Comment #2 from hk9565 at gmail.com  2007-09-28 18:26 PDT -------
Created an attachment (id=16439)
 --> (http://bugs.webkit.org/attachment.cgi?id=16439&action=view)
Improved patch

There was a mistake in my previous patch.  The host check should only occur if
both pages have not set their document.domain.  Also moved that check first for
performance (as it is the common case).


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



More information about the webkit-unassigned mailing list