rem stringlengths 0 126k | add stringlengths 0 441k | context stringlengths 13 136k | meta stringlengths 132 347 |
|---|---|---|---|
log(LOG_WARNING,"!WARNING Invalid K:Line (" + arg[1] + ")"); | log(LOG_WARNING,"!WARNING Invalid K:Line (" + arg[1] + ")"); | function read_config_file() { Admin1 = ""; Admin2 = ""; Admin3 = ""; CLines = new Array; HLines = new Array; ILines = new Array; KLines = new Array; NLines = new Array; OLines = new Array; PLines = new Array; QLines = new Array; ULines = new Array; diepass = ""; restartpass = ""; YLines = new Array; ZLines = new Array;... | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/03cf2ad9cc981ddecb083920f6876e8a26b9be78/ircd.js/buggy/ircd.js |
NLines.push(new NLine(arg[1],arg[2],arg[3],parse_nline_flags(arg[4]),arg[5])); | NLines.push(new NLine(arg[1],arg[2],arg[3], parse_nline_flags(arg[4]),arg[5]) ); | function read_config_file() { Admin1 = ""; Admin2 = ""; Admin3 = ""; CLines = new Array; HLines = new Array; ILines = new Array; KLines = new Array; NLines = new Array; OLines = new Array; PLines = new Array; QLines = new Array; ULines = new Array; diepass = ""; restartpass = ""; YLines = new Array; ZLines = new Array;... | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/03cf2ad9cc981ddecb083920f6876e8a26b9be78/ircd.js/buggy/ircd.js |
OLines.push(new OLine(arg[1],arg[2],arg[3],parse_oline_flags(arg[4]),parseInt(arg[5]))); | OLines.push(new OLine(arg[1],arg[2],arg[3], parse_oline_flags(arg[4]),parseInt(arg[5]) )); | function read_config_file() { Admin1 = ""; Admin2 = ""; Admin3 = ""; CLines = new Array; HLines = new Array; ILines = new Array; KLines = new Array; NLines = new Array; OLines = new Array; PLines = new Array; QLines = new Array; ULines = new Array; diepass = ""; restartpass = ""; YLines = new Array; ZLines = new Array;... | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/03cf2ad9cc981ddecb083920f6876e8a26b9be78/ircd.js/buggy/ircd.js |
YLines[parseInt(arg[1])] = new YLine(parseInt(arg[2]),parseInt(arg[3]),parseInt(arg[4]),parseInt(arg[5])); | YLines[parseInt(arg[1])] = new YLine(parseInt(arg[2]), parseInt(arg[3]),parseInt(arg[4]),parseInt(arg[5])); | function read_config_file() { Admin1 = ""; Admin2 = ""; Admin3 = ""; CLines = new Array; HLines = new Array; ILines = new Array; KLines = new Array; NLines = new Array; OLines = new Array; PLines = new Array; QLines = new Array; ULines = new Array; diepass = ""; restartpass = ""; YLines = new Array; ZLines = new Array;... | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/03cf2ad9cc981ddecb083920f6876e8a26b9be78/ircd.js/buggy/ircd.js |
log ("WARNING! No config file found or unable to open. Proceeding with defaults."); | log ("WARNING! No config file found or unable to open." + " Proceeding with defaults."); | function read_config_file() { Admin1 = ""; Admin2 = ""; Admin3 = ""; CLines = new Array; HLines = new Array; ILines = new Array; KLines = new Array; NLines = new Array; OLines = new Array; PLines = new Array; QLines = new Array; ULines = new Array; diepass = ""; restartpass = ""; YLines = new Array; ZLines = new Array;... | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/03cf2ad9cc981ddecb083920f6876e8a26b9be78/ircd.js/buggy/ircd.js |
OLines.push(new OLine(arg[1],arg[2],arg[3],arg[4],arg[5])); | OLines.push(new OLine(arg[1],arg[2],arg[3],arg[4],parseInt(arg[5]))); | function read_config_file() { Admin1 = ""; Admin2 = ""; Admin3 = ""; CLines = new Array(); KLines = new Array(); NLines = new Array(); OLines = new Array(); QLines = new Array(); ULines = new Array(); fname=""; if (config_filename && config_filename.length) fname=system.ctrl_dir + config_filename; else { fname=system... | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/a8d6cb0d2c42aa8c23da559752d1d706d38ce217/ircd.js/buggy/ircd.js |
YLines[0] = new YLine(120,600,1,5050000); | function read_config_file() { Admin1 = ""; Admin2 = ""; Admin3 = ""; CLines = new Array(); KLines = new Array(); NLines = new Array(); OLines = new Array(); QLines = new Array(); ULines = new Array(); fname=""; if (config_filename && config_filename.length) fname=system.ctrl_dir + config_filename; else { fname=system... | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/a8d6cb0d2c42aa8c23da559752d1d706d38ce217/ircd.js/buggy/ircd.js | |
OLines.push(new OLine(arg[1],arg[2],arg[3],arg[4],parseInt(arg[5]))); | OLines.push(new OLine(arg[1],arg[2],arg[3],parse_oline_flags(arg[4]),parseInt(arg[5]))); | function read_config_file() { Admin1 = ""; Admin2 = ""; Admin3 = ""; CLines = new Array(); ILines = new Array(); KLines = new Array(); NLines = new Array(); OLines = new Array(); QLines = new Array(); ULines = new Array(); diepass = ""; restartpass = ""; YLines = new Array(); ZLines = new Array(); fname=""; if (config_... | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/676b0e584f59b15abf9a76f2142d9d94a1b1bfc5/ircd.js/clean/ircd.js |
conf_line = conf.readln(); | var conf_line = conf.readln(); | function read_config_file() { Admin1 = ""; Admin2 = ""; Admin3 = ""; CLines = new Array(); HLines = new Array(); ILines = new Array(); KLines = new Array(); NLines = new Array(); OLines = new Array(); PLines = new Array(); QLines = new Array(); ULines = new Array(); diepass = ""; restartpass = ""; YLines = new Array();... | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/bdcf2d89c08a57e739262ded198c261af7f7b0f8/ircd.js/clean/ircd.js |
arg = conf_line.split(":"); | var arg = conf_line.split(":"); | function read_config_file() { Admin1 = ""; Admin2 = ""; Admin3 = ""; CLines = new Array(); HLines = new Array(); ILines = new Array(); KLines = new Array(); NLines = new Array(); OLines = new Array(); PLines = new Array(); QLines = new Array(); ULines = new Array(); diepass = ""; restartpass = ""; YLines = new Array();... | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/bdcf2d89c08a57e739262ded198c261af7f7b0f8/ircd.js/clean/ircd.js |
CLines.push(new CLine(arg[1],arg[2],arg[3],arg[4],arg[5])); | CLines.push(new CLine(arg[1],arg[2],arg[3],arg[4],parseInt(arg[5]))); | function read_config_file() { Admin1 = ""; Admin2 = ""; Admin3 = ""; CLines = new Array(); HLines = new Array(); ILines = new Array(); KLines = new Array(); NLines = new Array(); OLines = new Array(); PLines = new Array(); QLines = new Array(); ULines = new Array(); diepass = ""; restartpass = ""; YLines = new Array();... | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/bdcf2d89c08a57e739262ded198c261af7f7b0f8/ircd.js/clean/ircd.js |
kline_mask = create_ban_mask(arg[1],true); | var kline_mask = create_ban_mask(arg[1],true); | function read_config_file() { Admin1 = ""; Admin2 = ""; Admin3 = ""; CLines = new Array(); HLines = new Array(); ILines = new Array(); KLines = new Array(); NLines = new Array(); OLines = new Array(); PLines = new Array(); QLines = new Array(); ULines = new Array(); diepass = ""; restartpass = ""; YLines = new Array();... | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/bdcf2d89c08a57e739262ded198c261af7f7b0f8/ircd.js/clean/ircd.js |
log("Reading " + fname); | log("Reading Config: " + fname); | function read_config_file() { Admin1 = ""; Admin2 = ""; Admin3 = ""; CLines = new Array(); KLines = new Array(); NLines = new Array(); OLines = new Array(); QLines = new Array(); ULines = new Array(); fname=""; if (config_filename && config_filename.length) fname=system.ctrl_dir + config_filename; else { fname=system... | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/995570afd2ebfd8ca9cc37782b0e8fc41222eae4/ircd.js/clean/ircd.js |
if (conf_line == null) break; arg = conf_line.split(":"); for(argument in arg) { arg[argument]=arg[argument].replace( /SYSTEM_HOST_NAME/g,system.host_name); arg[argument]=arg[argument].replace( /SYSTEM_NAME/g,system.name); arg[argument]=arg[argument].replace( /SYSTEM_QWKID/g,system.qwk_id.toLowerCase()); arg[argument]=... | if ((conf_line != null) && conf_line.match("[:]")) { arg = conf_line.split(":"); for(argument in arg) { arg[argument]=arg[argument].replace( /SYSTEM_HOST_NAME/g,system.host_name); arg[argument]=arg[argument].replace( /SYSTEM_NAME/g,system.name); arg[argument]=arg[argument].replace( /SYSTEM_QWKID/g,system.qwk_id.toLower... | function read_config_file() { Admin1 = ""; Admin2 = ""; Admin3 = ""; CLines = new Array(); KLines = new Array(); NLines = new Array(); OLines = new Array(); QLines = new Array(); ULines = new Array(); fname=""; if (config_filename && config_filename.length) fname=system.ctrl_dir + config_filename; else { fname=system... | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/995570afd2ebfd8ca9cc37782b0e8fc41222eae4/ircd.js/clean/ircd.js |
Admin1 = arg[1]; Admin2 = arg[2]; Admin3 = arg[3]; break; case "C": if (!arg[5]) | case "C": if (!arg[5]) break; CLines.push(new CLine(arg[1],arg[2],arg[3],arg[4],arg[5])); | function read_config_file() { Admin1 = ""; Admin2 = ""; Admin3 = ""; CLines = new Array(); KLines = new Array(); NLines = new Array(); OLines = new Array(); QLines = new Array(); ULines = new Array(); fname=""; if (config_filename && config_filename.length) fname=system.ctrl_dir + config_filename; else { fname=system... | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/995570afd2ebfd8ca9cc37782b0e8fc41222eae4/ircd.js/clean/ircd.js |
CLines.push(new CLine(arg[1],arg[2],arg[3],arg[4],arg[5])); break; case "K": if (!arg[2]) | case "K": if (!arg[2]) break; kline_mask = create_ban_mask(arg[1],true); if (!kline_mask) { log("!WARNING Invalid K:Line (" + arg[1] + ")"); break; } KLines.push(new KLine(kline_mask,arg[2],"K")); | function read_config_file() { Admin1 = ""; Admin2 = ""; Admin3 = ""; CLines = new Array(); KLines = new Array(); NLines = new Array(); OLines = new Array(); QLines = new Array(); ULines = new Array(); fname=""; if (config_filename && config_filename.length) fname=system.ctrl_dir + config_filename; else { fname=system... | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/995570afd2ebfd8ca9cc37782b0e8fc41222eae4/ircd.js/clean/ircd.js |
kline_mask = create_ban_mask(arg[1],true); if (!kline_mask) { log("!WARNING Invalid K:Line (" + arg[1] + ")"); | case "M": if (!arg[3]) break; servername = arg[1]; serverdesc = arg[3]; | function read_config_file() { Admin1 = ""; Admin2 = ""; Admin3 = ""; CLines = new Array(); KLines = new Array(); NLines = new Array(); OLines = new Array(); QLines = new Array(); ULines = new Array(); fname=""; if (config_filename && config_filename.length) fname=system.ctrl_dir + config_filename; else { fname=system... | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/995570afd2ebfd8ca9cc37782b0e8fc41222eae4/ircd.js/clean/ircd.js |
} KLines.push(new KLine(kline_mask,arg[2],"K")); break; case "M": if (!arg[3]) | case "N": if (!arg[5]) break; NLines.push(new NLine(arg[1],arg[2],arg[3],arg[4],arg[5])); | function read_config_file() { Admin1 = ""; Admin2 = ""; Admin3 = ""; CLines = new Array(); KLines = new Array(); NLines = new Array(); OLines = new Array(); QLines = new Array(); ULines = new Array(); fname=""; if (config_filename && config_filename.length) fname=system.ctrl_dir + config_filename; else { fname=system... | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/995570afd2ebfd8ca9cc37782b0e8fc41222eae4/ircd.js/clean/ircd.js |
servername = arg[1]; serverdesc = arg[3]; break; case "N": if (!arg[5]) | case "O": if (!arg[5]) break; OLines.push(new OLine(arg[1],arg[2],arg[3],arg[4],arg[5])); | function read_config_file() { Admin1 = ""; Admin2 = ""; Admin3 = ""; CLines = new Array(); KLines = new Array(); NLines = new Array(); OLines = new Array(); QLines = new Array(); ULines = new Array(); fname=""; if (config_filename && config_filename.length) fname=system.ctrl_dir + config_filename; else { fname=system... | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/995570afd2ebfd8ca9cc37782b0e8fc41222eae4/ircd.js/clean/ircd.js |
NLines.push(new NLine(arg[1],arg[2],arg[3],arg[4],arg[5])); break; case "O": if (!arg[5]) | case "Q": if (!arg[3]) break; QLines.push(new QLine(arg[3],arg[2])); | function read_config_file() { Admin1 = ""; Admin2 = ""; Admin3 = ""; CLines = new Array(); KLines = new Array(); NLines = new Array(); OLines = new Array(); QLines = new Array(); ULines = new Array(); fname=""; if (config_filename && config_filename.length) fname=system.ctrl_dir + config_filename; else { fname=system... | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/995570afd2ebfd8ca9cc37782b0e8fc41222eae4/ircd.js/clean/ircd.js |
OLines.push(new OLine(arg[1],arg[2],arg[3],arg[4],arg[5])); break; case "Q": if (!arg[3]) | case "U": if (!arg[1]) break; ULines.push(arg[1]); | function read_config_file() { Admin1 = ""; Admin2 = ""; Admin3 = ""; CLines = new Array(); KLines = new Array(); NLines = new Array(); OLines = new Array(); QLines = new Array(); ULines = new Array(); fname=""; if (config_filename && config_filename.length) fname=system.ctrl_dir + config_filename; else { fname=system... | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/995570afd2ebfd8ca9cc37782b0e8fc41222eae4/ircd.js/clean/ircd.js |
QLines.push(new QLine(arg[3],arg[2])); break; case "U": if (!arg[1]) | case "#": case ";": default: | function read_config_file() { Admin1 = ""; Admin2 = ""; Admin3 = ""; CLines = new Array(); KLines = new Array(); NLines = new Array(); OLines = new Array(); QLines = new Array(); ULines = new Array(); fname=""; if (config_filename && config_filename.length) fname=system.ctrl_dir + config_filename; else { fname=system... | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/995570afd2ebfd8ca9cc37782b0e8fc41222eae4/ircd.js/clean/ircd.js |
ULines.push(arg[1]); break; case "#": case ";": default: break; | } | function read_config_file() { Admin1 = ""; Admin2 = ""; Admin3 = ""; CLines = new Array(); KLines = new Array(); NLines = new Array(); OLines = new Array(); QLines = new Array(); ULines = new Array(); fname=""; if (config_filename && config_filename.length) fname=system.ctrl_dir + config_filename; else { fname=system... | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/995570afd2ebfd8ca9cc37782b0e8fc41222eae4/ircd.js/clean/ircd.js |
if (config_filename && config_filename.length) fname=system.ctrl_dir + config_filename; else { | if (config_filename && config_filename.length) { if(config_filename.indexOf('/')>=0 || config_filename.indexOf('\\')>=0) fname=config_filename; else fname=system.ctrl_dir + config_filename; } else { | function read_config_file() { Admin1 = ""; Admin2 = ""; Admin3 = ""; CLines = new Array(); HLines = new Array(); ILines = new Array(); KLines = new Array(); NLines = new Array(); OLines = new Array(); PLines = new Array(); QLines = new Array(); ULines = new Array(); diepass = ""; restartpass = ""; YLines = new Array();... | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/9effcbcac76d03f5baebaf13766d21ae15b5b7a1/ircd.js/buggy/ircd.js |
log("Reading Config: " + fname); | function read_config_file() { Admin1 = ""; Admin2 = ""; Admin3 = ""; CLines = new Array(); HLines = new Array(); ILines = new Array(); KLines = new Array(); NLines = new Array(); OLines = new Array(); PLines = new Array(); QLines = new Array(); ULines = new Array(); diepass = ""; restartpass = ""; YLines = new Array();... | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/9effcbcac76d03f5baebaf13766d21ae15b5b7a1/ircd.js/buggy/ircd.js | |
case "X": diepass = arg[1]; restartpass = arg[2]; break; | function read_config_file() { Admin1 = ""; Admin2 = ""; Admin3 = ""; CLines = new Array(); ILines = new Array(); KLines = new Array(); NLines = new Array(); OLines = new Array(); QLines = new Array(); ULines = new Array(); YLines = new Array(); ZLines = new Array(); fname=""; if (config_filename && config_filename.leng... | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/9391ec6e3acaecf7a3a4e48b48d6dfa93b1b8c93/ircd.js/clean/ircd.js | |
printf("rsp: %s",rsp); | printf("rsp: %s\r\n",rsp); | function readln(str){ rsp = socket.readln(); if(debug) printf("rsp: %s",rsp); return(rsp);} | 4284 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4284/a31d60a81cfd64393495f7051fe36bcd4af88685/newslink.js/buggy/newslink.js |
} | }, | readURL: function(url) { var stream = this.openURLInputStream(url); var content = stream.read(stream.available()); stream.close(); return content; } | 4983 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4983/67155761870bd75989206a0cfcfbe89f190b5bef/file-utils.js/clean/src/content/file-utils.js |
valueL += element.scrollLeft || 0; | valueL += element.scrollLeft || 0; | realOffset: function(element) { var valueT = 0, valueL = 0; do { valueT += element.scrollTop || 0; valueL += element.scrollLeft || 0; element = element.parentNode; } while (element); return [valueL, valueT]; }, | 742 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/742/3f913f897829fb026ef98df2d57f8da94ee5339d/prototype.js/buggy/public/javascripts/prototype.js |
NewWindow('/addTimerEvent?ref=' + ref + 'start=' + start + '&duration=' + duration + '&descr=' + description + '&channel=' + channel, 'record', '200', '200', 'no', '5000'); | NewWindow('/addTimerEvent?ref=' + ref + '&start=' + start + '&duration=' + duration + '&descr=' + description + '&channel=' + channel, 'record', '200', '200', 'no', '5000'); | function record(ref, start, duration, description, channel){ NewWindow('/addTimerEvent?ref=' + ref + 'start=' + start + '&duration=' + duration + '&descr=' + description + '&channel=' + channel, 'record', '200', '200', 'no', '5000');} | 6281 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6281/4fcb538d83f13263a1a26efc25f16ac542086df4/epg.js/clean/tuxbox/enigma/data/htdocs/epg.js |
this.recordPageLoad = function() { | this.recordPageLoad = function(elementOrWindow) { | this.recordPageLoad = function() { LOG.debug("Page load detected"); try { LOG.debug("Page load location=" + self.getCurrentWindow(true).location); } catch (e) { LOG.error("Caught an exception attempting to log location; this should get noticed soon!"); LOG.excep... | 4983 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4983/4e0a02c1c4c22cfcb651a4876c917b70f01b9d82/selenium-browserbot.js/buggy/code/javascript/core/scripts/selenium-browserbot.js |
LOG.debug("Page load location=" + self.getCurrentWindow(true).location); | if (elementOrWindow.location && elementOrWindow.location.href) { LOG.debug("Page load location=" + elementOrWindow.location.href); } else if (elementOrWindow.contentWindow && elementOrWindow.contentWindow.location && elementOrWindow.contentWindow.location.href) { LOG.debug("Page load location=" + elementOrWindow.conten... | this.recordPageLoad = function() { LOG.debug("Page load detected"); try { LOG.debug("Page load location=" + self.getCurrentWindow(true).location); } catch (e) { LOG.error("Caught an exception attempting to log location; this should get noticed soon!"); LOG.excep... | 4983 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4983/4e0a02c1c4c22cfcb651a4876c917b70f01b9d82/selenium-browserbot.js/buggy/code/javascript/core/scripts/selenium-browserbot.js |
LOG.debug("Page load location=" + self.getCurrentWindow().location); | LOG.debug("Page load location=" + self.getCurrentWindow().location); | this.recordPageLoad = function() { LOG.debug("Page load detected"); try { LOG.debug("Page load location=" + self.getCurrentWindow().location); } catch (e) { self.pageLoadError = e; return; } self.currentPage = null; self.newPageLoaded = true; }; | 4983 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4983/0e14a53996e4d4f6077da9fa5f25415f4fff0108/selenium-browserbot.js/buggy/code/javascript/core/scripts/selenium-browserbot.js |
self.pageLoadError = e; return; | self.pageLoadError = e; return; | this.recordPageLoad = function() { LOG.debug("Page load detected"); try { LOG.debug("Page load location=" + self.getCurrentWindow().location); } catch (e) { self.pageLoadError = e; return; } self.currentPage = null; self.newPageLoaded = true; }; | 4983 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4983/0e14a53996e4d4f6077da9fa5f25415f4fff0108/selenium-browserbot.js/buggy/code/javascript/core/scripts/selenium-browserbot.js |
LOG.debug("Page load detected, location=" + self.getCurrentWindow().location); | LOG.debug("Page load detected"); try { LOG.debug("Page load location=" + self.getCurrentWindow().location); } catch (e) { self.pageLoadError = e; return; } | this.recordPageLoad = function() { LOG.debug("Page load detected, location=" + self.getCurrentWindow().location); self.currentPage = null; self.newPageLoaded = true; }; | 4983 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4983/5a068b4300c7479e884b8a0c259ed1a39ef6496a/selenium-browserbot.js/buggy/code/javascript/core/scripts/selenium-browserbot.js |
LOG.debug("Page load location=" + self.getCurrentWindow().location); | LOG.debug("Page load location=" + self.getCurrentWindow().location); | this.recordPageLoad = function() { LOG.debug("Page load detected"); try { LOG.debug("Page load location=" + self.getCurrentWindow().location); } catch (e) { self.pageLoadError = e; return; } self.currentPage = null; self.newPageLoaded = true; ... | 4983 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4983/6b0b260c628dcdbf842d816728bb3bdcc6219faa/selenium-browserbot.js/buggy/code/javascript/core/scripts/selenium-browserbot.js |
self.pageLoadError = e; return; | self.pageLoadError = e; return; | this.recordPageLoad = function() { LOG.debug("Page load detected"); try { LOG.debug("Page load location=" + self.getCurrentWindow().location); } catch (e) { self.pageLoadError = e; return; } self.currentPage = null; self.newPageLoaded = true; ... | 4983 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4983/6b0b260c628dcdbf842d816728bb3bdcc6219faa/selenium-browserbot.js/buggy/code/javascript/core/scripts/selenium-browserbot.js |
LOG.debug("Page load detected"); | LOG.debug("Page load detected, location=" + self.getCurrentWindow().location); | this.recordPageLoad = function() { LOG.debug("Page load detected"); self.currentPage = null; self.newPageLoaded = true; }; | 4983 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4983/c9ad9e534ac11b80c0d2046f424d1a94b3274d3f/selenium-browserbot.js/clean/code/javascript/selenium-browserbot.js |
LOG.error("Caught an exception attempting to log location; this should get noticed soon!"); LOG.exception(e); | this.recordPageLoad = function() { LOG.debug("Page load detected"); try { LOG.debug("Page load location=" + self.getCurrentWindow(true).location); } catch (e) { self.pageLoadError = e; return; } self.currentPage = null; self.newPageLoaded = ... | 4983 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4983/476ccd842ee26de6c101e6581d2a0f5bb251d2f6/selenium-browserbot.js/clean/code/javascript/core/scripts/selenium-browserbot.js | |
LOG.debug("Page load detected"); | LOG.debug("Page load detected, location=" + self.getCurrentWindow().location); | this.recordPageLoad = function() { LOG.debug("Page load detected"); self.currentPage = null; self.newPageLoaded = true; }; | 4983 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4983/1373e1377af777ef6f4d581ca503ac7a5b698db7/selenium-browserbot.js/buggy/code/javascript/selenium-browserbot.js |
addCommand("assertTitle", window.document.title, null, window); | addCommand("assertTitle", exactMatchPattern(window.document.title), null, window); | function recordTitle(window) { if (this.options.recordAssertTitle == 'true' && this.testCase.commands.length > 0) { //setTimeout("addCommand", 200, "assertTitle", window.document.title, null, window); addCommand("assertTitle", window.document.title, null, window); }} | 4983 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4983/56fc4f5f3917b78710f5a5ebd9ac6059585b5b7f/selenium-ide.js/clean/src/content/selenium-ide.js |
debug("recoverQueryBuffers: start"); | debug.print("recoverQueryBuffers: start"); | function recoverQueryBuffers() { // given a list of buffers, import them debug("recoverQueryBuffers: start"); var bufCookie = getCookie(g_cq_buffers_cookie); if (bufCookie != null) { var buffersNode = document.getElementById(g_cq_buffers_area_id); debug("recoverQueryBuffers: " + bufCookie); ... | 952 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/952/499e513a3cc333dbcb784318ca05ad90a90b7c8e/cq.js/clean/cq.js |
debug("recoverQueryBuffers: " + bufCookie); | debug.print("recoverQueryBuffers: " + bufCookie); | function recoverQueryBuffers() { // given a list of buffers, import them debug("recoverQueryBuffers: start"); var bufCookie = getCookie(g_cq_buffers_cookie); if (bufCookie != null) { var buffersNode = document.getElementById(g_cq_buffers_area_id); debug("recoverQueryBuffers: " + bufCookie); ... | 952 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/952/499e513a3cc333dbcb784318ca05ad90a90b7c8e/cq.js/clean/cq.js |
debug("recoverQueryBuffers: null buffersNode"); | debug.print("recoverQueryBuffers: null buffersNode"); | function recoverQueryBuffers() { // given a list of buffers, import them debug("recoverQueryBuffers: start"); var bufCookie = getCookie(g_cq_buffers_cookie); if (bufCookie != null) { var buffersNode = document.getElementById(g_cq_buffers_area_id); debug("recoverQueryBuffers: " + bufCookie); ... | 952 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/952/499e513a3cc333dbcb784318ca05ad90a90b7c8e/cq.js/clean/cq.js |
debug("recoverQueryHistory: start"); | debug.print("recoverQueryHistory: start"); | function recoverQueryHistory() { // given a list of queries, put them in the history debug("recoverQueryHistory: start"); var histCookie = getCookie(g_cq_history_cookie); if (histCookie != null) { var listNode = getQueryHistoryListNode(true); if (! listNode) { debug("recoverQueryHis... | 952 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/952/499e513a3cc333dbcb784318ca05ad90a90b7c8e/cq.js/clean/cq.js |
debug("recoverQueryHistory: null listNode"); | debug.print("recoverQueryHistory: null listNode"); | function recoverQueryHistory() { // given a list of queries, put them in the history debug("recoverQueryHistory: start"); var histCookie = getCookie(g_cq_history_cookie); if (histCookie != null) { var listNode = getQueryHistoryListNode(true); if (! listNode) { debug("recoverQueryHis... | 952 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/952/499e513a3cc333dbcb784318ca05ad90a90b7c8e/cq.js/clean/cq.js |
var iframe = document.createElement('iframe'); | var div = document.createElement('div'); div.innerHTML = '<iframe name="redirect-target" id="redirect-target" class="redirect"></iframe>'; var iframe = div.firstChild; | function redirectFormButton(uri, button, handler) { // Insert the iframe var iframe = document.createElement('iframe'); with (iframe) { name = 'redirect-target'; setAttribute('name', 'redirect-target'); id = 'redirect-target'; } with (iframe.style) { position = 'absolute'; height = '1px'; width =... | 3650 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3650/5a37a75966b0a33cc12f4b1db4344e7065d468ff/drupal.js/clean/misc/drupal.js |
button.onfocus = function() { | button.onmouseover = button.onfocus = function() { | function redirectFormButton(uri, button, handler) { // Insert the iframe var iframe = document.createElement('iframe'); with (iframe) { name = 'redirect-target'; setAttribute('name', 'redirect-target'); id = 'redirect-target'; } with (iframe.style) { position = 'absolute'; height = '1px'; width =... | 3650 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3650/5a37a75966b0a33cc12f4b1db4344e7065d468ff/drupal.js/clean/misc/drupal.js |
button.onblur = function() { | button.onmouseout = button.onblur = function() { | function redirectFormButton(uri, button, handler) { // Insert the iframe var iframe = document.createElement('iframe'); with (iframe) { name = 'redirect-target'; setAttribute('name', 'redirect-target'); id = 'redirect-target'; } with (iframe.style) { position = 'absolute'; height = '1px'; width =... | 3650 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3650/5a37a75966b0a33cc12f4b1db4344e7065d468ff/drupal.js/clean/misc/drupal.js |
var div = document.createElement('div'); div.innerHTML = '<iframe name="redirect-target" id="redirect-target" src="" style="width:0px;height:0px;border:0;"></iframe>'; button.parentNode.appendChild(div); | var iframe = document.createElement('iframe'); with (iframe) { name = 'redirect-target'; setAttribute('name', 'redirect-target'); id = 'redirect-target'; } with (iframe.style) { position = 'absolute'; height = '1px'; width = '1px'; visibility = 'hidden'; } document.body.appendChild(iframe); | function redirectFormButton(uri, button, handler) { // Insert the iframe var div = document.createElement('div'); div.innerHTML = '<iframe name="redirect-target" id="redirect-target" src="" style="width:0px;height:0px;border:0;"></iframe>'; button.parentNode.appendChild(div); // Trap the button button.onfocus = f... | 3650 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3650/7f73c2bfb2ad78e8867ba25c1fb1e6848418f6da/drupal.js/clean/misc/drupal.js |
return true; | function redirectFormButton(uri, button, handler) { // Insert the iframe var div = document.createElement('div'); div.innerHTML = '<iframe name="redirect-target" id="redirect-target" src="" style="width:0px;height:0px;border:0;"></iframe>'; button.parentNode.appendChild(div); // Trap the button button.onfocus = f... | 3650 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3650/7f73c2bfb2ad78e8867ba25c1fb1e6848418f6da/drupal.js/clean/misc/drupal.js | |
response = response.replace(/[\f\n\r\t\v]/g, ' '); | function redirectFormButton(uri, button, handler) { // Make sure we have an iframe to target createIframe(); // Trap the button button.onmouseover = button.onfocus = function() { button.onclick = function() { // Prepare variables for use in anonymous function. var button = this; var action = butto... | 3650 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3650/2d1aeff2d1c6d0538ca44a9ed3b47a5481362f67/drupal.js/buggy/misc/drupal.js | |
function redirectFormButton(uri, button, handler) { // Insert the iframe var iframe = document.createElement('iframe'); with (iframe) { name = 'redirect-target'; setAttribute('name', 'redirect-target'); id = 'redirect-target'; } with (iframe.style) { position = 'absolute'; height = '1px'; width =... | 3650 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3650/f6764cfbd8dcdedd05263711a41fcedb72dda2ab/drupal.js/clean/misc/drupal.js | ||
redo : function() { var inst = this.instance; tinyMCE.execCommand("mceEndTyping"); if (this.undoIndex < (this.undoLevels.length-1)) { this.undoIndex++; tinyMCE.setInnerHTML(inst.getBody(), this.undoLevels[this.undoIndex].content); inst.repaint();// if (this.undoIndex > 0)// inst.selection.moveToBookm... | 10343 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10343/524e24acf79702622c51dba4bb678337072e34b9/tiny_mce_src.js/clean/mambots/editors/tinymce/jscripts/tiny_mce/tiny_mce_src.js | ||
redo : function() { var inst = this.instance; tinyMCE.execCommand("mceEndTyping"); if (this.undoIndex < (this.undoLevels.length-1)) { this.undoIndex++; tinyMCE.setInnerHTML(inst.getBody(), this.undoLevels[this.undoIndex].content); inst.repaint();// if (this.undoIndex > 0)// inst.selection.moveToBookm... | 10343 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10343/524e24acf79702622c51dba4bb678337072e34b9/tiny_mce_src.js/clean/mambots/editors/tinymce/jscripts/tiny_mce/tiny_mce_src.js | ||
if (!(baseLayer && checked)) { Event.observe(labelSpan, "click", this.onLabelClick.bindAsEventListener(inputElem)); } | Event.observe(labelSpan, "click", this.onLabelClick.bindAsEventListener(inputElem)); | redraw: function() { //clear out previous layers this.baseLayersDiv.innerHTML = ""; this.baseLayerInputs = new Array(); this.dataLayersDiv.innerHTML = ""; this.dataLayerInputs = new Array(); var containsOverlays = false; for( var i = 0; i < t... | 2032 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2032/b2ab65df12d963bbce1c2bd2d14b84ac30fa1b93/LayerSwitcher.js/buggy/lib/OpenLayers/Control/LayerSwitcher.js |
labelSpan.style.verticalAlign = (baseLayer) ? "bottom" : "auto"; | labelSpan.style.verticalAlign = (baseLayer) ? "bottom" : "baseline"; | redraw: function() { //clear out previous layers this.baseLayersDiv.innerHTML = ""; this.baseLayerInputs = new Array(); this.dataLayersDiv.innerHTML = ""; this.dataLayerInputs = new Array(); var containsOverlays = false; for( var i = 0; i < t... | 2032 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2032/7a1ae31fc457e60dd8760e6770d824b32f89659d/LayerSwitcher.js/buggy/lib/OpenLayers/Control/LayerSwitcher.js |
labelSpan.style.verticalAlign = (baseLayer) ? "bottom" : "auto"; | labelSpan.style.verticalAlign = (baseLayer) ? "bottom" : "baseline"; | redraw: function() { //clear out previous layers this.baseLayersDiv.innerHTML = ""; this.baseLayerInputs = new Array(); this.dataLayersDiv.innerHTML = ""; this.dataLayerInputs = new Array(); var containsOverlays = false; for( var i = 0; i < t... | 2031 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2031/7a1ae31fc457e60dd8760e6770d824b32f89659d/LayerSwitcher.js/clean/lib/OpenLayers/Control/LayerSwitcher.js |
this.div.innerHTML = ""; var visible = false; | this.baseLayersDiv.innerHTML = ""; this.baseLayerInputs = new Array(); this.dataLayersDiv.innerHTML = ""; this.dataLayerInputs = new Array(); | redraw: function() { //clear out previous incarnation of LayerSwitcher tabs this.div.innerHTML = ""; var visible = false; for( var i = 0; i < this.map.layers.length; i++) { if (visible && this.mode == "radio") { this.map.layers[i].setVisibility(false); ... | 2032 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2032/f3a072b151fd0fb48097965647921f2ea0396651/LayerSwitcher.js/buggy/lib/OpenLayers/Control/LayerSwitcher.js |
if (visible && this.mode == "radio") { this.map.layers[i].setVisibility(false); } else { visible = this.map.layers[i].getVisibility(); } this.addTab(this.map.layers[i]); | var layer = this.map.layers[i]; var baseLayer = layer.isBaseLayer; var checked = (baseLayer) ? (layer == this.map.baseLayer) : layer.getVisibility(); var inputElem = document.createElement("input"); inputElem.id = "input_" + layer.name; inputElem.name = (baseLayer) ? "baseLayers" : layer.name; inputElem.type = (ba... | redraw: function() { //clear out previous incarnation of LayerSwitcher tabs this.div.innerHTML = ""; var visible = false; for( var i = 0; i < this.map.layers.length; i++) { if (visible && this.mode == "radio") { this.map.layers[i].setVisibility(false); ... | 2032 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2032/f3a072b151fd0fb48097965647921f2ea0396651/LayerSwitcher.js/buggy/lib/OpenLayers/Control/LayerSwitcher.js |
redraw: function() { //clear out previous incarnation of LayerSwitcher tabs this.div.innerHTML = ""; var visible = false; for( var i = 0; i < this.map.layers.length; i++) { if (visible && this.mode == "radio") { this.map.layers[i].setVisibility(false); ... | 2032 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2032/f3a072b151fd0fb48097965647921f2ea0396651/LayerSwitcher.js/buggy/lib/OpenLayers/Control/LayerSwitcher.js | ||
if (!(baseLayer && checked)) { Event.observe(labelSpan, "click", this.onLabelClick.bindAsEventListener(inputElem)); } | Event.observe(labelSpan, "click", this.onLabelClick.bindAsEventListener(inputElem)); | redraw: function() { //clear out previous layers this.baseLayersDiv.innerHTML = ""; this.baseLayerInputs = new Array(); this.dataLayersDiv.innerHTML = ""; this.dataLayerInputs = new Array(); var containsOverlays = false; for( var i = 0; i < t... | 2031 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2031/b2ab65df12d963bbce1c2bd2d14b84ac30fa1b93/LayerSwitcher.js/buggy/lib/OpenLayers/Control/LayerSwitcher.js |
this.div.innerHTML = ""; var visible = false; | this.baseLayersDiv.innerHTML = ""; this.baseLayerInputs = new Array(); this.dataLayersDiv.innerHTML = ""; this.dataLayerInputs = new Array(); | redraw: function() { //clear out previous incarnation of LayerSwitcher tabs this.div.innerHTML = ""; var visible = false; for( var i = 0; i < this.map.layers.length; i++) { if (visible && this.mode == "radio") { this.map.layers[i].setVisibility(false); ... | 2031 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2031/f3a072b151fd0fb48097965647921f2ea0396651/LayerSwitcher.js/clean/lib/OpenLayers/Control/LayerSwitcher.js |
if (visible && this.mode == "radio") { this.map.layers[i].setVisibility(false); } else { visible = this.map.layers[i].getVisibility(); } this.addTab(this.map.layers[i]); | var layer = this.map.layers[i]; var baseLayer = layer.isBaseLayer; var checked = (baseLayer) ? (layer == this.map.baseLayer) : layer.getVisibility(); var inputElem = document.createElement("input"); inputElem.id = "input_" + layer.name; inputElem.name = (baseLayer) ? "baseLayers" : layer.name; inputElem.type = (ba... | redraw: function() { //clear out previous incarnation of LayerSwitcher tabs this.div.innerHTML = ""; var visible = false; for( var i = 0; i < this.map.layers.length; i++) { if (visible && this.mode == "radio") { this.map.layers[i].setVisibility(false); ... | 2031 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2031/f3a072b151fd0fb48097965647921f2ea0396651/LayerSwitcher.js/clean/lib/OpenLayers/Control/LayerSwitcher.js |
redraw: function() { //clear out previous incarnation of LayerSwitcher tabs this.div.innerHTML = ""; var visible = false; for( var i = 0; i < this.map.layers.length; i++) { if (visible && this.mode == "radio") { this.map.layers[i].setVisibility(false); ... | 2031 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2031/f3a072b151fd0fb48097965647921f2ea0396651/LayerSwitcher.js/clean/lib/OpenLayers/Control/LayerSwitcher.js | ||
if (this.current == 0) { debug.print(label + "displaying buffers"); this.buffersTitle.className = "buffer-tab-active"; this.historyTitle.className = "buffer-tab"; Element.show(buffersNode); Element.hide(historyNode); return; } debug.print(label + "displaying history"); this.buffersTitle.className = "buffer-tab"; ... | this.refresh = function(n) { var label = "BufferTabsClass.refresh: "; debug.print(label + n + ", " + this.current); if (isNaN(n)) { return this.refresh(this.current); } this.current = null == n ? 0 : n; // focus on the textarea this.buffers.focus(); ... | 952 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/952/d247a1b6dacb7417d1b16dd5d23f8786e47c143b/query.js/buggy/query.js | |
this.refresh = function(n) { var label = "BufferTabsClass.refresh: "; debug.print(label + n + ", " + this.current); if (isNaN(n)) { return this.refresh(this.current); } this.current = null == n ? 0 : n; // focus on the textarea this.buffers.focus(); ... | 952 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/952/95f89c0957a3426915b61066d1c0793d3f8f49db/query.js/buggy/query.js | ||
refresh: function(length) { | refresh: function() { | refresh: function(length) { this.updateView(); }, | 4983 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4983/8559b7c3e1067cd32f5489bd7a35360a222901a0/sourceView.js/clean/src/content/sourceView.js |
function refreshBufferList(n, src) { // display only the current buffer (textarea) // show labels for each buffer // short-circuit if the buffer doesn't exist if (getBuffer(n) == null) return; // labels are stored in divs in a table cell var labelsNode = document.getElementById(g_cq_bufferlist_... | 952 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/952/4a2633599ca5757bb9f9b09e8a112efe67781fe2/cq.js/buggy/cq.js | ||
function refreshBufferList(n, src) { // display only the current buffer (textarea) // show labels for each buffer // short-circuit if the buffer doesn't exist if (getBuffer(n) == null) return; // labels are stored in divs in a table cell var labelsNode = document.getElementById(g_cq_bufferlist_... | 952 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/952/4a2633599ca5757bb9f9b09e8a112efe67781fe2/cq.js/buggy/cq.js | ||
if (theBuffer.selectionStart) { if (g_cq_carets[i] == null) { g_cq_carets[i] = theBuffer.value.length; } debug.print("restoring caret position " + g_cq_carets[i]); theBuffer.selectionStart = g_cq_carets[i]; theBuffer.selectionEnd = g_cq_carets[i]; } | restoreCaretPosition(theBuffer, g_cq_carets[i]); | function refreshBufferList(n, src) { // display only the current buffer (textarea) // show labels for each buffer // short-circuit if the buffer doesn't exist if (getBuffer(n) == null) return; // labels are stored in divs in a table cell var labelsNode = document.getElementById(g_cq_bufferlist_... | 952 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/952/4a2633599ca5757bb9f9b09e8a112efe67781fe2/cq.js/buggy/cq.js |
function refreshBufferList(n) { | function refreshBufferList(n, src) { | function refreshBufferList(n) { // display only the current buffer (textarea) // show labels for each buffer var theBuffer = null; var theParent = document.getElementById(g_cq_buffers_id); // labels are stored in divs in a table cell var labelsNode = document.getElementById(g_cq_bufferlist_id); rem... | 952 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/952/5917330c0d2e34cb6706d33cdb3cff9f12ceccb6/cq.js/buggy/cq.js |
if (! n) | if (! n) { | function refreshBufferList(n) { // display only the current buffer (textarea) // show labels for each buffer var theBuffer = null; var theParent = document.getElementById(g_cq_buffers_id); // labels are stored in divs in a table cell var labelsNode = document.getElementById(g_cq_bufferlist_id); rem... | 952 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/952/5917330c0d2e34cb6706d33cdb3cff9f12ceccb6/cq.js/buggy/cq.js |
debug("refreshBufferList: " + g_cq_buffer_current); | debug("refreshBufferList: from " + src + ", show " + g_cq_buffer_current); | function refreshBufferList(n) { // display only the current buffer (textarea) // show labels for each buffer var theBuffer = null; var theParent = document.getElementById(g_cq_buffers_id); // labels are stored in divs in a table cell var labelsNode = document.getElementById(g_cq_bufferlist_id); rem... | 952 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/952/5917330c0d2e34cb6706d33cdb3cff9f12ceccb6/cq.js/buggy/cq.js |
debug("refreshBufferList: i = " + i + " of " + g_cq_buffers); | function refreshBufferList(n) { // display only the current buffer (textarea) // show labels for each buffer var theBuffer = null; var theParent = document.getElementById(g_cq_buffers_id); // labels are stored in divs in a table cell var labelsNode = document.getElementById(g_cq_bufferlist_id); rem... | 952 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/952/5917330c0d2e34cb6706d33cdb3cff9f12ceccb6/cq.js/buggy/cq.js | |
debug("refreshBufferList: show " + g_cq_buffer_current); | function refreshBufferList(n) { // display only the current buffer (textarea) // show labels for each buffer var theBuffer = null; var theParent = document.getElementById(g_cq_buffers_id); // labels are stored in divs in a table cell var labelsNode = document.getElementById(g_cq_bufferlist_id); rem... | 952 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/952/5917330c0d2e34cb6706d33cdb3cff9f12ceccb6/cq.js/buggy/cq.js | |
if (! theBuffer.onblur) theBuffer.onblur = textAreaBlur; | function refreshBufferList(n, src) { // display only the current buffer (textarea) // show labels for each buffer var theBuffer = null; var theParent = document.getElementById(g_cq_buffers_id); // labels are stored in divs in a table cell var labelsNode = document.getElementById(g_cq_bufferlist_id); ... | 952 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/952/081d9c507c7fe8dce4987711db1a59d3e5fff4ef/cq.js/buggy/cq.js | |
theBuffer.onfocus = textAreaFocus; | theBuffer.onfocus = setLineNumberStatus; | function refreshBufferList(n, src) { // display only the current buffer (textarea) // show labels for each buffer var theBuffer = null; var theParent = document.getElementById(g_cq_buffers_id); // labels are stored in divs in a table cell var labelsNode = document.getElementById(g_cq_bufferlist_id); ... | 952 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/952/081d9c507c7fe8dce4987711db1a59d3e5fff4ef/cq.js/buggy/cq.js |
theBuffer.onclick = textAreaFocus; | theBuffer.onclick = setLineNumberStatus; if (! theBuffer.onkeyup) theBuffer.onkeyup = setLineNumberStatus; | function refreshBufferList(n, src) { // display only the current buffer (textarea) // show labels for each buffer var theBuffer = null; var theParent = document.getElementById(g_cq_buffers_id); // labels are stored in divs in a table cell var labelsNode = document.getElementById(g_cq_bufferlist_id); ... | 952 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/952/081d9c507c7fe8dce4987711db1a59d3e5fff4ef/cq.js/buggy/cq.js |
removeChildNodes(labelsNode); | labelsNode.removeChildNodes(); | function refreshBufferList(n, src) { // display only the current buffer (textarea) // show labels for each buffer // short-circuit if the buffer doesn't exist if (getBuffer(n) == null) return; // labels are stored in divs in a table cell var labelsNode = document.getElementById(g_cq_bufferlist_... | 952 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/952/499e513a3cc333dbcb784318ca05ad90a90b7c8e/cq.js/clean/cq.js |
debug("refreshBufferList: from " + src + ", show " + g_cq_buffer_current); | debug.print("refreshBufferList: from " + src + ", show " + g_cq_buffer_current); | function refreshBufferList(n, src) { // display only the current buffer (textarea) // show labels for each buffer // short-circuit if the buffer doesn't exist if (getBuffer(n) == null) return; // labels are stored in divs in a table cell var labelsNode = document.getElementById(g_cq_bufferlist_... | 952 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/952/499e513a3cc333dbcb784318ca05ad90a90b7c8e/cq.js/clean/cq.js |
function refreshBufferList(n, src) { // display only the current buffer (textarea) // show labels for each buffer // short-circuit if the buffer doesn't exist if (getBuffer(n) == null) return; // labels are stored in divs in a table cell var labelsNode = document.getElementById(g_cq_bufferlist_... | 952 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/952/499e513a3cc333dbcb784318ca05ad90a90b7c8e/cq.js/clean/cq.js | ||
hide(theBuffer); | theBuffer.hide(); | function refreshBufferList(n, src) { // display only the current buffer (textarea) // show labels for each buffer // short-circuit if the buffer doesn't exist if (getBuffer(n) == null) return; // labels are stored in divs in a table cell var labelsNode = document.getElementById(g_cq_bufferlist_... | 952 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/952/499e513a3cc333dbcb784318ca05ad90a90b7c8e/cq.js/clean/cq.js |
show(getBuffer()); | getBuffer().show(); | function refreshBufferList(n, src) { // display only the current buffer (textarea) // show labels for each buffer // short-circuit if the buffer doesn't exist if (getBuffer(n) == null) return; // labels are stored in divs in a table cell var labelsNode = document.getElementById(g_cq_bufferlist_... | 952 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/952/499e513a3cc333dbcb784318ca05ad90a90b7c8e/cq.js/clean/cq.js |
debug("refreshBufferList: " + g_cq_buffer_current); | function refreshBufferList(n) { // display only the current buffer (textarea) // show labels for each buffer var theBuffer = null; var theParent = document.getElementById(g_cq_buffers_id); // 0 will return false, will set to 0: ok if (! n) n = 0; g_cq_buffer_current = n; //alert("refreshB... | 952 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/952/469474651c3f770b832f583fd47778d445b5bf5a/cq.js/buggy/cq.js | |
debug("refreshBufferList: i = " + i + " of " + g_cq_buffers); | function refreshBufferList(n) { // display only the current buffer (textarea) // show labels for each buffer var theBuffer = null; var theParent = document.getElementById(g_cq_buffers_id); // 0 will return false, will set to 0: ok if (! n) n = 0; g_cq_buffer_current = n; //alert("refreshB... | 952 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/952/469474651c3f770b832f583fd47778d445b5bf5a/cq.js/buggy/cq.js | |
writeBufferLabel(i); | writeBufferLabel(tableBody, i); | function refreshBufferList(n) { // display only the current buffer (textarea) // show labels for each buffer var theBuffer = null; var theParent = document.getElementById(g_cq_buffers_id); // 0 will return false, will set to 0: ok if (! n) n = 0; g_cq_buffer_current = n; //alert("refreshB... | 952 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/952/469474651c3f770b832f583fd47778d445b5bf5a/cq.js/buggy/cq.js |
debug("refreshBufferList: show " + g_cq_buffer_current); | function refreshBufferList(n) { // display only the current buffer (textarea) // show labels for each buffer var theBuffer = null; var theParent = document.getElementById(g_cq_buffers_id); // 0 will return false, will set to 0: ok if (! n) n = 0; g_cq_buffer_current = n; //alert("refreshB... | 952 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/952/469474651c3f770b832f583fd47778d445b5bf5a/cq.js/buggy/cq.js | |
function refreshBufferList(n, src) { // display only the current buffer (textarea) // show labels for each buffer var theBuffer = null; var theParent = document.getElementById(g_cq_buffers_id); // labels are stored in divs in a table cell var labelsNode = document.getElementById(g_cq_bufferlist_id); ... | 952 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/952/11e761f817a6ee4df55686e1a237038fad231498/cq.js/buggy/cq.js | ||
if (! theBuffer.onclick) theBuffer.onclick = textAreaFocus; | function refreshBufferList(n, src) { // display only the current buffer (textarea) // show labels for each buffer var theBuffer = null; var theParent = document.getElementById(g_cq_buffers_id); // labels are stored in divs in a table cell var labelsNode = document.getElementById(g_cq_bufferlist_id); ... | 952 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/952/11e761f817a6ee4df55686e1a237038fad231498/cq.js/buggy/cq.js | |
labelsNode.removeChildNodes(); | removeChildNodes(labelsNode); | function refreshBufferList(n, src) { // display only the current buffer (textarea) // show labels for each buffer // short-circuit if the buffer doesn't exist if (getBuffer(n) == null) return; // labels are stored in divs in a table cell var labelsNode = document.getElementById(g_cq_bufferlist_... | 952 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/952/6b355f08875fd342ed1dc304b04eaed9f1da1046/cq.js/buggy/cq.js |
theBuffer.hide(); | hide(theBuffer); | function refreshBufferList(n, src) { // display only the current buffer (textarea) // show labels for each buffer // short-circuit if the buffer doesn't exist if (getBuffer(n) == null) return; // labels are stored in divs in a table cell var labelsNode = document.getElementById(g_cq_bufferlist_... | 952 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/952/6b355f08875fd342ed1dc304b04eaed9f1da1046/cq.js/buggy/cq.js |
getBuffer().show(); | show(getBuffer()); | function refreshBufferList(n, src) { // display only the current buffer (textarea) // show labels for each buffer // short-circuit if the buffer doesn't exist if (getBuffer(n) == null) return; // labels are stored in divs in a table cell var labelsNode = document.getElementById(g_cq_bufferlist_... | 952 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/952/6b355f08875fd342ed1dc304b04eaed9f1da1046/cq.js/buggy/cq.js |
debug.print("refreshBufferList: from " + src + ", show " + g_cq_buffer_current); | debug.print("refreshBufferList: from " + src + ", show " + g_cq_buffer_current); | function refreshBufferList(n, src) { // display only the current buffer (textarea) // show labels for each buffer // short-circuit if the buffer doesn't exist if (getBuffer(n) == null) return; // labels are stored in divs in a table cell var labelsNode = document.getElementById(g_cq_bufferlist_... | 952 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/952/2a746c51cb453135daac5b466cc200a56d6f3d98/cq.js/clean/cq.js |
var theBuffer = null; | function refreshBufferList(n, src) { // display only the current buffer (textarea) // show labels for each buffer // short-circuit if the buffer doesn't exist if (getBuffer(n) == null) return; // labels are stored in divs in a table cell var labelsNode = document.getElementById(g_cq_bufferlist_... | 952 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/952/2a746c51cb453135daac5b466cc200a56d6f3d98/cq.js/clean/cq.js | |
hide(theBuffer); | function refreshBufferList(n, src) { // display only the current buffer (textarea) // show labels for each buffer // short-circuit if the buffer doesn't exist if (getBuffer(n) == null) return; // labels are stored in divs in a table cell var labelsNode = document.getElementById(g_cq_bufferlist_... | 952 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/952/2a746c51cb453135daac5b466cc200a56d6f3d98/cq.js/clean/cq.js | |
show(getBuffer()); focusQueryInput(); | function refreshBufferList(n, src) { // display only the current buffer (textarea) // show labels for each buffer // short-circuit if the buffer doesn't exist if (getBuffer(n) == null) return; // labels are stored in divs in a table cell var labelsNode = document.getElementById(g_cq_bufferlist_... | 952 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/952/2a746c51cb453135daac5b466cc200a56d6f3d98/cq.js/clean/cq.js | |
var theParent = document.getElementById(g_cq_buffers_area_id); | function refreshBufferList(n, src) { // display only the current buffer (textarea) // show labels for each buffer // short-circuit if the buffer doesn't exist if (getBuffer(n) == null) return; // parent of all the textareas var theParent = document.getElementById(g_cq_buffers_area_id); // la... | 952 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/952/d78133c63c6016418ecccff62bb2c65ed609c867/cq.js/clean/cq.js | |
var theParent = document.getElementById(g_cq_buffers_area_id); | function refreshBufferList(n, src) { // display only the current buffer (textarea) // show labels for each buffer // short-circuit if the buffer doesn't exist if (getBuffer(n) == null) return; // parent of all the textareas var theParent = document.getElementById(g_cq_buffers_area_id); // la... | 952 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/952/d78133c63c6016418ecccff62bb2c65ed609c867/cq.js/clean/cq.js | |
debug("refreshBufferTabs: " + n + ", " + g_cq_buffer_tabs_current); | debug.print("refreshBufferTabs: " + n + ", " + g_cq_buffer_tabs_current); | function refreshBufferTabs(n) { if (n == null || n == g_cq_buffer_tabs_current) return; debug("refreshBufferTabs: " + n + ", " + g_cq_buffer_tabs_current); g_cq_buffer_tabs_current = n; var tabsNode = document.getElementById(g_cq_buffer_tabs_node); if (tabsNode == null) { debug("refreshBuff... | 952 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/952/499e513a3cc333dbcb784318ca05ad90a90b7c8e/cq.js/clean/cq.js |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.