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 dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform