Exception Illegal value in Firebug

不问归期 提交于 2019-12-02 14:38:11

问题


Today, I've found exception in my firebug console:

uncaught exception: [Exception... "Illegal value" nsresult: "0x80070057 (NS_ERROR_ILLEGAL_VALUE)" location: "JS frame :: http://portal.aolcdn.com/p5/_v39.5/js/main.js :: anonymous :: line 196" data: no]


回答1:


This happens for example happen you pass undefined (instead of a string) as an URL to an XmlHttpRequest object. The object detects that this is an invalid value and throws an exception. The exact cause of the problem depends on the code at that position.

Inspect the values of the variables that are used there and see if any of them contain unexpected content.



来源:https://stackoverflow.com/questions/4775593/exception-illegal-value-in-firebug

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!