Title: [189381] trunk/LayoutTests
- Revision
- 189381
- Author
- [email protected]
- Date
- 2015-09-04 13:59:12 -0700 (Fri, 04 Sep 2015)
Log Message
Test Serbian ".срб" domain support
https://bugs.webkit.org/show_bug.cgi?id=148761
<rdar://problem/22569849>
Reviewed by Tim Horton.
* fast/url/user-visible/srb-expected.txt: Added.
* fast/url/user-visible/srb.html: Added.
Modified Paths
Added Paths
Diff
Modified: trunk/LayoutTests/ChangeLog (189380 => 189381)
--- trunk/LayoutTests/ChangeLog 2015-09-04 20:48:41 UTC (rev 189380)
+++ trunk/LayoutTests/ChangeLog 2015-09-04 20:59:12 UTC (rev 189381)
@@ -1,3 +1,14 @@
+2015-09-04 Alexey Proskuryakov <[email protected]>
+
+ Test Serbian ".срб" domain support
+ https://bugs.webkit.org/show_bug.cgi?id=148761
+ <rdar://problem/22569849>
+
+ Reviewed by Tim Horton.
+
+ * fast/url/user-visible/srb-expected.txt: Added.
+ * fast/url/user-visible/srb.html: Added.
+
2015-09-04 Beth Dakin <[email protected]>
Rubber-stamped by Tim Horton.
Added: trunk/LayoutTests/fast/url/user-visible/srb-expected.txt (0 => 189381)
--- trunk/LayoutTests/fast/url/user-visible/srb-expected.txt (rev 0)
+++ trunk/LayoutTests/fast/url/user-visible/srb-expected.txt 2015-09-04 20:59:12 UTC (rev 189381)
@@ -0,0 +1,11 @@
+Test IDN behavior for .срб top level domain.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS test('http://православнајапородица.срб/') is 'http://православнајапородица.срб/'
+PASS test('http://www.свеовде.од.срб/') is 'http://www.свеовде.од.срб/'
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
Added: trunk/LayoutTests/fast/url/user-visible/srb.html (0 => 189381)
--- trunk/LayoutTests/fast/url/user-visible/srb.html (rev 0)
+++ trunk/LayoutTests/fast/url/user-visible/srb.html 2015-09-04 20:59:12 UTC (rev 189381)
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<script src=""
+</head>
+<body>
+<script>
+
+description("Test IDN behavior for .срб top level domain.");
+
+function test(url)
+{
+ var domURL = new URL(url);
+ return internals.userVisibleString(domURL);
+}
+
+shouldBe("test('http://православнајапородица.срб/')", "'http://православнајапородица.срб/'");
+shouldBe("test('http://www.свеовде.од.срб/')", "'http://www.свеовде.од.срб/'");
+
+</script>
+<script src=""
+</body>
+</html>
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes