Reviewed by Richard.
authormjs <mjs@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 18 Nov 2004 02:48:09 +0000 (02:48 +0000)
committermjs <mjs@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 18 Nov 2004 02:48:09 +0000 (02:48 +0000)
commitc004a41031b7dfa78aaf6a94064ccd002113024b
treeae8db74848fada40f2404b2ecb7016888e64726e
parentc3f0fbef59f458e1e0ad27f5119dc6ef59e3db4c
    Reviewed by Richard.

<rdar://problem/3885076> Don't make IDN calls for all-ascii URLs to save about 3 pages
at Safari startup.

        * Misc.subproj/WebNSURLExtras.m:
        (mapHostNames): If encoding and not decoding, then bail early if the URL is all ascii.
        (-[NSString _web_mapHostNameWithRange:encode:makeString:]): Remove earlier special-case
check for localhost, no longer needed.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@8032 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebKit/ChangeLog
WebKit/Misc.subproj/WebNSURLExtras.m