rem: var jsOptions = new JavaScriptOptions(); 
add: options('strict'); options('werror'); 
context: function test(){  enterFunc ('test');  printBugNumber (bug);  printStatus (summary);  print('This test will fail in Gecko prior to 1.9');  var jsOptions = new JavaScriptOptions();// strict  jsOptions.setOption('strict', true);  jsOptions.setOption('werror', true);  try  {    expect = 'TypeError: variable v redeclares argument';    // syntax warning, need to eval to catch    eval("(function (v) { var v; })(1)");    actual = 'No warning';  }  catch(ex)  {    actual = ex + '';    print(ex);  }  jsOptions.reset();    reportCompare(expect, actual, summary);  exitFunc ('test');}
meta: 10520	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/10520/4f12f17d261b9b99c8d98333db5d7526213927db/regress-367923.js/buggy/js/tests/js1_5/extensions/regress-367923.js