function test(){  enterFunc ('test');  printBugNumber (bug);  printStatus (summary);   if (typeof document == 'undefined')  {    document = {};  }  if (typeof alert == 'undefined')  {    alert = print;  }// Crash:  document.watch("title", function(a,b,c,d) {    return { toString : function() { alert(1); } };  });  document.title = "xxx";// No crash:  document.watch("title", function() {    return { toString : function() { alert(1); } };  });  document.title = "xxx";   reportCompare(expect, actual, summary);  exitFunc ('test');}
5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5872/3703c3c05f398a63e55992f7687ef65273b26d6a/regress-361964.js/buggy/js/tests/js1_5/extensions/regress-361964.js