rem: actual = (e instanceof SyntaxError)? cnSUCCESS : cnFAILURE; expect = cnSUCCESS; reportCompare(expect, actual, status); 
add: if (e instanceof SyntaxError) actual = cnSUCCESS; 
context: function testIllegalRegExps(patterns, flags){  for (i in patterns)    {      s = patterns[i];        for (j in flags)      {        f = flags[j];        status = getStatus(s, f);          try         {          // This should cause an exception if either s or f is illegal -                   eval('obj = new RegExp(s, f);');          }          catch(e)         {          // We expect to get a SyntaxError - test for this:          actual = (e instanceof SyntaxError)? cnSUCCESS : cnFAILURE;           expect = cnSUCCESS;          reportCompare(expect, actual, status);           }      }    }}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/b0748544babff12efa81eb1b8e26dda3770943dd/regress-57631.js/buggy/js/tests/ecma_3/RegExp/regress-57631.js