W3C home > Mailing lists > Public > www-archive@w3.org > January 2017

Re: IDNA tests

From: Alex Christensen <achristensen@apple.com>
Date: Fri, 06 Jan 2017 10:40:37 -0800
Message-id: <26A4E684-03D3-4CAF-8E72-10E1C648999F@apple.com>
Cc: Simon Montagu <smontagu@smontagu.org>, Valentin Gosu <valentin.gosu@gmail.com>, Mark Davis ☕ <markdavis@google.com>, www-archive <www-archive@w3.org>
To: Anne van Kesteren <annevk@annevk.nl>
I wrote some interesting tests in https://bugs.webkit.org/show_bug.cgi?id=144194 <https://bugs.webkit.org/show_bug.cgi?id=144194> and some of the non-ASCII tests can be better viewed https://trac.webkit.org/browser/trunk/Tools/TestWebKitAPI/Tests/WebCore/URLParser.cpp <https://trac.webkit.org/browser/trunk/Tools/TestWebKitAPI/Tests/WebCore/URLParser.cpp> because our bugzilla patch viewer UTF-8 encodes them.  Feel free to take any or all of those tests.  As mentioned in that bug, I based my IDNA tests on these references:

http://unicode.org/faq/idn.html and http://www.unicode.org/reports/tr46/#IDNAComparison have IDNA2003/2008 differences
https://tools.ietf.org/html/rfc5893 has Bidi examples
https://tools.ietf.org/html/rfc5892 has ContextO examples
http://www.unicode.org/Public/idna/9.0.0/IdnaTest.txt has a bunch of interesting domains


> On Jan 5, 2017, at 11:59 PM, Anne van Kesteren <annevk@annevk.nl> wrote:
> 
> Hi,
> 
> I was wondering if any of you were aware of existing tests for the
> ToASCII and ToUnicode algorithms. I'm planning on adding some to Web
> Platform Tests, but if there are existing tests that can be ported
> that would be good to know.
> 
> Kind regards,
> 
> 
> -- 
> https://annevankesteren.nl/
Received on Friday, 6 January 2017 19:08:23 UTC

This archive was generated by hypermail 2.3.1 : Friday, 6 January 2017 19:08:23 UTC