[Webkit-unassigned] [Bug 15100] XMLHttpRequest::urlMatchesDocumentDomain raises error if port information does not match exactly

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jun 11 00:24:41 PDT 2008


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


abarth at webkit.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |abarth at webkit.org




------- Comment #15 from abarth at webkit.org  2008-06-11 00:24 PDT -------
> I've added a new patch, based on the original, rejected patch, to fix this bug.
> I'm not particularly fluent in C++, so please excuse any obvious mistakes.

We have some good technology for doing these kinds of comparisons.  You should
take the document's securityOrigin property and call it's isSameSchemeHostPort
method to compare with the target URL (which you should parse into a
SecurityOrigin).


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