rem
stringlengths
0
126k
add
stringlengths
0
441k
context
stringlengths
13
136k
meta
stringlengths
132
347
var canDetach = !IsNewsMessage(uri) && (!IsImapMessage(uri) || CheckOnline());
var canDetach = !IsNewsMessage(uri) && (!IsImapMessage(uri) || MailOfflineMgr.isOnline());
function CanDetachAttachments(){ var uri = GetLoadedMessage(); var canDetach = !IsNewsMessage(uri) && (!IsImapMessage(uri) || CheckOnline()); if (canDetach && ("content-type" in currentHeaderData)) { var contentType = currentHeaderData["content-type"].headerValue; canDetach = contentType.indexOf("application/...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/d4a47843afb11fb60fd06b3678ecd6c427c1bbf8/msgHdrViewOverlay.js/buggy/mail/base/content/msgHdrViewOverlay.js
canDrop: function(index) { return false; },
canDrop: function(targetIndex, orientation) { var sourceIndex = this.getSourceIndexFromDrag(); return sourceIndex != -1 && sourceIndex != targetIndex && (orientation == Ci.nsITreeView.DROP_BEFORE || orientation == Ci.nsITreeView.DROP_AFTER); },
canDrop: function(index) { return false; },
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/8f18c24fa10f62ac13816dee63a2464b28674759/engineManager.js/buggy/browser/components/search/content/engineManager.js
return false; var srcDirectory = GetDirectoryFromURI(srcURI); var dragSession = dragService.getCurrentSession(); if (!dragSession) return false; if (!(srcDirectory.operations & srcDirectory.opWrite) && dragSession.dragAction != Components.interfaces. nsIDragService.DRAGDROP_ACTION_COPY)
canDrop: function(index, orientation) { if (orientation != Components.interfaces.nsITreeView.DROP_ON) return false; var targetResource = dirTree.builderView.getResourceAtIndex(index); var targetURI = targetResource.Value; var srcURI = GetSelectedDirectory(); if (targetURI == srcUR...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/2353c994b0e17c0321da3ee735ed5f0eba7bda38/abDragDrop.js/buggy/mailnews/addrbook/resources/content/abDragDrop.js
return target.id && target.localName != "menupopup" && target.localName != "toolbar" && target.localName != "menuseparator" && target.localName != "toolbarseparator" &
var bt = document.getElementById("bookmarks-toolbar"); return bt.isBTBookmark(target.id) &&
canDrop: function (aEvent, aDragSession) { var target = aEvent.originalTarget; return target.id && target.localName != "menupopup" && target.localName != "toolbar" && target.localName != "menuseparator" && target.localName != "toolbarseparator" & target.id != "NC:SystemBookmarksStaticRoot" ...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/88086f032538fd7ee413478489483c10317499b2/browser.js/buggy/browser/base/content/browser.js
target.id.substring(0,5) != "find:";
target.id.substring(0,5) != "find:" || target.id == "bookmarks-menu" || target.getAttribute("class") == "chevron" || target.localName == "hbox";
canDrop: function (aEvent, aDragSession) { var target = aEvent.originalTarget; return target.id && target.localName != "menupopup" && target.localName != "toolbar" && target.localName != "menuseparator" && target.localName != "toolbarseparator" & target.id != "NC:SystemBookmarksStaticRoot" ...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/88086f032538fd7ee413478489483c10317499b2/browser.js/buggy/browser/base/content/browser.js
canDropBeforeAfter : function(index,before) { return false; },
canDropBeforeAfter : function(index, before) { return false; },
canDropBeforeAfter : function(index,before) { return false; },
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/1c150b0e04775ca751b4a5c7eb9a1306e4370c37/config.js/buggy/xpfe/global/resources/content/config.js
canHandleContent: function(contentType, command, desiredContentType)
canHandleContent: function(contentType, isContentPreferred, desiredContentType)
canHandleContent: function(contentType, command, desiredContentType) { var docShell = this.contentWindow.docShell; var contentListener; try { contentListener = docShell.QueryInterface(Components.interfaces.nsIInterfaceRequestor).getInterface(Components.interfaces.ns...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/bf5c4c7b49381e98b9dd28cbce250b4bb3f7e874/nsBrowserContentListener.js/clean/suite/browser/nsBrowserContentListener.js
return contentListener.canHandleContent(contentType, command, desiredContentType);
return contentListener.canHandleContent(contentType, isContentPreferred, desiredContentType);
canHandleContent: function(contentType, command, desiredContentType) { var docShell = this.contentWindow.docShell; var contentListener; try { contentListener = docShell.QueryInterface(Components.interfaces.nsIInterfaceRequestor).getInterface(Components.interfaces.ns...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/bf5c4c7b49381e98b9dd28cbce250b4bb3f7e874/nsBrowserContentListener.js/clean/suite/browser/nsBrowserContentListener.js
canHandleContent: function(contentType, isContentPreferred, desiredContentType) { var docShell = this.contentWindow.docShell; var contentListener; try { contentListener = docShell.QueryInterface(Components.interfaces.nsIInterfaceRequestor).getInterface(Components.in...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/55a5e5ddbf4a7e9103b995d808c4466085d2123f/nsBrowserContentListener.js/clean/xpfe/browser/resources/content/nsBrowserContentListener.js
optgroupObject.prototype.canMoveDown = function canMoveDown() { return gDialog.lastChild() > treeSelection.currentIndex; }
canMoveDown: function canMoveDown() { return false; },
optgroupObject.prototype.canMoveDown = function canMoveDown(){ return gDialog.lastChild() > treeSelection.currentIndex;}
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/e5158d88eff369883b9fa994276d0b06cfe7ca8f/EdSelectProps.js/clean/editor/ui/dialogs/content/EdSelectProps.js
gURLBar.value = "http:
url = "http:
function canonizeUrl(aTriggeringEvent){ if (!gURLBar) return; if (aTriggeringEvent && 'ctrlKey' in aTriggeringEvent && aTriggeringEvent.ctrlKey && 'shiftKey' in aTriggeringEvent && aTriggeringEvent.shiftKey) // Tack http://www. and .org on. gURLBar.value = "http://www." + gURLBar.value + ".org/";...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/129f4a15696823a1751c22f10318c129eec5893d/browser.js/buggy/browser/base/content/browser.js
gURLBar.value = "http:
url = "http:
function canonizeUrl(aTriggeringEvent){ if (!gURLBar) return; if (aTriggeringEvent && 'ctrlKey' in aTriggeringEvent && aTriggeringEvent.ctrlKey && 'shiftKey' in aTriggeringEvent && aTriggeringEvent.shiftKey) // Tack http://www. and .org on. gURLBar.value = "http://www." + gURLBar.value + ".org/";...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/129f4a15696823a1751c22f10318c129eec5893d/browser.js/buggy/browser/base/content/browser.js
gURLBar.value = "http:
url = "http: gURLBar.value = getShortcutOrURI(url);
function canonizeUrl(aTriggeringEvent){ if (!gURLBar) return; if (aTriggeringEvent && 'ctrlKey' in aTriggeringEvent && aTriggeringEvent.ctrlKey && 'shiftKey' in aTriggeringEvent && aTriggeringEvent.shiftKey) // Tack http://www. and .org on. gURLBar.value = "http://www." + gURLBar.value + ".org/";...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/129f4a15696823a1751c22f10318c129eec5893d/browser.js/buggy/browser/base/content/browser.js
url = "http:
var firstSlash = url.indexOf("/"); if (firstSlash >= 0) url = "http: url.substring(firstSlash + 1, url.length); else url = "http:
function canonizeUrl(aTriggeringEvent, aPostDataRef){ if (!gURLBar || !gURLBar.value) return; var url = gURLBar.value; // Prevent suffix when already exists www , http , / if (!/^(www|http)|\/\s*$/i.test(url) && aTriggeringEvent) { var suffix = null;#ifdef XP_MACOSX var accelPressed = 'metaKey' in aTrigger...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/7f69e3dc87eae7ddd6722e9ccbfaa4e82e734b33/browser.js/clean/browser/base/content/browser.js
function canonizeUrl(aTriggeringEvent, aPostDataRef) {
function canonizeUrl(aTriggeringEvent, aPostDataRef) {
function canonizeUrl(aTriggeringEvent, aPostDataRef){ if (!gURLBar || !gURLBar.value) return; var url = gURLBar.value; // Prevent suffix when already exists www , http , / if (!/^(www|http)|\/\s*$/i.test(url) && aTriggeringEvent) { var suffix = null;#ifdef XP_MACOSX var accelPressed = 'metaKey' in aTrigger...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/8d230a95701fc52f2ecafe81177de1a21d8c69a2/browser.js/clean/browser/base/content/browser.js
if (!/^(www|http)|\/\s*$/i.test(url) && aTriggeringEvent) { var suffix = null;
if (!/^(www|http)|\/\s*$/i.test(url) && (aTriggeringEvent instanceof KeyEvent)) {
function canonizeUrl(aTriggeringEvent, aPostDataRef){ if (!gURLBar || !gURLBar.value) return; var url = gURLBar.value; // Prevent suffix when already exists www , http , / if (!/^(www|http)|\/\s*$/i.test(url) && aTriggeringEvent) { var suffix = null;#ifdef XP_MACOSX var accelPressed = 'metaKey' in aTrigger...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/8d230a95701fc52f2ecafe81177de1a21d8c69a2/browser.js/clean/browser/base/content/browser.js
var accelPressed = 'metaKey' in aTriggeringEvent && aTriggeringEvent.metaKey;
var accel = aTriggeringEvent.metaKey;
function canonizeUrl(aTriggeringEvent, aPostDataRef){ if (!gURLBar || !gURLBar.value) return; var url = gURLBar.value; // Prevent suffix when already exists www , http , / if (!/^(www|http)|\/\s*$/i.test(url) && aTriggeringEvent) { var suffix = null;#ifdef XP_MACOSX var accelPressed = 'metaKey' in aTrigger...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/8d230a95701fc52f2ecafe81177de1a21d8c69a2/browser.js/clean/browser/base/content/browser.js
var accelPressed = 'ctrlKey' in aTriggeringEvent && aTriggeringEvent.ctrlKey;
var accel = aTriggeringEvent.ctrlKey;
function canonizeUrl(aTriggeringEvent, aPostDataRef){ if (!gURLBar || !gURLBar.value) return; var url = gURLBar.value; // Prevent suffix when already exists www , http , / if (!/^(www|http)|\/\s*$/i.test(url) && aTriggeringEvent) { var suffix = null;#ifdef XP_MACOSX var accelPressed = 'metaKey' in aTrigger...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/8d230a95701fc52f2ecafe81177de1a21d8c69a2/browser.js/clean/browser/base/content/browser.js
var shiftPressed = 'shiftKey' in aTriggeringEvent && aTriggeringEvent.shiftKey;
var shift = aTriggeringEvent.shiftKey;
function canonizeUrl(aTriggeringEvent, aPostDataRef){ if (!gURLBar || !gURLBar.value) return; var url = gURLBar.value; // Prevent suffix when already exists www , http , / if (!/^(www|http)|\/\s*$/i.test(url) && aTriggeringEvent) { var suffix = null;#ifdef XP_MACOSX var accelPressed = 'metaKey' in aTrigger...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/8d230a95701fc52f2ecafe81177de1a21d8c69a2/browser.js/clean/browser/base/content/browser.js
if (accelPressed && shiftPressed) suffix = ".org/";
var suffix = "";
function canonizeUrl(aTriggeringEvent, aPostDataRef){ if (!gURLBar || !gURLBar.value) return; var url = gURLBar.value; // Prevent suffix when already exists www , http , / if (!/^(www|http)|\/\s*$/i.test(url) && aTriggeringEvent) { var suffix = null;#ifdef XP_MACOSX var accelPressed = 'metaKey' in aTrigger...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/8d230a95701fc52f2ecafe81177de1a21d8c69a2/browser.js/clean/browser/base/content/browser.js
else if (accelPressed) { try { suffix = gPrefService.getCharPref("browser.fixup.alternate.suffix"); if (suffix.charAt(suffix.length - 1) != '/') suffix += "/"; } catch(e) { suffix = ".com/"; }
switch (true) { case (accel && shift): suffix = ".org/"; break; case (shift): suffix = ".net/"; break; case (accel): try { suffix = gPrefService.getCharPref("browser.fixup.alternate.suffix"); if (suffix.charAt(suffix.length - 1) != "/") suffix += "/"; } catch(e) { suffix = ".com/"; } break;
function canonizeUrl(aTriggeringEvent, aPostDataRef){ if (!gURLBar || !gURLBar.value) return; var url = gURLBar.value; // Prevent suffix when already exists www , http , / if (!/^(www|http)|\/\s*$/i.test(url) && aTriggeringEvent) { var suffix = null;#ifdef XP_MACOSX var accelPressed = 'metaKey' in aTrigger...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/8d230a95701fc52f2ecafe81177de1a21d8c69a2/browser.js/clean/browser/base/content/browser.js
else if (shiftPressed) suffix = ".net/";
if (suffix) { url = url.replace(/^\s+/, "").replace(/\s+$/, "");
function canonizeUrl(aTriggeringEvent, aPostDataRef){ if (!gURLBar || !gURLBar.value) return; var url = gURLBar.value; // Prevent suffix when already exists www , http , / if (!/^(www|http)|\/\s*$/i.test(url) && aTriggeringEvent) { var suffix = null;#ifdef XP_MACOSX var accelPressed = 'metaKey' in aTrigger...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/8d230a95701fc52f2ecafe81177de1a21d8c69a2/browser.js/clean/browser/base/content/browser.js
if (suffix != null) { url = url.replace( /^\s+/, ""); url = url.replace( /\s+$/, "");
function canonizeUrl(aTriggeringEvent, aPostDataRef){ if (!gURLBar || !gURLBar.value) return; var url = gURLBar.value; // Prevent suffix when already exists www , http , / if (!/^(www|http)|\/\s*$/i.test(url) && aTriggeringEvent) { var suffix = null;#ifdef XP_MACOSX var accelPressed = 'metaKey' in aTrigger...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/8d230a95701fc52f2ecafe81177de1a21d8c69a2/browser.js/clean/browser/base/content/browser.js
return true; }
return true; },
canUnload: function(compMgr) { return true; }
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/f3dd951f94532dd56e9579ea78471a34b6d33aca/nsSetDefaultBrowser.js/clean/browser/components/shell/src/nsSetDefaultBrowser.js
dump("*** Unloading Proxy Auto Config...\n");
pacModule.canUnload = function (compMgr) { dump("*** Unloading Proxy Auto Config...\n"); return true; }
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/e1a946c67e2ad6ef1f9f611b79442767aa4d1d04/nsProxyAutoConfig.js/buggy/netwerk/base/src/nsProxyAutoConfig.js
if ("parentNode" in aEvent.target && aEvent.target.parentNode.hasAttribute("message")) { alertMessage(aEvent.target.parentNode.getAttribute("message"));
if (aEvent.target.hasAttribute("message")) { alertMessage(aEvent.target.getAttribute("message")); return true;
function captureContentClick(aEvent){ if ("parentNode" in aEvent.target && aEvent.target.parentNode.hasAttribute("message")) { alertMessage(aEvent.target.parentNode.getAttribute("message")); }}
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/2355d9abb89b054186ee4455cc602ed87803fea8/p3pSummary.js/clean/extensions/p3p/resources/content/p3pSummary.js
return contentAreaClick(aEvent);
function captureContentClick(aEvent){ if ("parentNode" in aEvent.target && aEvent.target.parentNode.hasAttribute("message")) { alertMessage(aEvent.target.parentNode.getAttribute("message")); }}
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/2355d9abb89b054186ee4455cc602ed87803fea8/p3pSummary.js/clean/extensions/p3p/resources/content/p3pSummary.js
function catchFailure(data) { failures.innerHTML += "Unknown Test<br/>&nbsp;&nbsp;Error: " + data + "<br/>"; failcount++; failreport.innerHTML = failcount;
function catchFailure(data) { failures.innerHTML += "Unknown Test<br/>&nbsp;&nbsp;Error: " + data + "<br/>"; failcount++; failreport.innerHTML = failcount;
function catchFailure(data){ // which test have we just run? failures.innerHTML += "Unknown Test<br/>&nbsp;&nbsp;Error: " + data + "<br/>"; failcount++; failreport.innerHTML = failcount; if (failcount == 1) { // This is the first failure - make the bar go red progress.style.backgroundCol...
266 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/266/a6659fd28de5e0d001fe9e46da6cdb9dd78104c0/testsuite.js/buggy/web/testsuite.js
if (failcount == 1) { progress.style.backgroundColor = "red"; }
if (failcount == 1) { progress.style.backgroundColor = "red"; }
function catchFailure(data){ // which test have we just run? failures.innerHTML += "Unknown Test<br/>&nbsp;&nbsp;Error: " + data + "<br/>"; failcount++; failreport.innerHTML = failcount; if (failcount == 1) { // This is the first failure - make the bar go red progress.style.backgroundCol...
266 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/266/a6659fd28de5e0d001fe9e46da6cdb9dd78104c0/testsuite.js/buggy/web/testsuite.js
failures.innerHTML += "Unknown Test<br/>&nbsp;&nbsp;Error: " + data + "<br/>";
failures.innerHTML += "Unknown Failure:&nbsp; " + data + "<br/>";
function catchFailure(data) { // which test have we just run? failures.innerHTML += "Unknown Test<br/>&nbsp;&nbsp;Error: " + data + "<br/>"; failcount++; failreport.innerHTML = failcount;}
266 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/266/5854a48f8e5d0021d9f0f43dca9db26d944ec90f/marshalling.js/buggy/web/test/marshalling.js
return this;
function CBSConnection (binary){ /* Since 2003-01-17 18:14, Mozilla has had this contract ID for the STS. * Prior to that it didn't have one, so we also include the CID for the * STS back then - DO NOT UPDATE THE ID if it changes in Mozilla. */ const sockClassByName = Components.classes["@mozil...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/c75378f37883839bba5f088fa485ec44597b9810/connection-xpcom.js/buggy/extensions/irc/js/lib/connection-xpcom.js
str = str.replace(/%descrptionline%/g, "");
str = str.replace(/%descriptionline%/g, "");
function CCKWriteInstallRDF(destdir){ var idline = "<em:id>%id%</em:id>"; var nameline = "<em:name>%name%</em:name>"; var versionline = "<em:version>%version%</em:version>"; var descriptionline = "<em:description>%description%</em:description>"; var creatorline = "<em:creator>%creator%</em:...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/d3ddc26c6c9238d77a8a2d9aa9c51cc80dbbcde7/cckwizard.js/clean/extensions/cck/browser/resources/content/cckwizard/cckwizard.js
function CCKWriteInstallRDF(destdir){ var idline = "<em:id>%id%</em:id>"; var nameline = "<em:name>%name%</em:name>"; var versionline = "<em:version>%version%</em:version>"; var descriptionline = "<em:description>%description%</em:description>"; var creatorline = "<em:creator>%creator%</em:...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/0ae1504f9fb67ee9d8c8239c57056d63efb99b17/cckwizard.js/buggy/extensions/cck/browser/resources/content/cckwizard/cckwizard.js
s.left = parseInt(($.css(p,"width") - $.css(this,"width"))/2, 10) + "px"; s.top = parseInt(($.css(p,"height") - $.css(this,"height"))/2, 10) + "px";
s.left = (($.css(p,"width") - $.css(this,"width"))/2) + "px"; s.top = (($.css(p,"height") - $.css(this,"height"))/2) + "px";
$.fn.center = function(f) { return this.each(function(){ if ( !f && this.nodeName == 'IMG' && !this.offsetWidth && !this.offsetHeight ) { var self = this; setTimeout(function(){ $(self).center(true); }, 13); } else { var s = this.style; var p = this.parentNode; if ( $.css(p,"position") == 'static' ...
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/807c75dadf647a5f07b661ff62c102cd3797479a/fx.js/buggy/fx/fx.js
return this.each(function(){
return this.each(function(){
$.fn.center = function(f) { return this.each(function(){ if ( !f && this.nodeName == 'IMG' && !this.offsetWidth && !this.offsetHeight ) { var self = this; setTimeout(function(){ $(self).center(true); }, 13); } else { var s = this.style; var p = this.parentNode; if ( $.css(p,"position") == 'static'...
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/f0034d64e3890553f214db0708b9a831476ea46a/fx.js/buggy/fx/fx.js
return this.users[this.parent.me.canonicalName].isHalfOp;
return this.active && this.users[this.parent.me.canonicalName].isHalfOp;
function chan_amhalfop(){ return this.users[this.parent.me.canonicalName].isHalfOp;}
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/a8ba54fddb8d400f1a48b0491569126bfefee7cf/irc.js/clean/extensions/irc/js/lib/irc.js
return this.users[this.parent.me.canonicalName].isOp;
return this.active && this.users[this.parent.me.canonicalName].isOp;
function chan_amop(){ return this.users[this.parent.me.canonicalName].isOp;}
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/a8ba54fddb8d400f1a48b0491569126bfefee7cf/irc.js/clean/extensions/irc/js/lib/irc.js
return this.parent.users[this.parent.parent.me.canonicalName].isVoice;
return this.active && this.users[this.parent.me.canonicalName].isVoice;
function chan_amvoice(){ return this.parent.users[this.parent.parent.me.canonicalName].isVoice;}
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/a8ba54fddb8d400f1a48b0491569126bfefee7cf/irc.js/clean/extensions/irc/js/lib/irc.js
if (typeof msg == "undefined") msg = ""; if (typeof type == "undefined") type = "PRIVMSG";
msg = msg || ""; type = type || "PRIVMSG";
function chan_ctcpto (code, msg, type){ if (typeof msg == "undefined") msg = ""; if (typeof type == "undefined") type = "PRIVMSG"; this.parent.messageTo(type, this.encodedName, fromUnicode(msg, this), code);}
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/61aa5887049dc864b20d056a194c09be5acd6bf1/irc.js/buggy/extensions/irc/js/lib/irc.js
function chan_ctcpto (code, msg, type){ if (typeof msg == "undefined") msg = ""; if (typeof type == "undefined") type = "PRIVMSG"; this.parent.messageTo(type, this.encodedName, fromUnicode(msg, this), code);}
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/61aa5887049dc864b20d056a194c09be5acd6bf1/irc.js/buggy/extensions/irc/js/lib/irc.js
this.parent.messageTo (type, this.encodedName, msg, code);
this.parent.messageTo(type, this.encodedName, fromUnicode(msg, this), code);
function chan_ctcpto (code, msg, type){ if (typeof msg == "undefined") msg = ""; if (typeof type == "undefined") type = "PRIVMSG"; this.parent.messageTo (type, this.encodedName, msg, code);}
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/009763dfa8bae7c01f491a191f71b85ba2b38597/irc.js/buggy/extensions/irc/js/lib/irc.js
return this.parent.parent.getURL() + this.name + "/";
var target; if (this.name[0] == "#") target = this.name.substr(1); else target = escape(this.name); return this.parent.parent.getURL() + target;
function chan_geturl (){ return this.parent.parent.getURL() + this.name + "/";}
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/b8511d02e8bcb51d475c1c9a02b7a6f680ba5830/irc.js/clean/extensions/irc/js/lib/irc.js
target = escape(this.normalizedName.substr(1));
target = ecmaEscape(this.normalizedName.substr(1));
function chan_geturl (){ var target; if (this.normalizedName[0] == "#") target = escape(this.normalizedName.substr(1)); else target = escape(this.normalizedName); return this.parent.parent.getURL(target);}
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/009763dfa8bae7c01f491a191f71b85ba2b38597/irc.js/buggy/extensions/irc/js/lib/irc.js
target = escape(this.normalizedName);
target = ecmaEscape(this.normalizedName);
function chan_geturl (){ var target; if (this.normalizedName[0] == "#") target = escape(this.normalizedName.substr(1)); else target = escape(this.normalizedName); return this.parent.parent.getURL(target);}
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/009763dfa8bae7c01f491a191f71b85ba2b38597/irc.js/buggy/extensions/irc/js/lib/irc.js
this.parent.parent.sendData ("MODE " + this.parent.encodedName + " " + modifier + "i\n");
this.parent.parent.sendData("MODE " + this.parent.encodedName + " " + modifier + "i\n");
function chan_invite (f){ if (!this.parent.users[this.parent.parent.me.nick].isOp) return false; var modifier = (f) ? "+" : "-"; this.parent.parent.sendData ("MODE " + this.parent.encodedName + " " + modifier + "i\n"); return true;}
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/009763dfa8bae7c01f491a191f71b85ba2b38597/irc.js/buggy/extensions/irc/js/lib/irc.js
this.parent.parent.sendData ("MODE " + this.parent.encodedName + " " + modifier + "m\n");
this.parent.parent.sendData("MODE " + this.parent.encodedName + " " + modifier + "m\n");
function chan_moderate (f){ if (!this.parent.users[this.parent.parent.me.nick].isOp) return false; var modifier = (f) ? "+" : "-"; this.parent.parent.sendData ("MODE " + this.parent.encodedName + " " + modifier + "m\n"); return true;}
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/009763dfa8bae7c01f491a191f71b85ba2b38597/irc.js/buggy/extensions/irc/js/lib/irc.js
if (this.key) str += "k"; if (this.limit != -1) str += "l " + this.limit;
function chan_modestr (f){ var str = ""; if (this.invite) str += "i"; if (this.moderated) str += "m"; if (!this.publicMessages) str += "n"; if (!this.publicTopic) str += "t"; if (this.pvt) str += "p"; if (str) str = "+" + str; return str; }
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/b8511d02e8bcb51d475c1c9a02b7a6f680ba5830/irc.js/clean/extensions/irc/js/lib/irc.js
this.parent.noticeTo (this.encodedName, msg);
this.parent.noticeTo(this.encodedName, fromUnicode(msg, this));
function chan_notice (msg){ this.parent.noticeTo (this.encodedName, msg);}
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/009763dfa8bae7c01f491a191f71b85ba2b38597/irc.js/buggy/extensions/irc/js/lib/irc.js
this.parent.parent.sendData ("MODE " + this.parent.encodedName + " " + modifier + "n\n");
this.parent.parent.sendData("MODE " + this.parent.encodedName + " " + modifier + "n\n");
function chan_pmessages (f){ if (!this.parent.users[this.parent.parent.me.nick].isOp) return false; var modifier = (f) ? "-" : "+"; this.parent.parent.sendData ("MODE " + this.parent.encodedName + " " + modifier + "n\n"); return true;}
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/009763dfa8bae7c01f491a191f71b85ba2b38597/irc.js/buggy/extensions/irc/js/lib/irc.js
this.parent.parent.sendData ("MODE " + this.parent.encodedName + " " + modifier + "t\n");
this.parent.parent.sendData("MODE " + this.parent.encodedName + " " + modifier + "t\n");
function chan_ptopic (f){ if (!this.parent.users[this.parent.parent.me.nick].isOp) return false; var modifier = (f) ? "-" : "+"; this.parent.parent.sendData ("MODE " + this.parent.encodedName + " " + modifier + "t\n"); return true;}
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/009763dfa8bae7c01f491a191f71b85ba2b38597/irc.js/buggy/extensions/irc/js/lib/irc.js
this.parent.parent.sendData ("MODE " + this.parent.encodedName + " " + modifier + "p\n");
this.parent.parent.sendData("MODE " + this.parent.encodedName + " " + modifier + "p\n");
function chan_pvt (f){ if (!this.parent.users[this.parent.parent.me.nick].isOp) return false; var modifier = (f) ? "+" : "-"; this.parent.parent.sendData ("MODE " + this.parent.encodedName + " " + modifier + "p\n"); return true;}
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/009763dfa8bae7c01f491a191f71b85ba2b38597/irc.js/buggy/extensions/irc/js/lib/irc.js
this.parent.actTo (this.encodedName, msg);
this.parent.actTo(this.encodedName, fromUnicode(msg, this));
function chan_say (msg){ this.parent.actTo (this.encodedName, msg);}
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/009763dfa8bae7c01f491a191f71b85ba2b38597/irc.js/buggy/extensions/irc/js/lib/irc.js
modifier + "p\n");
modifier + "s\n");
function chan_secret (f){ if (!this.parent.users[this.parent.parent.me.nick].isOp) return false; var modifier = (f) ? "+" : "-"; this.parent.parent.sendData ("MODE " + this.parent.encodedName + " " + modifier + "p\n"); return true; }
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/7488e28c59de8516f57a041d197a80a62240072b/irc.js/buggy/extensions/irc/js/lib/irc.js
this.parent.parent.sendData ("MODE " + this.parent.encodedName + " " + modifier + "s\n");
this.parent.parent.sendData("MODE " + this.parent.encodedName + " " + modifier + "s\n");
function chan_secret (f){ if (!this.parent.users[this.parent.parent.me.nick].isOp) return false; var modifier = (f) ? "+" : "-"; this.parent.parent.sendData ("MODE " + this.parent.encodedName + " " + modifier + "s\n"); return true;}
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/009763dfa8bae7c01f491a191f71b85ba2b38597/irc.js/buggy/extensions/irc/js/lib/irc.js
this.parent.sendData ("TOPIC " + this.encodedName + " :" + str + "\n");
this.parent.sendData ("TOPIC " + this.encodedName + " :" + fromUnicode(str, this) + "\n");
function chan_topic (str){ this.parent.sendData ("TOPIC " + this.encodedName + " :" + str + "\n");}
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/009763dfa8bae7c01f491a191f71b85ba2b38597/irc.js/buggy/extensions/irc/js/lib/irc.js
this.parent.parent.sendData ("MODE " + this.parent.encodedName + " -k " + k + "\n");
this.parent.parent.sendData("MODE " + this.parent.encodedName + " -k " + k + "\n");
function chan_unlock (k){ if (!this.parent.users[this.parent.parent.me.nick].isOp) return false; this.parent.parent.sendData ("MODE " + this.parent.encodedName + " -k " + k + "\n"); return true;}
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/009763dfa8bae7c01f491a191f71b85ba2b38597/irc.js/buggy/extensions/irc/js/lib/irc.js
this.opCount = 0; this.voiceCount = 0;
function chan_userslen (){ var i = 0; for (var p in this.users) i++; return i; }
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/ee3e25cd866563b5083f4eb42f44f9b25afaeeda/irc.js/buggy/extensions/irc/js/lib/irc.js
}
function chan_userslen (){ var i = 0; for (var p in this.users) i++; return i; }
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/ee3e25cd866563b5083f4eb42f44f9b25afaeeda/irc.js/buggy/extensions/irc/js/lib/irc.js
dump("Change() called with args: \n\t" + aSource.Value +
dump("Change() called with args: \n\t" + aSource.Value +
Change: function(aSource, aProperty, aOldTarget, aNewTarget) { if (DEBUG) { dump("Change() called with args: \n\t" + aSource.Value + "\n\t" + aProperty.Value + "\n\t" + aOldTarget.Value + "\n\t" + aNewTarget.Value + "\n\n"); } },
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/55a5e5ddbf4a7e9103b995d808c4466085d2123f/nsLDAPDataSource.js/clean/directory/xpcom/datasource/nsLDAPDataSource.js
window.title = aCaption;
function ChangeCaption( aCaption ){ var caption = document.getElementById( "header" ); caption.setAttribute( "value", aCaption );}
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/66d3d1052a258e5ade8636ec2dbd0e85a4635c9f/profileManager.js/buggy/profile/resources/content/profileManager.js
node.setAttribute("id", "main-css");
node.setAttribute("id", id);
function changeCSS(url, id){ if (!id) id = "main-css"; node = document.getElementById(id); if (!node) { node = document.createElement("link"); node.setAttribute("id", "main-css"); node.setAttribute("rel", "stylesheet"); node.setAttribute("type", "text/css"); var...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/7541bae4539f9a0ae2e561e155af17e2f02a1732/output-window.js/buggy/extensions/irc/xul/content/output-window.js
document.getElementById("allowWindowOpen").disabled = state;
function changeDisabledState(state){ //Set the states of the groupbox children state based on the "javascript enabled" checkbox value document.getElementById("allowScripts").disabled = state; document.getElementById("allowWindowMoveResize").disabled = state; document.getElementById("allowWindowOpen").disabled = sta...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/64fc82bbf852fb868d15a5e8a0f31edc5d7d9a46/pref-scripts.js/buggy/browser/components/prefwindow/content/pref-scripts.js
document.getElementById("allowHideStatusBar").disabled = state;
function changeDisabledState(state){ //Set the states of the groupbox children state based on the "javascript enabled" checkbox value document.getElementById("allowScripts").disabled = state; document.getElementById("allowTargetNew").disabled = state; document.getElementById("allowWindowMoveResize").disabled = stat...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/7ffff2007b58e5cfd1dcb946dff6e9c3d631febb/pref-scripts.js/buggy/suite/common/pref/pref-scripts.js
document.getElementById("allowTargetNew").disabled = state;
function changeDisabledState(state){ //Set the states of the groupbox children state based on the "javascript enabled" checkbox value document.getElementById("allowScripts").disabled = state; document.getElementById("allowWindowMoveResize").disabled = state; document.getElementById("allowWindowOpen").disabled = sta...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/f14a42b26d8959b3617e412e68cb664cec601a7a/pref-scripts.js/buggy/xpfe/components/prefwindow/resources/content/pref-scripts.js
document.getElementById("allowContextmenuDisable").disabled = state;
function changeDisabledState(state){ //Set the states of the groupbox children state based on the "javascript enabled" checkbox value document.getElementById("allowScripts").disabled = state; document.getElementById("allowWindowMoveResize").disabled = state; document.getElementById("allowImageSrcChange").disabled =...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/c44cb742bf5caf4cb4550c8c14df48d9847a177d/pref-scripts.js/buggy/xpfe/components/prefwindow/resources/content/pref-scripts.js
document.getElementById('allowScriptsDescription').disabled = state; document.getElementById('allowWindowMoveResize').disabled = state; document.getElementById('allowWindowOpen').disabled = state; document.getElementById('allowImageSrcChange').disabled = state; document.getElementById('allowDocumentCookieSet').disable...
document.getElementById("allowScriptsDescription").disabled = state; document.getElementById("allowWindowMoveResize").disabled = state; document.getElementById("allowWindowOpen").disabled = state; document.getElementById("allowImageSrcChange").disabled = state; document.getElementById("allowDocumentCookieSet").disable...
function changeDisabledState(state){ // set the groupbox children's state based on the "javascript enabled" checkbox value document.getElementById('allowScriptsDescription').disabled = state; document.getElementById('allowWindowMoveResize').disabled = state; document.getElementById('allowWindowOpen').disabled = sta...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/cddfaa7efc47d6cbe834b621161ddc6e9efe4a1a/pref-scripts.js/clean/xpfe/components/prefwindow/resources/content/pref-scripts.js
function ChangeFolderByDOMNode(folderNode){ if (folderNode.getAttribute('NoSelect') == "true" ) { ClearThreadPane(); return; } var uri = folderNode.getAttribute('id'); dump(uri + "\n"); var isThreaded = folderNode.getAttribute('threaded'); if ((isThreaded == "") && isNewsURI(uri)) { isThreaded = "true"; } ...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/e2955b1ba881bdab390012def159afb4caff27f1/commandglue.js/clean/mailnews/base/resources/content/commandglue.js
ChangeFolderByURI(uri, isThreaded == "true", sortResource, sortDirection);
ChangeFolderByURI(uri, isThreaded == "true", sortResource, sortDirection, viewType);
function ChangeFolderByDOMNode(folderNode){ if (folderNode.getAttribute('NoSelect') == "true" ) { ClearThreadPane(); return; } var uri = folderNode.getAttribute('id'); dump(uri + "\n"); var isThreaded = folderNode.getAttribute('threaded'); if ((isThreaded == "") && isNewsURI(uri)) { isThreaded = "true"; } ...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/e2955b1ba881bdab390012def159afb4caff27f1/commandglue.js/clean/mailnews/base/resources/content/commandglue.js
SetBusyCursor(window, false);
function ChangeFolderByURI(uri, isThreaded, sortID, sortDirection, viewType){ dump('In ChangeFolderByURI uri = ' + uri + "\n"); if (uri == gCurrentLoadingFolderURI) return; var resource = RDF.GetResource(uri); var msgfolder = resource.QueryInterface(Components.interfaces.nsIMsgFolder); try { setTitleF...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/072f68c695fc2762af5c46b0f86e2b4020156974/commandglue.js/clean/mailnews/base/resources/content/commandglue.js
if(msgfolder.manyHeadersToDownload)
var showMessagesAfterLoading; try { var server = msgfolder.server; if (server.redirectorType) { var prefString = server.type + "." + server.redirectorType + ".showMessagesAfterLoading"; showMessagesAfterLoading = gPrefs.getBoolPref(prefString); } else showMessagesAfterLoading = false; } catch (ex) { showMessagesAfterL...
function ChangeFolderByURI(uri, viewType, viewFlags, sortType, sortOrder){ //dump("In ChangeFolderByURI uri = " + uri + " sortType = " + sortType + "\n"); if (uri == gCurrentLoadingFolderURI) return; var resource = RDF.GetResource(uri); var msgfolder = resource.QueryInterface(Components.interfaces.nsIMsgFol...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/a0cf394eea7a242c9992da625c92fb694a50a4bf/commandglue.js/clean/mailnews/base/resources/content/commandglue.js
if(msgfolder.isServer) { ClearThreadPane(); return; }
function ChangeFolderByURI(uri, isThreaded, sortID, sortDirection){ dump('In ChangeFolderByURI\n'); var resource = RDF.GetResource(uri); var msgfolder = resource.QueryInterface(Components.interfaces.nsIMsgFolder); try { setTitleFromFolder(msgfolder, null); } catch (ex) { dump("error setting title: "...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/3c7a12077d5ab06ce70e757abacd361e04b5654e/commandglue.js/clean/mailnews/base/resources/content/commandglue.js
viewDebug("In ChangeFolderByURI uri = " + uri + " sortType = " + sortType + "\n");
function ChangeFolderByURI(uri, viewType, viewFlags, sortType, sortOrder){ //dump("In ChangeFolderByURI uri = " + uri + " sortType = " + sortType + "\n"); if (uri == gCurrentLoadingFolderURI) return; // hook for extra toolbar items var observerService = Components.classes["@mozilla.org/observer-service;1"].getSe...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/3184e01b75606c058b8438ef584866300dfe971e/commandglue.js/clean/mail/base/content/commandglue.js
SetBusyCursor(window, true);
function ChangeFolderByURI(uri, isThreaded, sortID, sortDirection){ dump('In ChangeFolderByURI\n'); var resource = RDF.GetResource(uri); var msgfolder = resource.QueryInterface(Components.interfaces.nsIMsgFolder); try { setTitleFromFolder(msgfolder, null); } catch (ex) { dump("error setting title: "...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/d63000ffb06f1c74b5d3215477135715d57355d7/commandglue.js/buggy/mailnews/base/resources/content/commandglue.js
function ChangeFolderByURI(uri, isThreaded, sortID, sortDirection)
function ChangeFolderByURI(uri, isThreaded, sortID, sortDirection, viewType)
function ChangeFolderByURI(uri, isThreaded, sortID, sortDirection){ dump('In ChangeFolderByURI uri = ' + uri + "\n"); if (uri == gCurrentLoadingFolderURI) return; var resource = RDF.GetResource(uri); var msgfolder = resource.QueryInterface(Components.interfaces.nsIMsgFolder); try { setTitleFromFolder(...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/e2955b1ba881bdab390012def159afb4caff27f1/commandglue.js/clean/mailnews/base/resources/content/commandglue.js
RerootFolder(uri, msgfolder, isThreaded, sortID, sortDirection);
gCurrentLoadingFolderViewType = ""; RerootFolder(uri, msgfolder, isThreaded, sortID, sortDirection, viewType);
function ChangeFolderByURI(uri, isThreaded, sortID, sortDirection){ dump('In ChangeFolderByURI uri = ' + uri + "\n"); if (uri == gCurrentLoadingFolderURI) return; var resource = RDF.GetResource(uri); var msgfolder = resource.QueryInterface(Components.interfaces.nsIMsgFolder); try { setTitleFromFolder(...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/e2955b1ba881bdab390012def159afb4caff27f1/commandglue.js/clean/mailnews/base/resources/content/commandglue.js
UnselectNamedAnchor(); UnselectHeadings();
if (gClearListSelections) { UnselectNamedAnchor(); UnselectHeadings(); }
function ChangeLocation(){ // Unselect the treelists UnselectNamedAnchor(); UnselectHeadings(); // Set OK button enable state ChangeText();}
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/a77f7a0332866ead93a4b2feb8532028f06b3e10/EdLinkProps.js/buggy/editor/ui/dialogs/content/EdLinkProps.js
val /= gDoingMetric ? 100 : 10; var style = attr + ":" + val + unitString() + ";";
var style = attr + ":" + (val/10) + unitString() + ";";
function changeMargin( node ){ // Correct invalid input. checkDouble(node); // Reset the margin height/width for this node. var val = node.value; var nodeToStyle; var attr="width"; if ( node == gDialog.topInput ) { nodeToStyle = gDialog.marginTop; val = checkMargin( val, gPageHeight, gDialog.bottomInput );...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/ad8cb92cde3aa0bb46abef1686dd35abef5b9b21/printPageSetup.js/buggy/xpfe/global/resources/content/printPageSetup.js
val /= gDoingMetric ? 100 : 10; var style = attr + ":" + val + unitString() + ";";
var style = attr + ":" + (val/10) + unitString() + ";";
function changeMargin( node ){ // Correct invalid input. checkDouble(node); // Reset the margin height/width for this node. var val = node.value; var nodeToStyle; var attr="width"; if ( node == gDialog.topInput ) { nodeToStyle = gDialog.marginTop; val = checkMargin( val, gPageHeight, gDialog.bottomInput );...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/ad8cb92cde3aa0bb46abef1686dd35abef5b9b21/printPageSetup.js/clean/xpfe/communicator/resources/content/printPageSetup.js
gDBView.reloadMessage();
gDBView.loadMessageByUrl("about:blank"); gDBView.selectionChanged();
function ChangeMessagePaneVisibility(now_hidden){ // we also have to hide the File/Attachments menuitem var node = document.getElementById("fileAttachmentMenu"); if (node) node.hidden = now_hidden; if (gDBView) { // clear the subject, collapsing won't automatically do this setTitleFromFolder(GetThreadPaneF...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/11af63296339c57a188fc54207fc7bf32f8fe49d/commandglue.js/buggy/mailnews/base/resources/content/commandglue.js
var mimeSource = gRDF.GetResource(aMIMEString); var valueProperty = gRDF.GetResource(NC_RDF(aPropertyString));
var mimeSource = gRDF.GetUnicodeResource(aMIMEString); var valueProperty = gRDF.GetUnicodeResource(NC_RDF(aPropertyString));
function changeMIMEStuff(aMIMEString, aPropertyString, aValueString){ var mimeSource = gRDF.GetResource(aMIMEString); var valueProperty = gRDF.GetResource(NC_RDF(aPropertyString)); var mimeLiteral = gRDF.GetLiteral(aValueString); var currentValue = gDS.GetTarget(mimeSource, valueProperty, true); if (currentValue) ...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/143f96976e0c1f3bd022481610199f1b68092a88/overrideHandler.js/clean/suite/common/pref/overrideHandler.js
nameInput.value = PrepareStringForURL(nameInput.value.replace(/\s+/g, "_"));
nameInput.value = ConvertToCDATAString(nameInput.value);
function ChangeName(){ if (nameInput.value.length > 0) { // Replace spaces with "_" and strip other non-URL characters // Note: we could use ConvertAndEscape, but then we'd // have to UnEscapeAndConvert beforehand - too messy! nameInput.value = PrepareStringForURL(nameInput.value.replace(/\s+/g, "_")); ...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/a77f7a0332866ead93a4b2feb8532028f06b3e10/EdNamedAnchorProps.js/clean/editor/ui/dialogs/content/EdNamedAnchorProps.js
wallet = Components.classes['component:
wallet = Components.classes['@mozilla.org/wallet;1'];
function changePasswords(){ wallet = Components.classes['component://netscape/wallet']; wallet = wallet.getService(); wallet = wallet.QueryInterface(Components.interfaces.nsIWalletService); wallet.WALLET_ChangePassword();}
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/0257791053c2b38e1dfaf2ee11afae973e82e394/pref-navigator.js/buggy/xpfe/components/prefwindow/resources/content/pref-navigator.js
timeout = "0";
timeout = "1";
function changePasswordSettings(){ var askTimes = 0; var timeout = internal_token.getAskPasswordTimeout(); var timeoutField = document.getElementById("passwordTimeout"); var radiogroup = document.getElementById("passwordAskTimes"); switch ( radiogroup.value ) { case "0": timeoutField.setAttribute("disabled", ...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/74875ca34542b5a5df829562fc1ed4e71f983851/pref-masterpass.js/clean/security/manager/pki/resources/content/pref-masterpass.js
{ if (gHighlightedMessageText) removeHighlighting();
function changeQuickSearchMode(aMenuItem){ viewDebug("changing quick search mode\n"); // extract the label and set the search input to match it var oldSearchMode = gSearchInput.searchMode; gSearchInput.searchMode = aMenuItem.value; if (gSearchInput.value == "" || gSearchInput.showingSearchCriteria) { gSearchIn...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/8fae567700dff9bacc0ff6ab8ee222df69b72497/searchBar.js/buggy/mail/base/content/searchBar.js
}
function changeQuickSearchMode(aMenuItem){ viewDebug("changing quick search mode\n"); // extract the label and set the search input to match it var oldSearchMode = gSearchInput.searchMode; gSearchInput.searchMode = aMenuItem.value; if (gSearchInput.value == "" || gSearchInput.showingSearchCriteria) { gSearchIn...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/8fae567700dff9bacc0ff6ab8ee222df69b72497/searchBar.js/buggy/mail/base/content/searchBar.js
SetElementEnabledById("ok", enable);
SetElementEnabled(gDialog.OkButton, enable);
function ChangeRowOrColumn(id){ // Allow only integers forceInteger(id); // Enable OK only if both rows and columns have a value > 0 var enable = gDialog.rowsInput.value.length > 0 && gDialog.rowsInput.value > 0 && gDialog.columnsInput.value.length > 0 && ...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/53f30e869bd5bfd611ffd96b41a216effd4ea288/EdInsertTable.js/buggy/editor/ui/dialogs/content/EdInsertTable.js
var rv = { newdpi : 0 };
var rv = { newdpi : -1 };
function changeScreenResolution() { var screenResolution = document.getElementById("screenResolution"); var userResolution = document.getElementById("userResolution"); var previousSelection = screenResolution.getElementsByAttribute("current", "true")[0]; if (screenResolution.value == "other") { ...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/7f4eae8402fd8e5446c0253867e80be1102ea769/pref-fonts.js/clean/suite/common/pref/pref-fonts.js
calscreen = window.openDialog("chrome:
var calscreen = window.openDialog("chrome:
function changeScreenResolution() { var screenResolution = document.getElementById("screenResolution"); var userResolution = document.getElementById("userResolution"); var previousSelection = screenResolution.getElementsByAttribute("current", "true")[0]; if (screenResolution.value == "other") { ...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/e774059904a47d9f619d269b6b4d3119ae88d797/pref-fonts.js/buggy/xpfe/components/prefwindow/resources/content/pref-fonts.js
function ChangeSelection(newType){ newType = Number(newType); if (SelectedCellsType == newType) return; if (newType == RESET_SELECTION) // Restore selection to existing focus cell selection.collapse(CellElement,0); else SelectedCellsType = newType; // Keep the same focus CellElement, just change the ty...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/1e7ee6f0f96dbc0326edd55283ca67952efda4df/EdTableProps.js/clean/editor/ui/dialogs/content/EdTableProps.js
function ChangeSelectionWithoutContentLoad(event, outliner){ var row = {}; var col = {}; var elt = {}; var outlinerBoxObj = outliner.outlinerBoxObject; var outlinerSelection = outlinerBoxObj.selection; outlinerBoxObj.getCellAt(event.clientX, event.clientY, row, col, elt); if((row.value >= 0) && !ou...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/ee85e50aeddd27ed604bbc6edc696a0605b41feb/msgMail3PaneWindow.js/buggy/mailnews/base/resources/content/msgMail3PaneWindow.js
function changeTableRecord(server, name, state) { this.server = server; this.name = name; this.state = state;
function changeTableRecord(server, name, state) { this.server = server; this.name = name; this.state = state;
function changeTableRecord(server, name, state) { this.server = server; this.name = name; this.state = state;}
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/5a43b8700a05b9ebde3bc7def3d22bff9b3a16e3/subscribe.js/clean/mailnews/base/resources/content/subscribe.js
if(messageView.viewType == viewShowUnread) return;
function ChangeThreadView(){ var folder = GetSelectedFolder(); var threadColumn = document.getElementById('ThreadColumnHeader'); if(threadColumn) { var currentView = threadColumn.getAttribute('currentView'); if(currentView== 'threaded') { ShowThreads(false); if(folder) folder.setAttribute('threaded', "false...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/e2955b1ba881bdab390012def159afb4caff27f1/threadPane.js/clean/mailnews/base/resources/content/threadPane.js
var title;
function changeTitleBar(componentType){ // Sanity check input if ( componentType == "event" || componentType == "todo" ) { var args = window.arguments[0]; // Is this a NEW event/todo, or are we EDITing an existing event/todo? if( "new" == args.mode ) title = document.getElementById( ...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/6fddcdd59677883e5ab1fea72f354baca52b0ac1/eventDialog.js/buggy/calendar/resources/content/eventDialog.js
if($.inArray(OSC.state.sel_sig_name, ['ch1', 'ch2', 'math']) < 0) {
if($.inArray(OSC.state.sel_sig_name, ['ch1', 'ch2', 'math', 'output1', 'output2']) < 0) {
OSC.changeYZoom = function(direction, curr_scale, send_changes) { // Output 1/2 signals do not have zoom if($.inArray(OSC.state.sel_sig_name, ['ch1', 'ch2', 'math']) < 0) { return; } var curr_scale = (curr_scale === undefined ? OSC.params.orig['OSC_' + OSC.state.sel_sig_name.toUpperCase() + '...
5956 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5956/c17858188b9be66845a662a1df071f137ddaf272/scope.js/clean/Applications/scope-new/js/scope.js
OSC.changeYZoom = function(direction, curr_scale, send_changes) { // Output 1/2 signals do not have zoom if($.inArray(OSC.state.sel_sig_name, ['ch1', 'ch2', 'math']) < 0) { return; } var curr_scale = (curr_scale === undefined ? OSC.params.orig['OSC_' + OSC.state.sel_sig_name.toUpperCase() + '...
5956 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5956/c17858188b9be66845a662a1df071f137ddaf272/scope.js/clean/Applications/scope-new/js/scope.js
if($.inArray(OSC.state.sel_sig_name, ['ch1', 'ch2', 'math']) < 0) {
if($.inArray(OSC.state.sel_sig_name, ['ch1', 'ch2', 'math', 'output1', 'output2']) < 0) {
OSC.changeYZoom = function(direction, curr_scale, send_changes) { // Output 1/2 signals do not have zoom if($.inArray(OSC.state.sel_sig_name, ['ch1', 'ch2', 'math']) < 0) { return; } var curr_scale = (curr_scale === undefined ? OSC.params.orig['OSC_' + OSC.state.sel_sig_name.toUpperCase() + '...
5956 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5956/6668f0e49fbd38ba9c70db6219741ed56b921533/scope.js/buggy/Applications/scope-new/js/scope.js
OSC.changeYZoom = function(direction, curr_scale, send_changes) { // Output 1/2 signals do not have zoom if($.inArray(OSC.state.sel_sig_name, ['ch1', 'ch2', 'math']) < 0) { return; } var curr_scale = (curr_scale === undefined ? OSC.params.orig['OSC_' + OSC.state.sel_sig_name.toUpperCase() + '...
5956 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5956/6668f0e49fbd38ba9c70db6219741ed56b921533/scope.js/buggy/Applications/scope-new/js/scope.js
this.parent.parent.sendData ("MODE " + this.parent.encodedName + " +k " + k + "\n");
this.parent.parent.sendData("MODE " + this.parent.encodedName + " +k " + k + "\n");
function chanm_lock (k){ if (!this.parent.users[this.parent.parent.me.nick].isOp) return false; this.parent.parent.sendData ("MODE " + this.parent.encodedName + " +k " + k + "\n"); return true;}
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/009763dfa8bae7c01f491a191f71b85ba2b38597/irc.js/buggy/extensions/irc/js/lib/irc.js
gPrevCharset = gLastBrowserCharset;
function charsetLoadListener (event){ var charset = window._content.document.characterSet; if (charset.length > 0 && (charset != gLastBrowserCharset)) { gCharsetMenu.SetCurrentCharset(charset); gLastBrowserCharset = charset; }}
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/b8f325553586d9f3915c2aa34bcf1d0e8b765fbe/charsetOverlay.js/buggy/xpfe/global/resources/content/charsetOverlay.js
var charset = window.content.document.characterSet;
var charset = window._content.document.characterSet;
function charsetLoadListener (event){ var menu = Components.classes['component://netscape/rdf/datasource?name=charset-menu']; if (menu) { menu = menu.getService(); menu = menu.QueryInterface(Components.interfaces.nsICurrentCharsetListener); } var charset = window.content.document.characterSet;...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/03ea82871ae0d2b0e52e9f402c89829c8a4feb6a/charsetOverlay.js/clean/xpfe/global/resources/content/charsetOverlay.js