Cherry-pick WK147671: REGRESSION (r146580): Assertion using SecurityOrigin::create, URL string is not valid
Cherry-pick WK147671: REGRESSION (r146580): Assertion using SecurityOrigin::create, URL string is not valid

We shouldn't use ParsedURLString in SecurityOrigin::createFromDatabaseIdentifier
or SecurityOrigin::create, because "http://host:80/" is normalized to
"http://host/", so the string we generate in these methods isn't a parsed URL
string, and hits ASSERTions.

Patch by Alexey Proskuryakov <ap@webkit.org>. Originally landed as http://trac.webkit.org/r147671.

BUG=227273

Review URL: https://codereview.chromium.org/13786003

git-svn-id: bf5cd6ccde378db821296732a091cfbcf5285fbd@147798 bbb929c8-8fbe-4397-9dbb-9b2b20218538

Bysmyyr/blink-crosswalk,jtg-gg/blink,Bysmyyr/blink-crosswalk,smishenk/blink-crosswalk,PeterWangIntel/blink-crosswalk,jtg-gg/blink,hgl888/blink-crosswalk-efl,crosswalk-project/blink-crosswalk-efl,hgl888/blink-crosswalk-efl,smishenk/blink-crosswalk,smishenk/blink-crosswalk,kurli/blink-crosswalk,Bysmyyr/blink-crosswalk,XiaosongWei/blink-crosswalk,crosswalk-project/blink-crosswalk-efl,smishenk/blink-crosswalk,PeterWangIntel/blink-crosswalk,Bysmyyr/blink-crosswalk,nwjs/blink,hgl888/blink-crosswalk-efl,ondra-novak/blink,XiaosongWei/blink-crosswalk,jtg-gg/blink,jtg-gg/blink,hgl888/blink-crosswalk-efl,ondra-novak/blink,Pluto-tv/blink-crosswalk,modulexcite/blink,jtg-gg/blink,kurli/blink-crosswalk,Pluto-tv/blink-crosswalk,nwjs/blink,Bysmyyr/blink-crosswalk,hgl888/blink-crosswalk-efl,nwjs/blink,jtg-gg/blink,Bysmyyr/blink-crosswalk,crosswalk-project/blink-crosswalk-efl,XiaosongWei/blink-crosswalk,ondra-novak/blink,kurli/blink-crosswalk,hgl888/blink-crosswalk-efl,kurli/blink-crosswalk,XiaosongWei/blink-crosswalk,Bysmyyr/blink-crosswalk,ondra-novak/blink,Pluto-tv/blink-crosswalk,modulexcite/blink,PeterWangIntel/blink-crosswalk,Pluto-tv/blink-crosswalk,PeterWangIntel/blink-crosswalk,smishenk/blink-crosswalk,kurli/blink-crosswalk,crosswalk-project/blink-crosswalk-efl,PeterWangIntel/blink-crosswalk,ondra-novak/blink,kurli/blink-crosswalk,modulexcite/blink,modulexcite/blink,hgl888/blink-crosswalk-efl,hgl888/blink-crosswalk-efl,Pluto-tv/blink-crosswalk,smishenk/blink-crosswalk,modulexcite/blink,Bysmyyr/blink-crosswalk,Pluto-tv/blink-crosswalk,ondra-novak/blink,Bysmyyr/blink-crosswalk,hgl888/blink-crosswalk-efl,ondra-novak/blink,modulexcite/blink,jtg-gg/blink,PeterWangIntel/blink-crosswalk,jtg-gg/blink,kurli/blink-crosswalk,nwjs/blink,nwjs/blink,modulexcite/blink,nwjs/blink,kurli/blink-crosswalk,smishenk/blink-crosswalk,modulexcite/blink,XiaosongWei/blink-crosswalk,Bysmyyr/blink-crosswalk,PeterWangIntel/blink-crosswalk,PeterWangIntel/blink-crosswalk,Pluto-tv/blink-crosswalk,PeterWangIntel/blink-crosswalk,nwjs/blink,ondra-novak/blink,hgl888/blink-crosswalk-efl,Pluto-tv/blink-crosswalk,modulexcite/blink,ondra-novak/blink,crosswalk-project/blink-crosswalk-efl,nwjs/blink,XiaosongWei/blink-crosswalk,jtg-gg/blink,modulexcite/blink,kurli/blink-crosswalk,nwjs/blink,XiaosongWei/blink-crosswalk,crosswalk-project/blink-crosswalk-efl,nwjs/blink,XiaosongWei/blink-crosswalk,Pluto-tv/blink-crosswalk,jtg-gg/blink,crosswalk-project/blink-crosswalk-efl,XiaosongWei/blink-crosswalk,smishenk/blink-crosswalk,smishenk/blink-crosswalk,kurli/blink-crosswalk,Pluto-tv/blink-crosswalk,smishenk/blink-crosswalk,crosswalk-project/blink-crosswalk-efl,crosswalk-project/blink-crosswalk-efl,XiaosongWei/blink-crosswalk,PeterWangIntel/blink-crosswalk