diff options
author | Matt A. Tobin <mattatobin@localhost.localdomain> | 2018-02-02 04:16:08 -0500 |
---|---|---|
committer | Matt A. Tobin <mattatobin@localhost.localdomain> | 2018-02-02 04:16:08 -0500 |
commit | 5f8de423f190bbb79a62f804151bc24824fa32d8 (patch) | |
tree | 10027f336435511475e392454359edea8e25895d /dom/tests/mochitest/dom-level2-core/exclusions.js | |
parent | 49ee0794b5d912db1f95dce6eb52d781dc210db5 (diff) | |
download | UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.gz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.lz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.xz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.zip |
Add m-esr52 at 52.6.0
Diffstat (limited to 'dom/tests/mochitest/dom-level2-core/exclusions.js')
-rw-r--r-- | dom/tests/mochitest/dom-level2-core/exclusions.js | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/dom/tests/mochitest/dom-level2-core/exclusions.js b/dom/tests/mochitest/dom-level2-core/exclusions.js new file mode 100644 index 000000000..cc5a0da12 --- /dev/null +++ b/dom/tests/mochitest/dom-level2-core/exclusions.js @@ -0,0 +1,50 @@ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* vim:set ts=2 sw=2 sts=2 et: */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + +dtdTests = ["attrgetownerelement01", "documentimportnode03", + "documentimportnode04", "documentimportnode19", + "documentimportnode20", "documentimportnode21", + "documentimportnode22", + "elementgetattributenodens03", "elementgetattributens02", + "elementhasattribute02", "getAttributeNS01", "getElementById01", + "getNamedItemNS03", "getNamedItemNS04", "hasAttribute02", + "hasAttributeNS04", "importNode07", "importNode09", + "importNode10", "importNode11", "importNode12", "importNode13", + "localName02", "namednodemapgetnameditemns01", + "namednodemapremovenameditemns02", + "namednodemapremovenameditemns05", "namednodemapsetnameditemns05", + "namednodemapsetnameditemns09", "namednodemapsetnameditemns10", + "namednodemapsetnameditemns11", "namespaceURI01", + "nodeissupported04", "nodenormalize01", "nodesetprefix04", + "prefix08", "removeAttributeNS01", "removeAttributeNS02", + "removeNamedItemNS03", "setAttributeNodeNS02", "setAttributeNS03", + "setNamedItemNS04"]; + +bug371552 = ["elementhasattributens02"]; +wrongDocError = ["elementsetattributenodens05", "namednodemapsetnameditemns03", + "setAttributeNodeNS05", "setNamedItemNS02"]; +attrExodus = ["elementsetattributenodens06", "importNode01", + "hc_namednodemapinvalidtype1", "nodehasattributes02"]; +bogusPrefix = ["nodesetprefix05", "nodesetprefix09", "prefix06", "prefix07"]; +prefixReplacement = ["setAttributeNodeNS04"]; + +function concat(lst/*...*/) { + var f = []; + if (arguments !== null) { + f = arguments[0]; + } + for (var i = 1; i < arguments.length; i++) { + f = f.concat(arguments[i]); + } + return f; +} + +var todoTests = {}; +var exclusions = concat(dtdTests, bug371552, wrongDocError, attrExodus, + bogusPrefix, prefixReplacement); +for (var excludedTestName in exclusions) { + todoTests[exclusions[excludedTestName]] = true; +} |