LayoutTests:
authoradele <adele@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 3 Jul 2007 23:16:02 +0000 (23:16 +0000)
committeradele <adele@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 3 Jul 2007 23:16:02 +0000 (23:16 +0000)
commitd6c1f5fba81fd397575804b7c27538259bd7c816
tree4ea230741e193cc0aaacde35fabc43d8eb9e210c
parentc45eff3605d2b9570f1268d0d6bca56c888eb1e2
LayoutTests:

        Reviewed by Darin.

        Test for: <rdar://problem/5292988> domain names shouldn't contain ignorable characters

        * fast/encoding/idn-security-expected.txt: Added.
        * fast/encoding/idn-security.html: Added.
        * win/Skipped: Blocked by <rdar://problem/5301954>.

WebKit:

        Reviewed by Darin.

        Fix for: <rdar://problem/5292988> domain names shouldn't contain ignorable characters

        * Misc/WebNSURLExtras.m:
        (isLookalikeCharacter): Renamed.  Also excludes any non-printable character,
         any character considered as whitespace that isn't already converted to a space by ICU, any ignorable character,
         and any character excluded in Mozilla's blacklist: http://kb.mozillazine.org/Network.IDN.blacklist_chars
        (allCharactersInIDNScriptWhiteList):

WebKitTools:

        Reviewed by Darin.

        Extended DumpRenderTree to test encoding and decoding host names.

        * DumpRenderTree/DumpRenderTree.m:
        (+[LayoutTestController isSelectorExcludedFromWebScript:]): Added cases for encodeHostName and decodeHostName.
        (+[LayoutTestController webScriptNameForSelector:]): ditto.
        (-[LayoutTestController decodeHostName:]): Added.
        (-[LayoutTestController encodeHostName:]): Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@23963 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/encoding/idn-security-expected.txt [new file with mode: 0644]
LayoutTests/fast/encoding/idn-security.html [new file with mode: 0644]
LayoutTests/win/Skipped
WebKit/ChangeLog
WebKit/Misc/WebNSURLExtras.m
WebKitTools/ChangeLog
WebKitTools/DumpRenderTree/DumpRenderTree.m