[webkit-dev] How to catch JS exceptions/log messages from a WebView?
todd at ditchnet.org
Sat Dec 22 08:14:57 PST 2007
In a Cocoa app which embeds a WebView, what is the best way to catch
all JS exceptions from the WebView which are thrown and are not caught
within JS itself?
Console in the Safari debug menu.
Also, how do you capture statements sent to console.log(),
console.warn() and console.error() within a WebView?
More information about the webkit-dev