Origins with invalid ports are not marked as unique (118652)
authorjonlee@apple.com <jonlee@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 15 Jul 2013 06:11:14 +0000 (06:11 +0000)
committerjonlee@apple.com <jonlee@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 15 Jul 2013 06:11:14 +0000 (06:11 +0000)
commitd2634cc3b4a93c40f6a79e36d18abb4b1fbd8ec4
tree985fc5695e819e1cfadb07408ccaec7b04c10bc5
parent7386fe4c7542c7ea380bc13dc8fccd78047b01bc
Origins with invalid ports are not marked as unique (118652)
https://bugs.webkit.org/show_bug.cgi?id=118652
<rdar://problem/14437753>

Reviewed by Sam Weinig.

* page/SecurityOrigin.cpp:
(WebCore::SecurityOrigin::create): Return a unique origin if the port is out of range.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@152623 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/page/SecurityOrigin.cpp