3
我使用最新版本的Chrome(14.0.x)来调试我的javascript(最新的jQuery)以及操作CSS。从Chrome的几个版本开始,我总是在JavaScript控制台中发现以下错误。有没有人有任何想法我可以跟踪我的代码中的这个错误的来源?试图找出Chrome浏览器JavaScript控制台中显示的错误来源
Error in event handler for 'undefined': TypeError: Cannot call method 'replace' of undefined
at handleGetResources (chrome-extension://fheoggkfdfchfphceeifdbepaooicaho/ContentScript.js:12:70)
at chrome/RendererExtensionBindings:239:13
at [object Object].dispatch (chrome/EventBindings:181:28)
at Object.<anonymous> (chrome/RendererExtensionBindings:141:22)
和它所指向的文件是 “铬/ EventBindings:183” 提前
Bingo !!我有同样的错误,并禁用Site Advisor v3.31.137.7解决了这个问题。 –