‘JavaScript component does not have a method named: “onLocationChange”‘ when calling method: [nsIWebProgressListener::onLocationChange]“

来自http://tunps.com/javascript-component-does-not-have-a-method-named-onlocationchange-when-calling-method-nsiwebprogresslisteneronlocationchange

在项目中使用jsTree,在firefox的js控制台输出以下错误:
[Exception... "'JavaScript component does not have a method named:
"onLocationChange"' when calling method:
[nsIWebProgressListener::onLocationChange]"  nsresult: "0x80570030
(NS_ERROR_XPC_JSOBJECT_HAS_NO_FUNCTION_NAMED)"  location: "JS frame ::
file:///C:/Program%20Files/Mozilla%20Firefox/components/nsSessionStore.js
:: sss_observe :: line 320"  data: no]
file:///C:/Program%20Files/Mozilla%20Firefox/components/nsSessionStore.js
Line 320

[Exception... "'JavaScript component does not have a method named:
"onLocationChange"' when calling method:
[nsIWebProgressListener::onLocationChange]"  nsresult: "0x80570030
(NS_ERROR_XPC_JSOBJECT_HAS_NO_FUNCTION_NAMED)"  location: "<unknown>"
data: no]
参考此文 此文 此文 还有此文得知是firebug和flashgot扩展到冲突造成的,把flashgot禁用或者卸载掉就可以了。

About tunpishuang

just 4 fun·····
This entry was posted in 未分类 and tagged . Bookmark the permalink.

发表评论

电子邮件地址不会被公开。 必填项已用 * 标注

*

您可以使用这些 HTML 标签和属性: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>