【发布时间】:2011-10-30 21:19:54
【问题描述】:
我正在使用最新版本的 Chrome (14.0.x) 来调试我的 javascript(最新 jQuery)以及操作 CSS。在 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)
它指向的文件是“chrome/EventBindings:183”
提前致谢
【问题讨论】:
标签: jquery debugging google-chrome