Bug 945240 - Fix web platform tests meta to expect punycode encoding r=annevk draft
authorValentin Gosu <valentin.gosu@gmail.com>
Wed, 17 May 2017 16:15:54 +0200
changeset 579641 e69cc9b2055b84026d5dc85885c282257abe83e8
parent 579640 eb41a0e3c0fd9f5cbc3e869e97cf0df3ce80c9dc
child 579642 ad0eb0bd1396e56f2cae77ff7e45d42b6049b3f9
push id59315
push uservalentin.gosu@gmail.com
push dateWed, 17 May 2017 15:18:50 +0000
reviewersannevk
bugs945240
milestone55.0a1
Bug 945240 - Fix web platform tests meta to expect punycode encoding r=annevk MozReview-Commit-ID: 4PU6Zg105SB
testing/web-platform/meta/html/dom/self-origin.sub.html.ini
testing/web-platform/meta/url/a-element-origin-xhtml.xhtml.ini
testing/web-platform/meta/url/a-element-origin.html.ini
testing/web-platform/meta/url/a-element-xhtml.xhtml.ini
testing/web-platform/meta/url/a-element.html.ini
testing/web-platform/meta/url/url-constructor.html.ini
testing/web-platform/meta/url/url-origin.html.ini
testing/web-platform/meta/url/url-setters.html.ini
new file mode 100644
--- /dev/null
+++ b/testing/web-platform/meta/html/dom/self-origin.sub.html.ini
@@ -0,0 +1,6 @@
+[self-origin.sub.html]
+  type: testharness
+  [Should have the right origin for IDN subframe]
+    expected: FAIL
+  [Should have the right origin for IDN subframe after setting document.domain]
+    expected: FAIL
--- a/testing/web-platform/meta/url/a-element-origin-xhtml.xhtml.ini
+++ b/testing/web-platform/meta/url/a-element-origin-xhtml.xhtml.ini
@@ -100,8 +100,13 @@
     expected: FAIL
 
   [Parsing origin: <?x> against <sc://ñ>]
     expected: FAIL
 
   [Parsing origin: <https://0x.0x.0> against <about:blank>]
     expected: FAIL
 
+  [Parsing origin: <http://你好你好> against <http://other.com/>]
+    expected: FAIL
+
+  [Parsing origin: <https://faß.ExAmPlE/> against <about:blank>]
+    expected: FAIL
--- a/testing/web-platform/meta/url/a-element-origin.html.ini
+++ b/testing/web-platform/meta/url/a-element-origin.html.ini
@@ -100,8 +100,13 @@
     expected: FAIL
 
   [Parsing origin: <?x> against <sc://ñ>]
     expected: FAIL
 
   [Parsing origin: <https://0x.0x.0> against <about:blank>]
     expected: FAIL
 
+  [Parsing origin: <http://你好你好> against <http://other.com/>]
+    expected: FAIL
+
+  [Parsing origin: <https://faß.ExAmPlE/> against <about:blank>]
+    expected: FAIL
--- a/testing/web-platform/meta/url/a-element-xhtml.xhtml.ini
+++ b/testing/web-platform/meta/url/a-element-xhtml.xhtml.ini
@@ -265,19 +265,16 @@
     expected: FAIL
 
   [Parsing: <http://%00.com> against <http://other.com/>]
     expected: FAIL
 
   [Parsing: <http://%ef%bc%85%ef%bc%90%ef%bc%90.com> against <http://other.com/>]
     expected: FAIL
 
-  [Parsing: <http://你好你好> against <http://other.com/>]
-    expected: FAIL
-
   [Parsing: <http://%zz%66%a.com> against <http://other.com/>]
     expected: FAIL
 
   [Parsing: <http://%25> against <http://other.com/>]
     expected: FAIL
 
   [Parsing: <http://hello%00> against <http://other.com/>]
     expected: FAIL
@@ -612,19 +609,16 @@
     expected: FAIL
 
   [Parsing: <non-special://[1:2::3\]:80/> against <about:blank>]
     expected: FAIL
 
   [Parsing: <non-special://[:80/> against <about:blank>]
     expected: FAIL
 
-  [Parsing: <https://faß.ExAmPlE/> against <about:blank>]
-    expected: FAIL
-
   [Parsing: <sc://faß.ExAmPlE/> against <about:blank>]
     expected: FAIL
 
   [Parsing: <https://x x:12> against <about:blank>]
     expected: FAIL
 
   [Parsing: <wow:%NBD> against <about:blank>]
     expected: FAIL
@@ -705,16 +699,21 @@
     expected: FAIL
 
   [Parsing: </rooibos> against <file://tea/>]
     expected: FAIL
 
   [Parsing: </?chai> against <file://tea/>]
     expected: FAIL
 
+  [Parsing origin: <http://你好你好> against <http://other.com/>]
+    expected: FAIL
+
+  [Parsing origin: <https://faß.ExAmPlE/> against <about:blank>]
+    expected: FAIL
   [Parsing: <C|> against <file://host/dir/file>]
     expected: FAIL
 
   [Parsing: <C|#> against <file://host/dir/file>]
     expected: FAIL
 
   [Parsing: <C|?> against <file://host/dir/file>]
     expected: FAIL
--- a/testing/web-platform/meta/url/a-element.html.ini
+++ b/testing/web-platform/meta/url/a-element.html.ini
@@ -250,19 +250,16 @@
     expected: FAIL
 
   [Parsing: <http://%00.com> against <http://other.com/>]
     expected: FAIL
 
   [Parsing: <http://%ef%bc%85%ef%bc%90%ef%bc%90.com> against <http://other.com/>]
     expected: FAIL
 
-  [Parsing: <http://你好你好> against <http://other.com/>]
-    expected: FAIL
-
   [Parsing: <http://%zz%66%a.com> against <http://other.com/>]
     expected: FAIL
 
   [Parsing: <http://%25> against <http://other.com/>]
     expected: FAIL
 
   [Parsing: <http://hello%00> against <http://other.com/>]
     expected: FAIL
@@ -621,19 +618,16 @@
     expected: FAIL
 
   [Parsing: <non-special://[1:2::3\]:80/> against <about:blank>]
     expected: FAIL
 
   [Parsing: <non-special://[:80/> against <about:blank>]
     expected: FAIL
 
-  [Parsing: <https://faß.ExAmPlE/> against <about:blank>]
-    expected: FAIL
-
   [Parsing: <sc://faß.ExAmPlE/> against <about:blank>]
     expected: FAIL
 
   [Parsing: <https://x x:12> against <about:blank>]
     expected: FAIL
 
   [Parsing: <wow:%NBD> against <about:blank>]
     expected: FAIL
@@ -714,16 +708,21 @@
     expected: FAIL
 
   [Parsing: </rooibos> against <file://tea/>]
     expected: FAIL
 
   [Parsing: </?chai> against <file://tea/>]
     expected: FAIL
 
+  [Parsing origin: <http://你好你好> against <http://other.com/>]
+    expected: FAIL
+
+  [Parsing origin: <https://faß.ExAmPlE/> against <about:blank>]
+    expected: FAIL
   [Parsing: <C|> against <file://host/dir/file>]
     expected: FAIL
 
   [Parsing: <C|#> against <file://host/dir/file>]
     expected: FAIL
 
   [Parsing: <C|?> against <file://host/dir/file>]
     expected: FAIL
--- a/testing/web-platform/meta/url/url-constructor.html.ini
+++ b/testing/web-platform/meta/url/url-constructor.html.ini
@@ -118,19 +118,16 @@
     expected: FAIL
 
   [Parsing: <http://%00.com> against <http://other.com/>]
     expected: FAIL
 
   [Parsing: <http://%ef%bc%85%ef%bc%90%ef%bc%90.com> against <http://other.com/>]
     expected: FAIL
 
-  [Parsing: <http://你好你好> against <http://other.com/>]
-    expected: FAIL
-
   [Parsing: <http://%zz%66%a.com> against <http://other.com/>]
     expected: FAIL
 
   [Parsing: <http://%25> against <http://other.com/>]
     expected: FAIL
 
   [Parsing: <http://hello%00> against <http://other.com/>]
     expected: FAIL
@@ -369,19 +366,16 @@
     expected: FAIL
 
   [Parsing: <non-special://[1:2::3\]:80/> against <about:blank>]
     expected: FAIL
 
   [Parsing: <non-special://[:80/> against <about:blank>]
     expected: FAIL
 
-  [Parsing: <https://faß.ExAmPlE/> against <about:blank>]
-    expected: FAIL
-
   [Parsing: <sc://faß.ExAmPlE/> against <about:blank>]
     expected: FAIL
 
   [Parsing: <https://0x.0x.0> against <about:blank>]
     expected: FAIL
 
   [Parsing: <non-special://f:999999/c> against <http://example.org/foo/bar>]
     expected: FAIL
--- a/testing/web-platform/meta/url/url-origin.html.ini
+++ b/testing/web-platform/meta/url/url-origin.html.ini
@@ -100,8 +100,13 @@
     expected: FAIL
 
   [Origin parsing: <?x> against <sc://ñ>]
     expected: FAIL
 
   [Origin parsing: <https://0x.0x.0> against <about:blank>]
     expected: FAIL
 
+  [Origin parsing: <http://你好你好> against <http://other.com/>]
+    expected: FAIL
+
+  [Origin parsing: <https://faß.ExAmPlE/> against <about:blank>]
+    expected: FAIL
--- a/testing/web-platform/meta/url/url-setters.html.ini
+++ b/testing/web-platform/meta/url/url-setters.html.ini
@@ -751,25 +751,16 @@
     expected: FAIL
 
   [<a>: Setting <sc://x/>.host = 'ß']
     expected: FAIL
 
   [<area>: Setting <sc://x/>.host = 'ß']
     expected: FAIL
 
-  [URL: Setting <https://x/>.host = 'ß' IDNA Nontransitional_Processing]
-    expected: FAIL
-
-  [<a>: Setting <https://x/>.host = 'ß' IDNA Nontransitional_Processing]
-    expected: FAIL
-
-  [<area>: Setting <https://x/>.host = 'ß' IDNA Nontransitional_Processing]
-    expected: FAIL
-
   [URL: Setting <javascript://x/>.port = '12']
     expected: FAIL
 
   [<a>: Setting <javascript://x/>.port = '12']
     expected: FAIL
 
   [<area>: Setting <javascript://x/>.port = '12']
     expected: FAIL