From: chen Date: Fri, 19 Feb 2021 08:13:05 +0000 (+0800) Subject: [common][tct-customelement-w3c-tests][DPTTIZEN-3211 registerElement() has been removed] X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F03%2F253903%2F1;p=test%2Ftct%2Fweb%2Fapi.git [common][tct-customelement-w3c-tests][DPTTIZEN-3211 registerElement() has been removed] Change-Id: I4d6be13c5a335565645d0b40b26440af076fcbb3 Signed-off-by: chen --- diff --git a/common/tct-customelement-w3c-tests/customelement/Document_registerElement.html b/common/tct-customelement-w3c-tests/customelement/Document_registerElement.html deleted file mode 100755 index e4024b89c..000000000 --- a/common/tct-customelement-w3c-tests/customelement/Document_registerElement.html +++ /dev/null @@ -1,46 +0,0 @@ - - - - -Document_registerElement - - - - -
- - - diff --git a/common/tct-customelement-w3c-tests/customelement/Document_registerElement_exist.html b/common/tct-customelement-w3c-tests/customelement/Document_registerElement_exist.html deleted file mode 100755 index 6bf40411d..000000000 --- a/common/tct-customelement-w3c-tests/customelement/Document_registerElement_exist.html +++ /dev/null @@ -1,43 +0,0 @@ - - - - -Document_registerElement_exist - - - - -
- - - diff --git a/common/tct-customelement-w3c-tests/customelement/Document_registerElement_misarg.html b/common/tct-customelement-w3c-tests/customelement/Document_registerElement_misarg.html deleted file mode 100755 index 2d3a25d12..000000000 --- a/common/tct-customelement-w3c-tests/customelement/Document_registerElement_misarg.html +++ /dev/null @@ -1,45 +0,0 @@ - - - - -Document_registerElement_misarg - - - - -
- - - diff --git a/common/tct-customelement-w3c-tests/customelement/Document_registerElement_with_options.html b/common/tct-customelement-w3c-tests/customelement/Document_registerElement_with_options.html deleted file mode 100755 index 9837d262f..000000000 --- a/common/tct-customelement-w3c-tests/customelement/Document_registerElement_with_options.html +++ /dev/null @@ -1,48 +0,0 @@ - - - - -Document_registerElement_with_options - - - - -
- - - diff --git a/common/tct-customelement-w3c-tests/customelement/support/element_common.js b/common/tct-customelement-w3c-tests/customelement/support/element_common.js index 5cddbe8bc..ec1824ac6 100755 --- a/common/tct-customelement-w3c-tests/customelement/support/element_common.js +++ b/common/tct-customelement-w3c-tests/customelement/support/element_common.js @@ -176,25 +176,6 @@ var ideographicCharsSingle = new CharsArray(IDEOGRAPHIC_CHARS_SINGLE); var ideographicCharsRanges = new CharRangesArray(IDEOGRAPHIC_CHARS_RANGES); var digitCharsRanges = new CharRangesArray(DIGIT_CHARS_RANGES); -// Helper function, which verifies that given custom element name is valid -function checkValidName(name) { - var doc = newHTMLDocument(); - try { - doc.registerElement(name); - } catch (e) { - assert_unreached('The custom element name \'' + name + - '\' should be registered without errors'); - } -} - -// Helper function, which verifies that given custom element name is invalid -function checkInvalidName(name) { - var doc = newHTMLDocument(); - assert_throws('SyntaxError', function() { - doc.registerElement(name); - }, 'Registering invalid custom element name \'' + name + '\' should fail'); -} - // Helper function to extract character code from given object // expected input: either charater code or one character long string. function getCharCode(c) { diff --git a/common/tct-customelement-w3c-tests/tests.full.xml b/common/tct-customelement-w3c-tests/tests.full.xml index 61a8e6a75..44590a774 100755 --- a/common/tct-customelement-w3c-tests/tests.full.xml +++ b/common/tct-customelement-w3c-tests/tests.full.xml @@ -51,38 +51,6 @@ - - - /opt/tct-customelement-w3c-tests/customelement/Document_registerElement.html - - - - - - - - /opt/tct-customelement-w3c-tests/customelement/Document_registerElement_exist.html - - - - - - - - /opt/tct-customelement-w3c-tests/customelement/Document_registerElement_misarg.html - - - - - - - - /opt/tct-customelement-w3c-tests/customelement/Document_registerElement_with_options.html - - - - - diff --git a/common/tct-customelement-w3c-tests/tests.xml b/common/tct-customelement-w3c-tests/tests.xml index 219e20c3f..30669ae10 100755 --- a/common/tct-customelement-w3c-tests/tests.xml +++ b/common/tct-customelement-w3c-tests/tests.xml @@ -33,26 +33,6 @@ /opt/tct-customelement-w3c-tests/customelement/Document_createElement_misarg.html - - - /opt/tct-customelement-w3c-tests/customelement/Document_registerElement.html - - - - - /opt/tct-customelement-w3c-tests/customelement/Document_registerElement_exist.html - - - - - /opt/tct-customelement-w3c-tests/customelement/Document_registerElement_misarg.html - - - - - /opt/tct-customelement-w3c-tests/customelement/Document_registerElement_with_options.html - -