Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Steur <thomas.steur@googlemail.com>2014-09-15 14:13:21 +0400
committerThomas Steur <thomas.steur@googlemail.com>2014-09-15 14:13:21 +0400
commitf68feb02bfd22032d7e83295d25a1cffde0c90c6 (patch)
treeb42948cf808bfabbdf1e65a7535696d62d87e382 /tests/javascript
parent566cdbd91d0ef299df5fc31ea278bf3614b18916 (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.php7
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');