/* note this test incorporates the path to the test file and assumes the path to the test case is a subdirectory of the directory containing jsDriver.pl */ 
/* note this test incorporates the path to the test file and assumes the path to the test case is a subdirectory of the directory containing jsDriver.pl */ 
function test3(){    /* generate an error with only msg and lineNo properties */    /* note this test incorporates the path to the        test file and assumes the path to the test case       is a subdirectory of the directory containing jsDriver.pl    */    enterFunc ("test3");    var expectedFileName = 'js1_5/extensions/regress-50447-1.js';    if (typeof document == "undefined")    {        expectedFileName = './' + expectedFileName;    }    else    {        expectedFileName = document.location.href.            replace(/[^\/]*(\?.*)$/, '') +            expectedFileName;    }    var e = new InternalError ("msg");    e.lineNumber = 10;    reportCompare ("(new InternalError(\"msg\", \"" +                    expectedFileName + "\", 10))",                   e.toSource(),                   "toSource() returned unexpected result.");    reportCompare (expectedFileName, e.fileName,                   "fileName property returned unexpected value.");    reportCompare (10, e.lineNumber,                   "lineNumber property returned unexpected value.");    exitFunc ("test3");}
5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5872/3703c3c05f398a63e55992f7687ef65273b26d6a/regress-50447-1.js/buggy/js/tests/js1_5/extensions/regress-50447-1.js