I found no documents about it.
For example: what's the equiavalent to errorHook
function enableDebuggingOutputToConsole() {
let jsd = Cc["@mozilla.org/js/jsd/debugger-service;1"]
.getService(Ci.jsdIDebuggerService);
jsd.errorHook = {
onError: function(message, fileName, lineNo, colNo, flags, errnum, exc) {
}
}
}
_______________________________________________
dev-platform mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-platform

