PDA

View Full Version : Error Handling with Netscape6


lpok
08-12-2002, 05:26 PM
I can't seem to get the line number and other information on a Netscape6 error. This code works for Netscape4 and IE:


function handleError(msg, url, line) {
// code here to display msg, url, and line
}

window.onerror = handleError



But on Netscape6, the url and line is undefine. Does anyone know how to get more information on Netscape6 errors?



On a side note, does anyone know the link to the new javascript API docs? Something like this (http://developer.netscape.com/docs/manuals/js/client/jsref/index.htm), but updated for Netscape6. Thanks in advance!