Bug 1478956 [wpt PR 12202] - Fix test case which relied on outdated Name/QName production, a=testonly
authorC. Scott Ananian <cscott@cscott.net>
Wed, 15 Aug 2018 01:03:30 +0000
changeset 486821 5f88e8a5b484c50d6341b120774e38359d3c671f
parent 486820 f197fd07b78fd0dea84c711f70548d78ef5a2ffb
child 486822 502e41243576385d3b3ed2033be286a09f5a002a
push id9719
push userffxbld-merge
push dateFri, 24 Aug 2018 17:49:46 +0000
treeherdermozilla-beta@719ec98fba77 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstestonly
bugs1478956, 12202
milestone63.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1478956 [wpt PR 12202] - Fix test case which relied on outdated Name/QName production, a=testonly Automatic update from web-platform-testsDOM: fix test case which relied on outdated Name/QName production -- wpt-commits: 848ceffad26e92d47ffe790ed8b650906b2c2343 wpt-pr: 12202
testing/web-platform/meta/MANIFEST.json
testing/web-platform/tests/dom/nodes/Document-createElement.html
testing/web-platform/tests/dom/nodes/Document-createElementNS.js
--- a/testing/web-platform/meta/MANIFEST.json
+++ b/testing/web-platform/meta/MANIFEST.json
@@ -579722,25 +579722,25 @@
    "dba395fed064e7c11e212390b18436182c8a473d",
    "support"
   ],
   "dom/nodes/Document-createElement-namespace.html": [
    "add66bf9a0119023f1917e6424509be562b4360d",
    "testharness"
   ],
   "dom/nodes/Document-createElement.html": [
-   "bacaff0f6a00273f611cf3eb7e8d3a686e5b8599",
+   "a74962752e7fde79439d869cca4eb01955a45fa5",
    "testharness"
   ],
   "dom/nodes/Document-createElementNS.html": [
    "6df8c785b8bd939f5631a25a0d86a6d9c60617fe",
    "testharness"
   ],
   "dom/nodes/Document-createElementNS.js": [
-   "bf5e12cf951817404abb884d7f5d6dd3445b9639",
+   "2cf2948563a2b780193871d7c7ca7dab12d3b2c6",
    "support"
   ],
   "dom/nodes/Document-createEvent.html": [
    "8108f20f6593e721e132ca16bbe509fd1e06dfd2",
    "testharness"
   ],
   "dom/nodes/Document-createEvent.js": [
    "9e614ab16b85e2634692a79202abeb65a11a0b7d",
--- a/testing/web-platform/tests/dom/nodes/Document-createElement.html
+++ b/testing/web-platform/tests/dom/nodes/Document-createElement.html
@@ -72,30 +72,30 @@ var HTMLNS = "http://www.w3.org/1999/xht
       "\u0130nput",
       "\u0131nput",
     ],
     invalid = [
       "",
       "1foo",
       "1:foo",
       "fo o",
-      "\u0BC6foo",
+      "\u0300foo",
       "}foo",
       "f}oo",
       "foo}",
       "\ufffffoo",
       "f\uffffoo",
       "foo\uffff",
       "<foo",
       "foo>",
       "<foo>",
       "f<oo",
       "-foo",
       ".foo",
-      "\u0BC6",
+      "\u0300",
     ]
 
 var xmlIframe = document.querySelector('[src="/common/dummy.xml"]');
 var xhtmlIframe = document.querySelector('[src="/common/dummy.xhtml"]');
 
 function getWin(desc) {
   if (desc == "HTML document") {
     return window;
--- a/testing/web-platform/tests/dom/nodes/Document-createElementNS.js
+++ b/testing/web-platform/tests/dom/nodes/Document-createElementNS.js
@@ -5,17 +5,18 @@ var createElementNS_tests = [
    *   the expected exception, or null if none
    */
   [null, null, null],
   [null, undefined, null],
   [null, "foo", null],
   [null, "1foo", "INVALID_CHARACTER_ERR"],
   [null, "f1oo", null],
   [null, "foo1", null],
-  [null, "\u0BC6foo", "INVALID_CHARACTER_ERR"],
+  [null, "\u0BC6foo", null],
+  [null, "\u037Efoo", "INVALID_CHARACTER_ERR"],
   [null, "}foo", "INVALID_CHARACTER_ERR"],
   [null, "f}oo", "INVALID_CHARACTER_ERR"],
   [null, "foo}", "INVALID_CHARACTER_ERR"],
   [null, "\uFFFFfoo", "INVALID_CHARACTER_ERR"],
   [null, "f\uFFFFoo", "INVALID_CHARACTER_ERR"],
   [null, "foo\uFFFF", "INVALID_CHARACTER_ERR"],
   [null, "<foo", "INVALID_CHARACTER_ERR"],
   [null, "foo>", "INVALID_CHARACTER_ERR"],
@@ -68,18 +69,22 @@ var createElementNS_tests = [
   ["http://example.com/", ":foo", "INVALID_CHARACTER_ERR"],
   ["http://example.com/", "f:oo", null],
   ["http://example.com/", "f:o:o", "INVALID_CHARACTER_ERR"],
   ["http://example.com/", "foo:", "INVALID_CHARACTER_ERR"],
   ["http://example.com/", "f::oo", "INVALID_CHARACTER_ERR"],
   ["http://example.com/", "a:0", "INVALID_CHARACTER_ERR"],
   ["http://example.com/", "0:a", "INVALID_CHARACTER_ERR"],
   ["http://example.com/", "a:_", null],
-  ["http://example.com/", "a:\u0BC6", "INVALID_CHARACTER_ERR"],
-  ["http://example.com/", "\u0BC6:a", "INVALID_CHARACTER_ERR"],
+  ["http://example.com/", "a:\u0BC6", null],
+  ["http://example.com/", "a:\u037E", "INVALID_CHARACTER_ERR"],
+  ["http://example.com/", "a:\u0300", "INVALID_CHARACTER_ERR"],
+  ["http://example.com/", "\u0BC6:a", null],
+  ["http://example.com/", "\u0300:a", "INVALID_CHARACTER_ERR"],
+  ["http://example.com/", "\u037E:a", "INVALID_CHARACTER_ERR"],
   ["http://example.com/", "a:a\u0BC6", null],
   ["http://example.com/", "a\u0BC6:a", null],
   ["http://example.com/", "xml:test", "NAMESPACE_ERR"],
   ["http://example.com/", "xmlns:test", "NAMESPACE_ERR"],
   ["http://example.com/", "test:xmlns", null],
   ["http://example.com/", "xmlns", "NAMESPACE_ERR"],
   ["http://example.com/", "_:_", null],
   ["http://example.com/", "_:h0", null],