rem: var str; if (c2 == undefined) str = "x"+String.fromCharCode(c1)+"x"; else str = "x"+String.fromCharCode(c1)+String.fromCharCode(c2)+"x";  try { encodeFunction(str);  return false; } catch (e) {  return true; } 
add: if (c2 == undefined) shouldThrow(encodeFunctionName + "(String.fromCharCode(" + c1 + "))"); else shouldThrow(encodeFunctionName + "(String.fromCharCode(" + c1 + ") + String.fromCharCode(" + c2 + "))"); 
context: function checkEncodeException(encodeFunction,c1,c2){  var str;  if (c2 == undefined)    str = "x"+String.fromCharCode(c1)+"x";  else    str = "x"+String.fromCharCode(c1)+String.fromCharCode(c2)+"x";  try {    encodeFunction(str);//    print("checkEncodeException("+c1+","+c2+"): false");    return false;  }  catch (e) {//    print("checkEncodeException("+c1+","+c2+"): true");    return true;  }}
meta: 5650	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5650/fb2e2bca3756b48aac1a07949c9b036d6fcff21c/encode_decode_uri.js/clean/LayoutTests/fast/js/kde/resources/encode_decode_uri.js