diff options
author | Thomas Steur <thomas.steur@googlemail.com> | 2014-09-15 14:13:21 +0400 |
---|---|---|
committer | Thomas Steur <thomas.steur@googlemail.com> | 2014-09-15 14:13:21 +0400 |
commit | f68feb02bfd22032d7e83295d25a1cffde0c90c6 (patch) | |
tree | b42948cf808bfabbdf1e65a7535696d62d87e382 /tests/javascript | |
parent | 566cdbd91d0ef299df5fc31ea278bf3614b18916 (diff) |
refs #4996 remove this test as it does not work cross browser and is not important anyway
Diffstat (limited to 'tests/javascript')
-rw-r--r-- | tests/javascript/index.php | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/tests/javascript/index.php b/tests/javascript/index.php index 228657e3e7..0c64a834c6 100644 --- a/tests/javascript/index.php +++ b/tests/javascript/index.php @@ -758,13 +758,6 @@ function PiwikTest() { propEqual(actual, [], "htmlCollectionToArray, should always return an array even if interger given"); // would still parse string to an array but we can live with that var htmlCollection = document.getElementsByTagName('a'); - - if ('undefined' !== typeof HTMLCollection) { - ok(htmlCollection instanceof HTMLCollection, 'htmlCollectionToArray, we need to make sure we handle an html collection in order to make test really useful') - } else if ('undefined' !== typeof NodeList) { - ok(htmlCollection instanceof NodeList, 'htmlCollectionToArray, we need to make sure we handle an html collection in order to make test really useful') - } - actual = query.htmlCollectionToArray(htmlCollection); ok($.isArray(actual), 'htmlCollectionToArray, should convert to array'); ok(actual.length === htmlCollection.length, 'htmlCollectionToArray should have same amount of elements as before'); |