rem
stringlengths
0
126k
add
stringlengths
0
441k
context
stringlengths
13
136k
meta
stringlengths
132
347
for( var i = 0; i < opener.gCalendarWindow.calendarManager.calendars.length; i++ ) { addCalendarToListBox( opener.gCalendarWindow.calendarManager.calendars[i], ListBoxId ); }
document.getElementById( ListBoxId ).database.AddDataSource( opener.gCalendarWindow.calendarManager.rdf.getDatasource() ); document.getElementById( ListBoxId ).builder.rebuild();
function buildCalendarsListbox( ListBoxId ){ for( var i = 0; i < opener.gCalendarWindow.calendarManager.calendars.length; i++ ) { addCalendarToListBox( opener.gCalendarWindow.calendarManager.calendars[i], ListBoxId ); }}
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/eccfe24949238ab11afd71e280a2c50fe7ee3ea0/wizard.js/clean/calendar/resources/content/wizard.js
for( var i = 0; i < opener.gCalendarWindow.calendarManager.calendars.length; i++ ) { addCalendarToListBox( opener.gCalendarWindow.calendarManager.calendars[i], ListBoxId ); }
document.getElementById( ListBoxId ).database.AddDataSource( opener.gCalendarWindow.calendarManager.rdf.getDatasource() ); document.getElementById( ListBoxId ).builder.rebuild();
function buildCalendarsListbox( ListBoxId ){ for( var i = 0; i < opener.gCalendarWindow.calendarManager.calendars.length; i++ ) { addCalendarToListBox( opener.gCalendarWindow.calendarManager.calendars[i], ListBoxId ); }}
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/eccfe24949238ab11afd71e280a2c50fe7ee3ea0/calendarWizard.js/clean/calendar/resources/content/calendarWizard.js
var cols = this.mColumns;
var cols = document.createElementNS(kXULNSURI, "outlinercols");
buildColumns: function() { var cols = this.mColumns; var col, val, split; for (var i = 0; i < cols.length; i++) { col = document.createElementNS(kXULNSURI, "outlinercol"); col.setAttribute("id", "outlinercol-"+cols[i].name); col.setAttribute("persist", "width"); col.setAttribute("label",...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/949278c0feae623ad87fbb837a26296fb734c13e/inTreeBuilder.js/buggy/extensions/inspector/resources/content/jsutil/xul/inTreeBuilder.js
for (var i = 0; i < cols.length; i++) {
for (var i = 0; i < this.mColumns.length; i++) {
buildColumns: function() { var cols = this.mColumns; var col, val, split; for (var i = 0; i < cols.length; i++) { col = document.createElementNS(kXULNSURI, "outlinercol"); col.setAttribute("id", "outlinercol-"+cols[i].name); col.setAttribute("persist", "width"); col.setAttribute("label",...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/949278c0feae623ad87fbb837a26296fb734c13e/inTreeBuilder.js/buggy/extensions/inspector/resources/content/jsutil/xul/inTreeBuilder.js
col.setAttribute("id", "outlinercol-"+cols[i].name);
col.setAttribute("id", "outlinercol-"+this.mColumns[i].name);
buildColumns: function() { var cols = this.mColumns; var col, val, split; for (var i = 0; i < cols.length; i++) { col = document.createElementNS(kXULNSURI, "outlinercol"); col.setAttribute("id", "outlinercol-"+cols[i].name); col.setAttribute("persist", "width"); col.setAttribute("label",...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/949278c0feae623ad87fbb837a26296fb734c13e/inTreeBuilder.js/buggy/extensions/inspector/resources/content/jsutil/xul/inTreeBuilder.js
col.setAttribute("label", cols[i].title);
col.setAttribute("label", this.mColumns[i].title);
buildColumns: function() { var cols = this.mColumns; var col, val, split; for (var i = 0; i < cols.length; i++) { col = document.createElementNS(kXULNSURI, "outlinercol"); col.setAttribute("id", "outlinercol-"+cols[i].name); col.setAttribute("persist", "width"); col.setAttribute("label",...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/949278c0feae623ad87fbb837a26296fb734c13e/inTreeBuilder.js/buggy/extensions/inspector/resources/content/jsutil/xul/inTreeBuilder.js
this.mOutliner.appendChild(col);
cols.appendChild(col);
buildColumns: function() { var cols = this.mColumns; var col, val, split; for (var i = 0; i < cols.length; i++) { col = document.createElementNS(kXULNSURI, "outlinercol"); col.setAttribute("id", "outlinercol-"+cols[i].name); col.setAttribute("persist", "width"); col.setAttribute("label",...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/949278c0feae623ad87fbb837a26296fb734c13e/inTreeBuilder.js/buggy/extensions/inspector/resources/content/jsutil/xul/inTreeBuilder.js
if (this.mSplitters && i < cols.length-1) {
if (this.mSplitters && i < this.mColumns.length-1) {
buildColumns: function() { var cols = this.mColumns; var col, val, split; for (var i = 0; i < cols.length; i++) { col = document.createElementNS(kXULNSURI, "outlinercol"); col.setAttribute("id", "outlinercol-"+cols[i].name); col.setAttribute("persist", "width"); col.setAttribute("label",...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/949278c0feae623ad87fbb837a26296fb734c13e/inTreeBuilder.js/buggy/extensions/inspector/resources/content/jsutil/xul/inTreeBuilder.js
this.mOutliner.appendChild(split);
cols.appendChild(split);
buildColumns: function() { var cols = this.mColumns; var col, val, split; for (var i = 0; i < cols.length; i++) { col = document.createElementNS(kXULNSURI, "outlinercol"); col.setAttribute("id", "outlinercol-"+cols[i].name); col.setAttribute("persist", "width"); col.setAttribute("label",...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/949278c0feae623ad87fbb837a26296fb734c13e/inTreeBuilder.js/buggy/extensions/inspector/resources/content/jsutil/xul/inTreeBuilder.js
this.mOutliner.appendChild(cols);
buildColumns: function() { var cols = this.mColumns; var col, val, split; for (var i = 0; i < cols.length; i++) { col = document.createElementNS(kXULNSURI, "outlinercol"); col.setAttribute("id", "outlinercol-"+cols[i].name); col.setAttribute("persist", "width"); col.setAttribute("label",...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/949278c0feae623ad87fbb837a26296fb734c13e/inTreeBuilder.js/buggy/extensions/inspector/resources/content/jsutil/xul/inTreeBuilder.js
var cols = this.mColumns;
var cols = document.createElementNS(kXULNSURI, "outlinercols");
buildColumns: function() { var cols = this.mColumns; var col, val, split; for (var i = 0; i < cols.length; i++) { col = document.createElementNS(kXULNSURI, "outlinercol"); col.setAttribute("id", "outlinercol-"+cols[i].name); col.setAttribute("persist", "width"); col.setAttribute("label",...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/949278c0feae623ad87fbb837a26296fb734c13e/inOutlinerBuilder.js/buggy/extensions/inspector/resources/content/jsutil/xul/inOutlinerBuilder.js
for (var i = 0; i < cols.length; i++) {
for (var i = 0; i < this.mColumns.length; i++) {
buildColumns: function() { var cols = this.mColumns; var col, val, split; for (var i = 0; i < cols.length; i++) { col = document.createElementNS(kXULNSURI, "outlinercol"); col.setAttribute("id", "outlinercol-"+cols[i].name); col.setAttribute("persist", "width"); col.setAttribute("label",...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/949278c0feae623ad87fbb837a26296fb734c13e/inOutlinerBuilder.js/buggy/extensions/inspector/resources/content/jsutil/xul/inOutlinerBuilder.js
col.setAttribute("id", "outlinercol-"+cols[i].name);
col.setAttribute("id", "outlinercol-"+this.mColumns[i].name);
buildColumns: function() { var cols = this.mColumns; var col, val, split; for (var i = 0; i < cols.length; i++) { col = document.createElementNS(kXULNSURI, "outlinercol"); col.setAttribute("id", "outlinercol-"+cols[i].name); col.setAttribute("persist", "width"); col.setAttribute("label",...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/949278c0feae623ad87fbb837a26296fb734c13e/inOutlinerBuilder.js/buggy/extensions/inspector/resources/content/jsutil/xul/inOutlinerBuilder.js
col.setAttribute("label", cols[i].title);
col.setAttribute("label", this.mColumns[i].title);
buildColumns: function() { var cols = this.mColumns; var col, val, split; for (var i = 0; i < cols.length; i++) { col = document.createElementNS(kXULNSURI, "outlinercol"); col.setAttribute("id", "outlinercol-"+cols[i].name); col.setAttribute("persist", "width"); col.setAttribute("label",...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/949278c0feae623ad87fbb837a26296fb734c13e/inOutlinerBuilder.js/buggy/extensions/inspector/resources/content/jsutil/xul/inOutlinerBuilder.js
this.mOutliner.appendChild(col);
cols.appendChild(col);
buildColumns: function() { var cols = this.mColumns; var col, val, split; for (var i = 0; i < cols.length; i++) { col = document.createElementNS(kXULNSURI, "outlinercol"); col.setAttribute("id", "outlinercol-"+cols[i].name); col.setAttribute("persist", "width"); col.setAttribute("label",...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/949278c0feae623ad87fbb837a26296fb734c13e/inOutlinerBuilder.js/buggy/extensions/inspector/resources/content/jsutil/xul/inOutlinerBuilder.js
if (this.mSplitters && i < cols.length-1) {
if (this.mSplitters && i < this.mColumns.length-1) {
buildColumns: function() { var cols = this.mColumns; var col, val, split; for (var i = 0; i < cols.length; i++) { col = document.createElementNS(kXULNSURI, "outlinercol"); col.setAttribute("id", "outlinercol-"+cols[i].name); col.setAttribute("persist", "width"); col.setAttribute("label",...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/949278c0feae623ad87fbb837a26296fb734c13e/inOutlinerBuilder.js/buggy/extensions/inspector/resources/content/jsutil/xul/inOutlinerBuilder.js
this.mOutliner.appendChild(split);
cols.appendChild(split);
buildColumns: function() { var cols = this.mColumns; var col, val, split; for (var i = 0; i < cols.length; i++) { col = document.createElementNS(kXULNSURI, "outlinercol"); col.setAttribute("id", "outlinercol-"+cols[i].name); col.setAttribute("persist", "width"); col.setAttribute("label",...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/949278c0feae623ad87fbb837a26296fb734c13e/inOutlinerBuilder.js/buggy/extensions/inspector/resources/content/jsutil/xul/inOutlinerBuilder.js
this.mOutliner.appendChild(cols);
buildColumns: function() { var cols = this.mColumns; var col, val, split; for (var i = 0; i < cols.length; i++) { col = document.createElementNS(kXULNSURI, "outlinercol"); col.setAttribute("id", "outlinercol-"+cols[i].name); col.setAttribute("persist", "width"); col.setAttribute("label",...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/949278c0feae623ad87fbb837a26296fb734c13e/inOutlinerBuilder.js/buggy/extensions/inspector/resources/content/jsutil/xul/inOutlinerBuilder.js
function buildDialog(){ var toolbar = window.opener.document.getElementById("nav-bar"); var useSmallIcons = document.getElementById("smallicons"); var iconSize = toolbar.getAttribute("iconsize"); useSmallIcons.checked = (iconSize == "small"); var modeList = document.getElementById("modelist"); var modeValue = too...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/54c209542ca1130560f7254ba0c3b7386fb5b5ea/customizeToolbar.js/clean/browser/base/content/customizeToolbar.js
newToolbar.setAttribute("mode", modeList.value);
function buildDialog(){ var toolbar = window.opener.document.getElementById("nav-bar"); var useSmallIcons = document.getElementById("smallicons"); var iconSize = toolbar.getAttribute("iconsize"); useSmallIcons.checked = (iconSize == "small"); var modeList = document.getElementById("modelist"); var modeValue = too...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/54c209542ca1130560f7254ba0c3b7386fb5b5ea/customizeToolbar.js/clean/browser/base/content/customizeToolbar.js
if (modeValue == "text")
if (modeValue == "text") {
function buildDialog(){ var toolbar = window.opener.document.getElementById("nav-bar"); var useSmallIcons = document.getElementById("smallicons"); var iconSize = toolbar.getAttribute("iconsize"); useSmallIcons.checked = (iconSize == "small"); var modeList = document.getElementById("modelist"); var modeValue = too...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/e29a166f4bdc95ddfc8bba705820c4c1f1cbe90c/customizeToolbar.js/buggy/browser/base/content/customizeToolbar.js
useSmallIcons.checked = false; }
function buildDialog(){ var toolbar = window.opener.document.getElementById("nav-bar"); var useSmallIcons = document.getElementById("smallicons"); var iconSize = toolbar.getAttribute("iconsize"); useSmallIcons.checked = (iconSize == "small"); var modeList = document.getElementById("modelist"); var modeValue = too...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/e29a166f4bdc95ddfc8bba705820c4c1f1cbe90c/customizeToolbar.js/buggy/browser/base/content/customizeToolbar.js
buildFeedList: function(event) { var menuPopup = event.target;
buildFeedList: function(menuPopup) {
buildFeedList: function(event) { var menuPopup = event.target; var feeds = gBrowser.selectedBrowser.feeds; if (feeds == null) { // XXX hack -- menu opening depends on setting of an "open" // attribute, and the menu refuses to open if that attribute is // set (because it thinks it's already ope...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/c15fab5d8ba241516a813587f7707830eb833517/browser.js/clean/browser/base/content/browser.js
if (feeds.length == 1) { this.subscribeToFeed(feeds[0].href);
if (feeds.length == 1)
buildFeedList: function(event) { var menuPopup = event.target; var feeds = gBrowser.selectedBrowser.feeds; if (feeds == null) { // XXX hack -- menu opening depends on setting of an "open" // attribute, and the menu refuses to open if that attribute is // set (because it thinks it's already ope...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/c15fab5d8ba241516a813587f7707830eb833517/browser.js/clean/browser/base/content/browser.js
}
buildFeedList: function(event) { var menuPopup = event.target; var feeds = gBrowser.selectedBrowser.feeds; if (feeds == null) { // XXX hack -- menu opening depends on setting of an "open" // attribute, and the menu refuses to open if that attribute is // set (because it thinks it's already ope...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/c15fab5d8ba241516a813587f7707830eb833517/browser.js/clean/browser/base/content/browser.js
if (feeds.length == 1)
if (feeds.length == 1) { var feedButton = document.getElementById("feed-button"); if (feedButton) feedButton.setAttribute("feed", feeds[0].href);
buildFeedList: function(menuPopup) { var feeds = gBrowser.selectedBrowser.feeds; if (feeds == null) { // XXX hack -- menu opening depends on setting of an "open" // attribute, and the menu refuses to open if that attribute is // set (because it thinks it's already open). onpopupshowing gets ...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/7e270a93ddcf1a18ca5d7378e20a5bfea0232b34/browser.js/clean/browser/base/content/browser.js
}
buildFeedList: function(menuPopup) { var feeds = gBrowser.selectedBrowser.feeds; if (feeds == null) { // XXX hack -- menu opening depends on setting of an "open" // attribute, and the menu refuses to open if that attribute is // set (because it thinks it's already open). onpopupshowing gets ...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/7e270a93ddcf1a18ca5d7378e20a5bfea0232b34/browser.js/clean/browser/base/content/browser.js
for(i = 0; i < list.length; i++)
for(i = 0; i < list.length; i++)
function buildForwardDeclarationsList(iid){ var i, cur, prev; var list = []; var outList = []; appendForwardDeclarations(list, new IInfo(iid)); list.sort(); for(i = 0; i < list.length; i++) { cur = list[i]; if(cur != prev && cur != "nsISupports") { if(cur != MI...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/55a5e5ddbf4a7e9103b995d808c4466085d2123f/nsInterfaceInfoToIDL.js/buggy/extensions/webservices/interfaceinfo/src/nsInterfaceInfoToIDL.js
if(cur != prev && cur != "nsISupports")
if(cur != prev && cur != "nsISupports")
function buildForwardDeclarationsList(iid){ var i, cur, prev; var list = []; var outList = []; appendForwardDeclarations(list, new IInfo(iid)); list.sort(); for(i = 0; i < list.length; i++) { cur = list[i]; if(cur != prev && cur != "nsISupports") { if(cur != MI...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/55a5e5ddbf4a7e9103b995d808c4466085d2123f/nsInterfaceInfoToIDL.js/buggy/extensions/webservices/interfaceinfo/src/nsInterfaceInfoToIDL.js
if(cur != MISSING_INTERFACE) outList.push(cur); prev = cur; }
if(cur != MISSING_INTERFACE) outList.push(cur); prev = cur; }
function buildForwardDeclarationsList(iid){ var i, cur, prev; var list = []; var outList = []; appendForwardDeclarations(list, new IInfo(iid)); list.sort(); for(i = 0; i < list.length; i++) { cur = list[i]; if(cur != prev && cur != "nsISupports") { if(cur != MI...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/55a5e5ddbf4a7e9103b995d808c4466085d2123f/nsInterfaceInfoToIDL.js/buggy/extensions/webservices/interfaceinfo/src/nsInterfaceInfoToIDL.js
return outList;
return outList;
function buildForwardDeclarationsList(iid){ var i, cur, prev; var list = []; var outList = []; appendForwardDeclarations(list, new IInfo(iid)); list.sort(); for(i = 0; i < list.length; i++) { cur = list[i]; if(cur != prev && cur != "nsISupports") { if(cur != MI...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/55a5e5ddbf4a7e9103b995d808c4466085d2123f/nsInterfaceInfoToIDL.js/buggy/extensions/webservices/interfaceinfo/src/nsInterfaceInfoToIDL.js
checkForUpdates.disabled = gPrefBranch.prefIsLocked("app.update.enabled");
function buildHelpMenu(){ var updates = Components.classes["@mozilla.org/updates/update-service;1"]. getService(Components.interfaces.nsIApplicationUpdateService); var um = Components.classes["@mozilla.org/updates/update-manager;1"]. getService(Components.interfaces.nsIUpdateManager); var activ...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/6e2262d10a0bfa5aff5d93ecaf96c47df05e0e20/mailWindowOverlay.js/buggy/mail/base/content/mailWindowOverlay.js
var mimeSource = gRDF.GetResource(MIME_URI(this.mimeType)); var handlerProperty = gRDF.GetResource(NC_RDF("handlerProp")); var handlerResource = gRDF.GetResource(HANDLER_URI(this.mimeType));
var mimeSource = gRDF.GetUnicodeResource(MIME_URI(this.mimeType)); var handlerProperty = gRDF.GetUnicodeResource(NC_RDF("handlerProp")); var handlerResource = gRDF.GetUnicodeResource(HANDLER_URI(this.mimeType));
buildLinks: function() { // assert the handler resource var mimeSource = gRDF.GetResource(MIME_URI(this.mimeType)); var handlerProperty = gRDF.GetResource(NC_RDF("handlerProp")); var handlerResource = gRDF.GetResource(HANDLER_URI(this.mimeType)); gDS.Assert(mimeSource, handlerProperty, handlerResource...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/143f96976e0c1f3bd022481610199f1b68092a88/overrideHandler.js/clean/suite/common/pref/overrideHandler.js
var helperAppProperty = gRDF.GetResource(NC_RDF("externalApplication")); var helperAppResource = gRDF.GetResource(APP_URI(this.mimeType));
var helperAppProperty = gRDF.GetUnicodeResource(NC_RDF("externalApplication")); var helperAppResource = gRDF.GetUnicodeResource(APP_URI(this.mimeType));
buildLinks: function() { // assert the handler resource var mimeSource = gRDF.GetResource(MIME_URI(this.mimeType)); var handlerProperty = gRDF.GetResource(NC_RDF("handlerProp")); var handlerResource = gRDF.GetResource(HANDLER_URI(this.mimeType)); gDS.Assert(mimeSource, handlerProperty, handlerResource...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/143f96976e0c1f3bd022481610199f1b68092a88/overrideHandler.js/clean/suite/common/pref/overrideHandler.js
var containerRes = gRDF.GetResource("urn:mimetypes:root");
var containerRes = gRDF.GetUnicodeResource("urn:mimetypes:root");
buildLinks: function() { // assert the handler resource var mimeSource = gRDF.GetResource(MIME_URI(this.mimeType)); var handlerProperty = gRDF.GetResource(NC_RDF("handlerProp")); var handlerResource = gRDF.GetResource(HANDLER_URI(this.mimeType)); gDS.Assert(mimeSource, handlerProperty, handlerResource...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/143f96976e0c1f3bd022481610199f1b68092a88/overrideHandler.js/clean/suite/common/pref/overrideHandler.js
var element = gRDF.GetResource(MIME_URI(this.mimeType));
var element = gRDF.GetUnicodeResource(MIME_URI(this.mimeType));
buildLinks: function() { // assert the handler resource var mimeSource = gRDF.GetResource(MIME_URI(this.mimeType)); var handlerProperty = gRDF.GetResource(NC_RDF("handlerProp")); var handlerResource = gRDF.GetResource(HANDLER_URI(this.mimeType)); gDS.Assert(mimeSource, handlerProperty, handlerResource...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/143f96976e0c1f3bd022481610199f1b68092a88/overrideHandler.js/clean/suite/common/pref/overrideHandler.js
var container = Components.classes["component:
var container = Components.classes["@mozilla.org/rdf/container;1"].createInstance();
buildLinks: function() { // assert the handler resource var mimeSource = gRDF.GetResource(MIME_URI(this.mimeType)); var handlerProperty = gRDF.GetResource(NC_RDF("handlerProp")); var handlerResource = gRDF.GetResource(HANDLER_URI(this.mimeType)); gDS.Assert(mimeSource, handlerProperty, handlerResource...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/0257791053c2b38e1dfaf2ee11afae973e82e394/overrideHandler.js/buggy/xpfe/components/prefwindow/resources/content/overrideHandler.js
var sidebar = document.getElementById('sidebar-box'); var width = sidebar.getAttribute('width'); sidebar.setAttribute('width', parseInt(width) + delta);
var sidebarBox = document.getElementById('sidebar-box'); var width = sidebarBox.getAttribute('width'); sidebarBox.setAttribute('width', parseInt(width) + delta);
function bump_width(delta) { var sidebar = document.getElementById('sidebar-box'); var width = sidebar.getAttribute('width'); sidebar.setAttribute('width', parseInt(width) + delta);}
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/aa603f0f529d7c123ea734cdd5404bca6bdb5c50/sidebarOverlay.js/buggy/suite/common/sidebar/sidebarOverlay.js
if (dialogType == cookieType) session.disabled = !site;
function buttonEnabling(textfield) { // trim any leading space var site = textfield.value.replace(/^\s*([-\w]*:\/+)?/, ""); var block = document.getElementById("btnBlock"); var allow = document.getElementById("btnAllow"); block.disabled = !site; allow.disabled = !site;}
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/4efc16689c35764447c8ec0e324e14ed96f3971b/cookieViewer.js/clean/xpfe/components/permissions/content/cookieViewer.js
if (dialogType == cookieType) session.disabled = !site;
function buttonEnabling(textfield) { // trim any leading space var site = textfield.value.replace(/^\s*([-\w]*:\/+)?/, ""); var block = document.getElementById("btnBlock"); var allow = document.getElementById("btnAllow"); block.disabled = !site; allow.disabled = !site;}
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/4efc16689c35764447c8ec0e324e14ed96f3971b/CookieViewer.js/buggy/extensions/wallet/cookieviewer/resources/content/CookieViewer.js
if (dialogType == cookieType) session.disabled = !site;
function buttonEnabling(textfield) { // trim any leading space var site = textfield.value.replace(/^\s*([-\w]*:\/+)?/, ""); var block = document.getElementById("btnBlock"); var allow = document.getElementById("btnAllow"); block.disabled = !site; allow.disabled = !site;}
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/1683da5f165326a8ffc3638af9c854102822af4d/cookieViewer.js/clean/suite/common/permissions/cookieViewer.js
function c(a,b,d){return (!a||a==c||b==d);}
function c(a,b,d){return (!a||a==d||b==d);}
function c(a,b,d){return (!a||a==c||b==d);}
6056 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/6056/a457262ef5bcb163417a1f6db0b770f1fc21b3a4/fx.js/buggy/fx/fx.js
dump( "Fire alarm "+ calendarEvent );
dump( "Fire alarm "+ calendarEvent + "\n" );
CalendarAlarmObserver.prototype.fireAlarm = function calAlarm_fireAlarm( calendarEvent ){ dump( "Fire alarm "+ calendarEvent ); if( typeof( gCalendarWindow ) == "undefined" ) { return; } var categoriesStringBundle = srGetStrBundle("chrome://calendar/locale/calendar.properties"); if( getBool...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/363778bde9ea06336cfda76cc5ae9a9ba5133c6b/calendarEvent.js/clean/calendar/resources/content/calendarEvent.js
observer.onAlarm( this.pendingAlarmList[ i ] );
CalendarAlarmObserver.prototype.firePendingAlarms = function calAlarm_firePendingAlarms( observer ){ this.addToPending = false; if( this.pendingAlarmList ) { for( var i in this.pendingAlarmList ) { this.fireAlarm( this.pendingAlarmList[ i ] ); observer.onAlarm( this.pendingAlarmLi...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/363778bde9ea06336cfda76cc5ae9a9ba5133c6b/calendarEvent.js/clean/calendar/resources/content/calendarEvent.js
dump( "caEvent.alarmWentOff is "+ calendarEvent );
dump( "caEvent.alarmWentOff is "+ calendarEvent + "\n" );
CalendarAlarmObserver.prototype.onAlarm = function calAlarm_onAlarm( calendarEvent ){ dump( "caEvent.alarmWentOff is "+ calendarEvent ); if( this.addToPending ) { dump( "defering alarm "+ calendarEvent ); this.pendingAlarmList.push( calendarEvent ); } else { this.fireAlarm( ca...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/363778bde9ea06336cfda76cc5ae9a9ba5133c6b/calendarEvent.js/clean/calendar/resources/content/calendarEvent.js
dump( "defering alarm "+ calendarEvent );
dump( "defering alarm "+ calendarEvent + "\n" );
CalendarAlarmObserver.prototype.onAlarm = function calAlarm_onAlarm( calendarEvent ){ dump( "caEvent.alarmWentOff is "+ calendarEvent ); if( this.addToPending ) { dump( "defering alarm "+ calendarEvent ); this.pendingAlarmList.push( calendarEvent ); } else { this.fireAlarm( ca...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/363778bde9ea06336cfda76cc5ae9a9ba5133c6b/calendarEvent.js/clean/calendar/resources/content/calendarEvent.js
this.mCalendars = new Array(); this.mCompositeObservers = new Array(); this.mObservers = new Array(); this.mDefaultCalendar = null;
function calCompositeCalendar () { this.mObserverHelper = new calCompositeCalendarObserverHelper(this); this.wrappedJSObject = this;}
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/a5dc8ffc8f86206be3265e000bc1c66ec08f262d/calCompositeCalendar.js/clean/calendar/providers/composite/calCompositeCalendar.js
this.mUriParams = null;
function calDavCalendar() { this.wrappedJSObject = this; this.mObservers = Array(); this.unmappedProperties = [];}
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/2e31de3c35bb2619ae74d0b960757b93a8d8987d/calDavCalendar.js/buggy/calendar/providers/caldav/calDavCalendar.js
var calcColor = ThisCalendarObject.color.replace( /#/g, "" ); var red = calcColor.substring( 0, 2 ); var green = calcColor.substring( 2, 4 ); var blue = calcColor.substring( 4, 6 ); var sum = parseInt( red, 16 ) + parseInt( green, 16 ) + parseInt( blue, 16 ); if ( sum < 256 ) tempStyleSheets[j].insertRule( "." + c...
function calendarColorStyleRuleUpdate( ThisCalendarObject ){ var j = -1; var i; // obtain calendar name from the Id var containerName = ThisCalendarObject.Id.split(':')[2]; var tempStyleSheets = document.styleSheets; for (i=0; i<tempStyleSheets.length; i++) { if (tempStyleSheets[i].href.match(/chr...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/a7527a4af41c8209dbcdba40693f64a74f64677b/calendarManager.js/clean/calendar/resources/content/calendarManager.js
try { var iCalLibComponent = Components.classes["@mozilla.org/ical-container;1"].createInstance(); } catch ( e ) { alert( "The ICAL Component is not registered properly. Please follow the instructions below:\n"+ "Windows Users:\n"+ "-Please quit Mozilla, run regxpcom and run Mozilla again.\n\n"+ "Linux users:\n"+ "1)Ma...
try { var iCalLibComponent = Components.classes["@mozilla.org/ical-container;1"].createInstance(); } catch ( e ) { alert( "The ICAL Component is not registered properly. Please follow the instructions below:\n"+ "Windows Users:\n"+ "-Please quit Mozilla, run regxpcom and run Mozilla again.\n\n"+ "Linux users:\n"+ "1)Ma...
function CalendarEventDataSource( observer, UserPath, syncPath ){ try { var iCalLibComponent = Components.classes["@mozilla.org/ical-container;1"].createInstance(); } catch ( e ) { alert( "The ICAL Component is not registered properly. Please follow the instructions below:\n"+ "Windows U...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/3ddf0a639ee58db8c4e4b7b0c535b6b1e1ab488b/calendarEvent.js/clean/calendar/resources/content/calendarEvent.js
var tabbox = document.getElementById("tablist"); tabbox.setAttribute("selectedIndex", tabbox.selectedIndex);
function calendarFinish(){ finishCalendarUnifinder(); finishCalendarToDoUnifinder(); finishCalendarManager();}
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/37ddea5c6b3feb17a4ee51b3054dfa48a1419ab2/calendar.js/clean/calendar/resources/content/calendar.js
gCalendarWindow.close(); gICalLib.removeObserver( gEventSource.alarmObserver );
function calendarFinish(){ finishCalendarUnifinder(); finishCalendarToDoUnifinder(); finishCalendarManager(); gCalendarWindow.close(); gICalLib.removeObserver( gEventSource.alarmObserver );}
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/b831e6d9a37212f4b6922beb7de86268078e5bbd/calendar.js/buggy/calendar/resources/content/calendar.js
document.getElementById( 'event-filter-menulist' ).setAttribute( "label", document.getElementById( 'event-filter-menulist' ).selectedItem.getAttribute( 'label' ) );
function calendarInit() { // get the calendar event data source gEventSource = new CalendarEventDataSource(); // get the Ical Library gICalLib = gEventSource.getICalLib(); // set up the CalendarWindow instance gCalendarWindow = new CalendarWindow( gEventSource ); //when you switch to a view, it ...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/eccfe24949238ab11afd71e280a2c50fe7ee3ea0/calendar.js/clean/calendar/resources/content/calendar.js
gICalLib = new Object();
function calendarInit() { // XXX remove this eventually gICalLib = new Object(); // set up the CalendarWindow instance gCalendarWindow = new CalendarWindow(); //when you switch to a view, it takes care of refreshing the events, so that call is not needed. gCalendarWindow.currentView.switchTo( gCalen...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/b831e6d9a37212f4b6922beb7de86268078e5bbd/calendar.js/buggy/calendar/resources/content/calendar.js
document.getElementById("view-deck") .addEventListener("dayselect", observeViewDaySelect, false);
function calendarInit() { // set up the CalendarWindow instance gCalendarWindow = new CalendarWindow(); // Set up the checkbox variables. Do not use the typical change*() functions // because those will actually toggle the current value. if (document.getElementById("toggle_workdays_only").getAttribute("ch...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/962c1e35708e7dbc484739c290b2d994ed2f05c7/calendar.js/clean/calendar/resources/content/calendar.js
if( window.arguments && window.arguments[0].channel )
if( ("arguments" in window.arguments) && ("channel" in window.arguments[0]) )
function calendarInit() { // get the calendar event data source gEventSource = new CalendarEventDataSource(); // get the Ical Library gICalLib = gEventSource.getICalLib(); // this suspends feedbacks to observers until all is settled gICalLib.batchMode = true; // set up the CalendarWindow instance ...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/43af53d38378fb9a505110a2d97a8a77d2e30104/calendar.js/clean/calendar/resources/content/calendar.js
gEventSource.alarmObserver.firePendingAlarms();
function calendarInit() { // get the calendar event data source gEventSource = new CalendarEventDataSource(); // get the Ical Library gICalLib = gEventSource.getICalLib(); // set up the CalendarWindow instance gCalendarWindow = new CalendarWindow(); //when you switch to a view, it takes care of ...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/363778bde9ea06336cfda76cc5ae9a9ba5133c6b/calendar.js/clean/calendar/resources/content/calendar.js
var calcColor = calendarColor.replace(/#/g, ""); var red = calcColor.substring(0, 2); var green = calcColor.substring(2, 4); var blue = calcColor.substring(4, 6); var sum = parseInt(red, 16) + parseInt(green, 16) + parseInt(blue, 16); if (sum < 256) gCalendarStyleSheet.insertRule("." + containerName + " { color:"...
function calendarInit() { // get the calendar event data source gEventSource = new CalendarEventDataSource(); // get the Ical Library gICalLib = gEventSource.getICalLib(); // this suspends feedbacks to observers until all is settled gICalLib.batchMode = true; // set up the CalendarWindow instance ...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/a7527a4af41c8209dbcdba40693f64a74f64677b/calendar.js/clean/calendar/resources/content/calendar.js
var profileFile = this.getProfileDirectory();
profileFile = this.getProfileDirectory();
function calendarManager( CalendarWindow ){ this.CalendarWindow = CalendarWindow; /* We need a Calendar directory in our profile directory */ var CalendarDirectory = new File( this.getProfileDirectory().path ); CalendarDirectory.append( "Calendar" ); /* make sure the calendar directory exists, create it if...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/76b784fca4394a565ab5193c3d63c72fbff3d57a/calendarManager.js/buggy/calendar/resources/content/calendarManager.js
this.nextCalendarNumber = 1;
function calendarManager( CalendarWindow ){ this.nextCalendarNumber = 1; this.CalendarWindow = CalendarWindow; this.calendars = new Array(); this.getAllCalendars(); for( var i = 0; i < this.calendars.length; i++ ) { this.addCalendarToListBox( this.calendars[i] ); } //if the calendars are being used...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/eccfe24949238ab11afd71e280a2c50fe7ee3ea0/calendarManager.js/buggy/calendar/resources/content/calendarManager.js
this.calendars = new Array();
/* We need a Calendar directory in our profile directory */ var CalendarDirectory = new File( this.getProfileDirectory().path );
function calendarManager( CalendarWindow ){ this.nextCalendarNumber = 1; this.CalendarWindow = CalendarWindow; this.calendars = new Array(); this.getAllCalendars(); for( var i = 0; i < this.calendars.length; i++ ) { this.addCalendarToListBox( this.calendars[i] ); } //if the calendars are being used...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/eccfe24949238ab11afd71e280a2c50fe7ee3ea0/calendarManager.js/buggy/calendar/resources/content/calendarManager.js
this.getAllCalendars(); for( var i = 0; i < this.calendars.length; i++ )
CalendarDirectory.append( "Calendar" ); /* make sure the calendar directory exists, create it if it doesn't */ if( !CalendarDirectory.exists() )
function calendarManager( CalendarWindow ){ this.nextCalendarNumber = 1; this.CalendarWindow = CalendarWindow; this.calendars = new Array(); this.getAllCalendars(); for( var i = 0; i < this.calendars.length; i++ ) { this.addCalendarToListBox( this.calendars[i] ); } //if the calendars are being used...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/eccfe24949238ab11afd71e280a2c50fe7ee3ea0/calendarManager.js/buggy/calendar/resources/content/calendarManager.js
this.addCalendarToListBox( this.calendars[i] );
var thisDir = new Dir( CalendarDirectory.path ); thisDir.create( 0755 );
function calendarManager( CalendarWindow ){ this.nextCalendarNumber = 1; this.CalendarWindow = CalendarWindow; this.calendars = new Array(); this.getAllCalendars(); for( var i = 0; i < this.calendars.length; i++ ) { this.addCalendarToListBox( this.calendars[i] ); } //if the calendars are being used...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/eccfe24949238ab11afd71e280a2c50fe7ee3ea0/calendarManager.js/buggy/calendar/resources/content/calendarManager.js
this.addActiveCalendars();
var profileFile = this.getProfileDirectory(); profileFile.append("Calendar"); profileFile.append("CalendarManager.rdf"); this.rdf = new RDFFile( profileFile.path, null); /* make sure we have a root node, if not we probably have an empty file */ if( this.rdf.getRootContainers().length == 0 ) { this.rootContainer = th...
function calendarManager( CalendarWindow ){ this.nextCalendarNumber = 1; this.CalendarWindow = CalendarWindow; this.calendars = new Array(); this.getAllCalendars(); for( var i = 0; i < this.calendars.length; i++ ) { this.addCalendarToListBox( this.calendars[i] ); } //if the calendars are being used...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/eccfe24949238ab11afd71e280a2c50fe7ee3ea0/calendarManager.js/buggy/calendar/resources/content/calendarManager.js
autoreload = Calendar.getAttribute( "http:
var autoreload = Calendar.getAttribute( "http:
function calendarManager( CalendarWindow ){ this.CalendarWindow = CalendarWindow; /* We need a Calendar directory in our profile directory */ var CalendarDirectory = new File( this.getProfileDirectory().path ); CalendarDirectory.append( "Calendar" ); /* make sure the calendar directory exists, create it if...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/13761798e3ddbe9f1240ecbee841519755babdbc/calendarManager.js/buggy/calendar/resources/content/calendarManager.js
getBoolPref( this.calendarPref, "week.d0sundaysoff", "true"==calendarStringBundle.GetStringFromName("defaultWeekSundaysOff" ) ); getBoolPref( this.calendarPref, "week.d1mondaysoff", "true"==calendarStringBundle.GetStringFromName("defaultWeekMondaysOff" ) ); getBoolPref( this.calendarPref, "week.d2tuesdaysoff", "true"==...
function calendarPreferences( CalendarWindow ){ window.calendarPrefObserver = new calendarPrefObserver( this ); this.calendarWindow = CalendarWindow; this.calendarPref = prefService.getBranch("calendar."); // preferences calendar node var calendarStringBundle = srGetStrBundle("chrome://calendar/locale/calend...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/4d83c28abdf92a3318a9c1ab5072e58054a2f6e1/rootCalendarPref.js/buggy/calendar/resources/content/pref/rootCalendarPref.js
window.addEventListener("unload", this, false);
function calendarPrefObserver( CalendarPreferences ){ this.CalendarPreferences = CalendarPreferences; try { var pbi = rootPrefNode.QueryInterface(Components.interfaces.nsIPrefBranchInternal); pbi.addObserver("calendar", this, false); } catch(ex) { dump("Calendar: Failed to observe prefs: " + ex + "\n");...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/b8c2eec906363c0e938d2adfbbd1740ecebb0f00/rootCalendarPref.js/buggy/calendar/resources/content/pref/rootCalendarPref.js
}
}
function calendarPublish(aDataString, newLocation, login, password, contentType){ try { var protocolChannel = get_destination_channel(newLocation, login, password); if (!protocolChannel) { dump("failed to get a destination channel\n"); return; } output_string_to_channel(protocolChannel, aData...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/55a5e5ddbf4a7e9103b995d808c4466085d2123f/publish.js/buggy/calendar/resources/content/publish.js
SearchTree.treeBoxObject.selection.select( -1 );
SearchTree.treeBoxObject.selection.clearSelection();
function calendarUnifinderInit( ){ var unifinderEventSelectionObserver = { onSelectionChanged : function( EventSelectionArray ) { /* This no longer works since we moved to a tree */ var SearchTree = document.getElementById( "unifinder-search-results-listbox" ); ...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/3a988e91da0018285403052b99c8aa46f194e3e5/unifinder.js/buggy/calendar/resources/content/unifinder.js
SearchTree.treeBoxObject.selection.select( Index );
SearchTree.treeBoxObject.selection.toggleSelect( Index );
function calendarUnifinderInit( ){ var unifinderEventSelectionObserver = { onSelectionChanged : function( EventSelectionArray ) { /* This no longer works since we moved to a tree */ var SearchTree = document.getElementById( "unifinder-search-results-listbox" ); ...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/3a988e91da0018285403052b99c8aa46f194e3e5/unifinder.js/buggy/calendar/resources/content/unifinder.js
var SearchTree = document.getElementById( UnifinderTreeName ); /* The following is a brutal hack, caused by http: and described in bug 168211 http: Do NOT remove anything in the next 3 lines, or the selection in the tree will not work. */
function calendarUnifinderInit( ){ var unifinderEventSelectionObserver = { onSelectionChanged : function( EventSelectionArray ) { // XXX This selection observer needs to be re written. // Problems: When selecting everything, if( gCalendarEventTreeClicked === false ) ...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/32f97cecc7b8e93cc066d7822a92467a975d777c/unifinder.js/buggy/calendar/resources/content/unifinder.js
SearchTree.treeBoxObject.selection.selectEventsSuppressed = true; SearchTree.onselect = null; SearchTree.removeEventListener( "select", unifinderOnSelect, true );
function calendarUnifinderInit( ){ var unifinderEventSelectionObserver = { onSelectionChanged : function( EventSelectionArray ) { // XXX This selection observer needs to be re written. // Problems: When selecting everything, if( gCalendarEventTreeClicked === false ) ...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/32f97cecc7b8e93cc066d7822a92467a975d777c/unifinder.js/buggy/calendar/resources/content/unifinder.js
if( gCalendarEventTreeClicked === false )
if( EventSelectionArray.length > 1 )
function calendarUnifinderInit( ){ var unifinderEventSelectionObserver = { onSelectionChanged : function( EventSelectionArray ) { // XXX This selection observer needs to be re written. // Problems: When selecting everything, if( gCalendarEventTreeClicked === false ) ...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/32f97cecc7b8e93cc066d7822a92467a975d777c/unifinder.js/buggy/calendar/resources/content/unifinder.js
var SearchTree = document.getElementById( UnifinderTreeName ); if( EventSelectionArray.length > 1 ) { for( i = 0; i < EventSelectionArray.length; i++ ) { var RowToScrollTo = SearchTree.eventView.getRowOfCalendarEvent( EventSelectionArray[i] ); }
} else if( EventSelectionArray.length == 1 ) { var RowToScrollTo = SearchTree.eventView.getRowOfCalendarEvent( EventSelectionArray[0] );
function calendarUnifinderInit( ){ var unifinderEventSelectionObserver = { onSelectionChanged : function( EventSelectionArray ) { // XXX This selection observer needs to be re written. // Problems: When selecting everything, if( gCalendarEventTreeClicked === false ) ...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/32f97cecc7b8e93cc066d7822a92467a975d777c/unifinder.js/buggy/calendar/resources/content/unifinder.js
} else if( EventSelectionArray.length == 1 )
if( RowToScrollTo != "null" )
function calendarUnifinderInit( ){ var unifinderEventSelectionObserver = { onSelectionChanged : function( EventSelectionArray ) { // XXX This selection observer needs to be re written. // Problems: When selecting everything, if( gCalendarEventTreeClicked === false ) ...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/32f97cecc7b8e93cc066d7822a92467a975d777c/unifinder.js/buggy/calendar/resources/content/unifinder.js
var RowToScrollTo = SearchTree.eventView.getRowOfCalendarEvent( EventSelectionArray[0] );
function calendarUnifinderInit( ){ var unifinderEventSelectionObserver = { onSelectionChanged : function( EventSelectionArray ) { // XXX This selection observer needs to be re written. // Problems: When selecting everything, if( gCalendarEventTreeClicked === false ) ...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/32f97cecc7b8e93cc066d7822a92467a975d777c/unifinder.js/buggy/calendar/resources/content/unifinder.js
gCalendarEventTreeClicked = false;
/* This needs to be in a setTimeout */ setTimeout( "resetSelection()", 1 );
function calendarUnifinderInit( ){ var unifinderEventSelectionObserver = { onSelectionChanged : function( EventSelectionArray ) { // XXX This selection observer needs to be re written. // Problems: When selecting everything, if( gCalendarEventTreeClicked === false ) ...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/32f97cecc7b8e93cc066d7822a92467a975d777c/unifinder.js/buggy/calendar/resources/content/unifinder.js
SearchTree.treeBoxObject.selection.select( -1 );
SearchTree.treeBoxObject.selection.clearSelection( );
function calendarUnifinderInit( ){ var unifinderEventSelectionObserver = { onSelectionChanged : function( EventSelectionArray ) { if( gCalendarEventTreeClicked === false ) { var SearchTree = document.getElementById( UnifinderTreeName ); SearchTree.treeBox...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/13a4f293e2a84ff4a6ccbc1d4c855360e2246177/unifinder.js/clean/calendar/resources/content/unifinder.js
SearchTree.treeBoxObject.selection.select( RowToScrollTo );
SearchTree.treeBoxObject.selection.timedSelect( RowToScrollTo, 1 );
function calendarUnifinderInit( ){ var unifinderEventSelectionObserver = { onSelectionChanged : function( EventSelectionArray ) { if( gCalendarEventTreeClicked === false ) { var SearchTree = document.getElementById( UnifinderTreeName ); SearchTree.treeBox...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/13a4f293e2a84ff4a6ccbc1d4c855360e2246177/unifinder.js/clean/calendar/resources/content/unifinder.js
SearchTree.focus();
function calendarUnifinderInit( ){ var unifinderEventSelectionObserver = { onSelectionChanged : function( EventSelectionArray ) { if( gCalendarEventTreeClicked === false ) { var SearchTree = document.getElementById( UnifinderTreeName ); SearchTree.treeBox...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/13a4f293e2a84ff4a6ccbc1d4c855360e2246177/unifinder.js/clean/calendar/resources/content/unifinder.js
function calendarUploadFile(aSourceFilename, newLocation, login, password, contentType){ try { var protocolChannel = get_destination_channel(newLocation, login, password); if (!protocolChannel) { dump("failed to get a destination channel\n"); return; } output_file_to_channel...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/55a5e5ddbf4a7e9103b995d808c4466085d2123f/publish.js/buggy/calendar/resources/content/publish.js
this.localeDefaultsStringBundle = srGetStrBundle("chrome:
function CalendarView( calendarWindow ){ this.calendarWindow = calendarWindow;}
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/4d83c28abdf92a3318a9c1ab5072e58054a2f6e1/calendarWindow.js/clean/calendar/resources/content/calendarWindow.js
onError: function(aMessage) {}
onError: function(aMessage) {}, onCalendarAdded: function(aDeletedItem) { if (!this.mInBatch) calendarWindow.currentView.refreshEvents(); }, onCalendarRemoved: function(aDeletedItem) { if (!this.mInBatch) calendarWindow.currentView.refreshEvents(); }, onDefaultCalendarChanged: function(aNewDefaultCalendar) {}
function CalendarWindow( ){ //setup the preferences this.calendarPreferences = new calendarPreferences( this ); // miniMonth used by preferences this.miniMonth = document.getElementById( "lefthandcalendar" ); //setup the calendars this.calendarManager = new Object(); //this.calendarManager = new calend...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/0dc0c1e98a341efeaff57712840c743e177b6365/calendarWindow.js/buggy/calendar/resources/content/calendarWindow.js
gViewController.selectionManager = this.EventSelection;
calendarViewController.selectionManager = this.EventSelection; this.availableViews = ["day", "week", "multiweek", "month"];
function CalendarWindow( ){ //setup the calendar event selection this.EventSelection = new CalendarEventSelection( this ); gViewController.selectionManager = this.EventSelection; /** This object only exists to keep too many things from breaking during the * switch to the new views **/ this.currentView ...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/0b6ed036d2d55fbfd325f5325a4e8f425762b43a/calendarWindow.js/buggy/calendar/resources/content/calendarWindow.js
this.switchToWeekView();
this.switchToView('week');
function CalendarWindow( ){ //setup the calendar event selection this.EventSelection = new CalendarEventSelection( this ); gViewController.selectionManager = this.EventSelection; /** This object only exists to keep too many things from breaking during the * switch to the new views **/ this.currentView ...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/0b6ed036d2d55fbfd325f5325a4e8f425762b43a/calendarWindow.js/buggy/calendar/resources/content/calendarWindow.js
this.switchToMultiweekView();
this.switchToView('multiweek');
function CalendarWindow( ){ //setup the calendar event selection this.EventSelection = new CalendarEventSelection( this ); gViewController.selectionManager = this.EventSelection; /** This object only exists to keep too many things from breaking during the * switch to the new views **/ this.currentView ...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/0b6ed036d2d55fbfd325f5325a4e8f425762b43a/calendarWindow.js/buggy/calendar/resources/content/calendarWindow.js
this.switchToMonthView();
this.switchToView('month');
function CalendarWindow( ){ //setup the calendar event selection this.EventSelection = new CalendarEventSelection( this ); gViewController.selectionManager = this.EventSelection; /** This object only exists to keep too many things from breaking during the * switch to the new views **/ this.currentView ...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/0b6ed036d2d55fbfd325f5325a4e8f425762b43a/calendarWindow.js/buggy/calendar/resources/content/calendarWindow.js
this.switchToDayView();
this.switchToView('day');
function CalendarWindow( ){ //setup the calendar event selection this.EventSelection = new CalendarEventSelection( this ); gViewController.selectionManager = this.EventSelection; /** This object only exists to keep too many things from breaking during the * switch to the new views **/ this.currentView ...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/0b6ed036d2d55fbfd325f5325a4e8f425762b43a/calendarWindow.js/buggy/calendar/resources/content/calendarWindow.js
var tmpevent = eventList.getNext().QueryInterface(Components.interfaces.oeIICalEvent); var displayDate = new Date( displayDates.value.getNext().QueryInterface(Components.interfaces.nsISupportsPRTime).data );
var tmpevent = eventList.getNext().QueryInterface(Components.interfaces.oeIICalEventDisplay);
CalendarEventDataSource.prototype.getEventsForDay = function calEvent_getEventsForDay( date ){ var eventDisplays = new Array(); var displayDates = new Object(); var eventList = this.gICalLib.getEventsForDay( date, displayDates ); while( eventList.hasMoreElements() ) { var tmpevent = eventList.get...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/eccfe24949238ab11afd71e280a2c50fe7ee3ea0/calendarEvent.js/clean/calendar/resources/content/calendarEvent.js
EventObject.event = tmpevent;
EventObject.event = tmpevent.event;
CalendarEventDataSource.prototype.getEventsForDay = function calEvent_getEventsForDay( date ){ var eventDisplays = new Array(); var displayDates = new Object(); var eventList = this.gICalLib.getEventsForDay( date, displayDates ); while( eventList.hasMoreElements() ) { var tmpevent = eventList.get...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/eccfe24949238ab11afd71e280a2c50fe7ee3ea0/calendarEvent.js/clean/calendar/resources/content/calendarEvent.js
EventObject.displayDate = displayDate;
EventObject.displayDate = new Date( tmpevent.displayDate ); EventObject.displayEndDate = new Date( tmpevent.displayDateEnd );
CalendarEventDataSource.prototype.getEventsForDay = function calEvent_getEventsForDay( date ){ var eventDisplays = new Array(); var displayDates = new Object(); var eventList = this.gICalLib.getEventsForDay( date, displayDates ); while( eventList.hasMoreElements() ) { var tmpevent = eventList.get...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/eccfe24949238ab11afd71e280a2c50fe7ee3ea0/calendarEvent.js/clean/calendar/resources/content/calendarEvent.js
CalendarEventDataSource.prototype.getEventsForMonth = function calEvent_getEventsForMonth( date ){ var eventDisplays = new Array(); var displayDates = new Object(); var eventList = this.gICalLib.getEventsForMonth( date, displayDates ); while( eventList.hasMoreElements() ) {// var tmpevent = event...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/eccfe24949238ab11afd71e280a2c50fe7ee3ea0/calendarEvent.js/clean/calendar/resources/content/calendarEvent.js
CalendarEventDataSource.prototype.getEventsForMonth = function calEvent_getEventsForMonth( date ){ var eventDisplays = new Array(); var displayDates = new Object(); var eventList = this.gICalLib.getEventsForMonth( date, displayDates ); while( eventList.hasMoreElements() ) {// var tmpevent = event...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/eccfe24949238ab11afd71e280a2c50fe7ee3ea0/calendarEvent.js/clean/calendar/resources/content/calendarEvent.js
CalendarEventDataSource.prototype.getEventsForMonth = function calEvent_getEventsForMonth( date ){ var eventDisplays = new Array(); var displayDates = new Object(); var eventList = this.gICalLib.getEventsForMonth( date, displayDates ); while( eventList.hasMoreElements() ) {// var tmpevent = event...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/eccfe24949238ab11afd71e280a2c50fe7ee3ea0/calendarEvent.js/clean/calendar/resources/content/calendarEvent.js
CalendarEventDataSource.prototype.getEventsForMonth = function calEvent_getEventsForMonth( date ){ var eventDisplays = new Array(); var displayDates = new Object(); var eventList = this.gICalLib.getEventsForMonth( date, displayDates ); while( eventList.hasMoreElements() ) {// var tmpevent = event...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/eccfe24949238ab11afd71e280a2c50fe7ee3ea0/calendarEvent.js/clean/calendar/resources/content/calendarEvent.js
EventObject.displayDateEnd = new Date( tmpevent.displayDateEnd );
EventObject.displayEndDate = new Date( tmpevent.displayDateEnd );
CalendarEventDataSource.prototype.getEventsForMonth = function calEvent_getEventsForMonth( date ){ var eventDisplays = new Array(); var displayDates = new Object(); var eventList = this.gICalLib.getEventsForMonth( date, displayDates ); while( eventList.hasMoreElements() ) {// var tmpevent = event...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/eccfe24949238ab11afd71e280a2c50fe7ee3ea0/calendarEvent.js/clean/calendar/resources/content/calendarEvent.js
var tmpevent = eventList.getNext().QueryInterface(Components.interfaces.oeIICalEvent);
var tmpevent = eventList.getNext().QueryInterface(Components.interfaces.oeIICalEventDisplay);
CalendarEventDataSource.prototype.getEventsForWeek = function calEvent_getEventsForWeek( date ){ var eventDisplays = new Array(); var displayDates = new Object(); var eventList = this.gICalLib.getEventsForWeek( date, displayDates ); while( eventList.hasMoreElements() ) { var tmpevent = eventList....
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/eccfe24949238ab11afd71e280a2c50fe7ee3ea0/calendarEvent.js/clean/calendar/resources/content/calendarEvent.js
EventObject.displayEndDate = new Date( tmpevent.displayDateEnd );
CalendarEventDataSource.prototype.getEventsForWeek = function calEvent_getEventsForWeek( date ){ var eventDisplays = new Array(); var displayDates = new Object(); var eventList = this.gICalLib.getEventsForWeek( date, displayDates ); while( eventList.hasMoreElements() ) { var tmpevent = eventList....
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/eccfe24949238ab11afd71e280a2c50fe7ee3ea0/calendarEvent.js/clean/calendar/resources/content/calendarEvent.js
var tmpevent = eventList.getNext().QueryInterface(Components.interfaces.oeIICalEvent); var displayDate = new Date( displayDates.value.getNext().QueryInterface(Components.interfaces.nsISupportsPRTime).data );
var tmpevent = eventList.getNext().QueryInterface(Components.interfaces.oeIICalEventDisplay);
CalendarEventDataSource.prototype.getNextEvents = function calEvent_getNextEvents( EventsToGet ){ var eventDisplays = new Array(); var today = new Date(); var displayDates = new Object(); var eventList = this.gICalLib.getNextNEvents( today, EventsToGet, displayDates ); while( eventList.hasMoreEl...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/eccfe24949238ab11afd71e280a2c50fe7ee3ea0/calendarEvent.js/clean/calendar/resources/content/calendarEvent.js
EventObject.displayEndDate = displayDateEnd;
CalendarEventDataSource.prototype.getNextEvents = function calEvent_getNextEvents( EventsToGet ){ var eventDisplays = new Array(); var today = new Date(); var displayDates = new Object(); var eventList = this.gICalLib.getNextNEvents( today, EventsToGet, displayDates ); while( eventList.hasMoreEl...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/eccfe24949238ab11afd71e280a2c50fe7ee3ea0/calendarEvent.js/clean/calendar/resources/content/calendarEvent.js