A NodeList object returned by a document.getElementsByTagName() call acts as a function instead of an object. Reproducable with r16130.
This seems related to #8080.
Although this bug was filed earlier, bug 14547 has much more discussion, so closing this one as a duplicate. *** This bug has been marked as a duplicate of 14547 ***