Exception Illegal value in Firebug

前端 未结 1 1726
余生分开走
余生分开走 2021-01-26 01:17

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

uncaught exception: [Exception... \"Illegal value\" nsresult: \"0x80070057 (NS_ERROR_ILLEGAL_VALUE)\" location: \"JS

相关标签:
1条回答
  • 2021-01-26 01:48

    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.

    0 讨论(0)
提交回复
热议问题