Firefox exception 'JavaScript component does not have a method named: “available”'
问题 I'm building a web app with Django. I have a bunch of API calls in Javascript via Ajax (jQuery v1.8.3). Most of them work, but a particular one results in a return object with status 0 and this message as the statusText: [Exception... "'JavaScript component does not have a method named: "available"' when calling method: [nsIInputStream::available]" nsresult: "0x80570030 (NS_ERROR_XPC_JSOBJECT_HAS_NO_FUNCTION_NAMED)" location: "JS frame :: http://127.0.0.1:8000/media/js/jquery.js :: .send ::