我在Firefox和Firebug控制台中有很多警告。我不知道该拿他们怎么办。是我的错吗?此外,如何使调试在Firefox中变得清晰和有用?
以下是一些例子:


11:06:16.845函数cf并不总是返回值@ http://example.hu/jquery.js:16 11:06:16.853函数ce并不总是返回值@ http://example.hu/jquery.js:16 11:06:16.861函数bZ不总是返回值@ http://example.hu/jquery.js:16 11:06:16.870错误类型为赋值(=)?@ http://example.hu/jquery.js:16 11:06:16.880函数M不总是返回值@ http://example.hu/jquery.js:16 11:06:16.889匿名函数并不总是返回一个值@ http://example.hu/jquery.js:16 11:06:16.921 --测试错误类型为赋值(=)的等式(==)?@ http://example.hu/jquery.js:16 11:06:16.934匿名函数并不总是返回值@ http://example.hu/jquery.js:16 11:06:16.957错误类型为赋值的测试(==)?@ http://example.hu/jquery.js:16 11:06:16.972匿名函数并不总是返回@ http://example.hu/jquery.js:17 11:06:16.998测试的值。等式(==)错误类型为赋值(=)?@ http://example.hu/jquery.js:17 11:06:17.012匿名函数并不总是返回一个值@ http://example.hu/jquery.js:17 11:06:17.035测试中误用为赋值(=)?@ http://example.hu/jquery.js:17 11:06:17.051匿名函数并不总是返回一个值@ http://example.hu/jquery.js:17 11:06:17.073错误类型为赋值(=)?@ http://example.hu/jquery.js:17 11:06:17.086匿名函数并不总是返回一个值@ http://example.hu/jquery.js:17 11:06:17.126 --测试错误类型为赋值(=)的等式(==)?@ http://example.hu/jquery.js:18 11:06:17.153匿名函数并不总是返回值@ http://example.hu/jquery.js:18 11:06:17.175对未定义属性的引用f.valHooksthis @ http://example.hu/jquery.js:16 11:06:17.208对未定义属性的引用af.expando @ http://example.hu/jquery.js:16 11:06:17.376引用未定义的属性af.expando @ http://example.hu/jquery.js:16 11:06:17.480对未定义属性的引用af.expando @ http://example.hu/jquery.js:16 11:06:17.613引用未定义属性f.event.triggered @ http://example.hu/jquery.js:16
reference to undefined property fbs.breakOnDebugCall
[Break On This Error] var hookReturn = d...e, errorInfo, fbs.breakOnDebugCall);
firebu...vice.js (line 1857)
<System>
reference to undefined property a[f.expando]
[Break On This Error] (function(a,b){function cv(a){return f...ndexOf(".")>=0&&(i=h.split("."),h=i.
jquery.js (line 16)
reference to undefined property fbs.breakOnDebugCall
[Break On This Error] return this.breakOnErrors || fbs.breakOnDebugCall;
firebu...vice.js (line 3523)
<System>
reference to undefined property fbs.breakOnDebugCall
[Break On This Error] var hookReturn = d...e, errorInfo, fbs.breakOnDebugCall);
firebu...vice.js (line 1857)
<System>
reference to undefined property a[f.expando]
[Break On This Error] (function(a,b){function cv(a){return f...ndexOf(".")>=0&&(i=h.split("."),h=i.
jquery.js (line 16)
reference to undefined property fbs.breakOnDebugCall
[Break On This Error] return this.breakOnErrors || fbs.breakOnDebugCall;
firebu...vice.js (line 3523)
<System>
reference to undefined property fbs.breakOnDebugCall
[Break On This Error] var hookReturn = d...e, errorInfo, fbs.breakOnDebugCall);
firebu...vice.js (line 1857)
<System>
reference to undefined property a[f.expando]
[Break On This Error] (function(a,b){function cv(a){return f...ndexOf(".")>=0&&(i=h.split("."),h=i.
jquery.js (line 16)
reference to undefined property fbs.breakOnDebugCall
[Break On This Error] return this.breakOnErrors || fbs.breakOnDebugCall;
firebu...vice.js (line 3523)
<System>
reference to undefined property fbs.breakOnDebugCall
[Break On This Error] var hookReturn = d...e, errorInfo, fbs.breakOnDebugCall);
firebu...vice.js (line 1857)
<System>
reference to undefined property a[f.expando]
[Break On This Error] (function(a,b){function cv(a){return f...ndexOf(".")>=0&&(i=h.split("."),h=i. 发布于 2012-06-25 11:57:23
为了避免它们被登录到控制台,您可以取消选中。
发布于 2017-04-25 10:58:05
在Firefox :config下将javascript.options.strict设置为false。
https://stackoverflow.com/questions/8339601
复制相似问题