rem: if (tokens[0] === "x" || tokens[0] === "i") 
add: if (language == "x" || language == "i") 
context: function convertLanguageCode(abbr){    if (!abbr) return "";    var result;    var language = "";    var region;    var is_region_set = false;    var tokens = abbr.split("-");    if (tokens[0] === "x" || tokens[0] === "i")    {        // x and i prefixes mean unofficial ones. So we upper-case the first        // word and leave the rest.        tokens.shift();        if (tokens[0])        {            // Upper-case first letter            language = tokens[0].substr(0, 1).toUpperCase() + tokens[0].substr(1);            tokens.shift();            if (tokens[0])            {                // Add on the rest as space-separated strings inside the brackets                region = tokens.join(" ");                is_region_set = true;            }        }    }    else    {        // Otherwise we treat the first as a lang, the second as a region        // and the rest as strings.        try        {            language = gLangBundle.getString(tokens[0]);        }        catch (e)         {            // Language not present in lang bundle            language = tokens[0];         }        tokens.shift();        if (tokens[0])        {            try            {                // We don't add it on to the result immediately                // because we want to get the spacing right.                region = gRegionBundle.getString(tokens[0].toLowerCase());                tokens.shift();                if (tokens[0])                {                    // Add on the rest as space-separated strings inside the brackets                    region += " " + tokens.join(" ");                }            }            catch (e)             {                // Region not present in region bundle                region = tokens.join(" ");            }            is_region_set = true;        }    }    if (is_region_set) {        result = gMetadataBundle.getFormattedString("languageRegionFormat",                                                    [language, region]);    } else {        result = language;    }    return result;}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/099dd32ba37aac6b88bfb246fc8bd0a4d0efc0c2/metadata.js/buggy/suite/browser/metadata.js