rem
stringlengths
0
126k
add
stringlengths
0
441k
context
stringlengths
13
136k
meta
stringlengths
132
347
setTimeout("gURLBar.focus();", 0);
function BrowserOpenTab(){ var handler = Components.classes['@mozilla.org/commandlinehandler/general-startup;1?type=browser'] .getService(Components.interfaces.nsICmdLineHandler); var startpage = handler.defaultArgs; gBrowser.selectedTab = gBrowser.addTab(startpage);}
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/7bc34ec2e3ef5d855143f25a3a8f0c3c51f214e0/navigator.js/buggy/suite/browser/navigator.js
setTimeout("gURLBar.focus();", 0);
setTimeout(function() { gURLBar.focus(); }, 0);
function BrowserOpenTab(){ gBrowser.selectedTab = gBrowser.addTab('about:blank'); if (gURLBar) setTimeout("gURLBar.focus();", 0); }
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/a429b6720a457cbc90d1df942a1f58abece300ce/browser.js/buggy/browser/base/content/browser.js
var homePage = getHomePage(); var uriToLoad = homePage[0];
var handler = Components.classes['@mozilla.org/commandlinehandler/general-startup;1?type=browser'] .getService(Components.interfaces.nsICmdLineHandler); var uriToLoad = handler.defaultArgs.split("\n")[0];
function BrowserOpenTab(){ if (!gInPrintPreviewMode) { var homePage = getHomePage(); var uriToLoad = homePage[0]; gBrowser.selectedTab = gBrowser.addTab(uriToLoad); var navBar = document.getElementById("nav-bar"); if (uriToLoad == "about:blank" && !navBar.hidden && window.locationbar.visible) setTi...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/abcad573c6d452d3eaeaf2392eb045944f199843/navigator.js/buggy/xpfe/browser/resources/content/navigator.js
window.openDialog( "chrome:
window.openDialog( "chrome:
function BrowserOpenWindow() { //opens a window where users can select a web location to open window.openDialog( "chrome://navigator/content/openLocation.xul", "_blank", "chrome,modal", appCore ); }
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/36612d651493fe23e92f319fedcbc76de527bc3e/navigator.js/clean/xpfe/browser/resources/content/navigator.js
{ window.openDialog( "chrome: }
{ openDialog("hrome: }
function BrowserOpenWindow() { //opens a window where users can select a web location to open window.openDialog( "chrome://navigator/content/openLocation.xul", "_blank", "chrome,modal,titlebar", appCore ); }
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/73019ea054da57bc12001ee9fbddfc7695e0c300/navigator.js/buggy/xpfe/browser/resources/content/navigator.js
function BrowserPageInfo(doc, tab)
function BrowserPageInfo(doc, initialTab)
function BrowserPageInfo(doc, tab){ window.openDialog("chrome://navigator/content/pageInfo.xul", "_blank", "chrome,dialog=no", doc, tab);}
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/c92524c515434b8635b474cc399a91af348e0fb7/navigator.js/buggy/suite/browser/navigator.js
doc, tab);
{doc: doc, initialTab: initialTab});
function BrowserPageInfo(doc, tab){ window.openDialog("chrome://navigator/content/pageInfo.xul", "_blank", "chrome,dialog=no", doc, tab);}
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/c92524c515434b8635b474cc399a91af348e0fb7/navigator.js/buggy/suite/browser/navigator.js
window.content.location, charsetArg);
window._content.location, charsetArg);
function BrowserPageInfo() { dump("BrowserPageInfo(); \n "); var charsetArg = new String(); if (appCore != null) { try { //let's try to extract the current charset menu setting var DocCharset = appCore.GetDocumentCharset(); charsetArg = "charset="+DocCharset...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/03ea82871ae0d2b0e52e9f402c89829c8a4feb6a/navigator.js/clean/xpfe/browser/resources/content/navigator.js
window.content.location);
window._content.location);
function BrowserPageInfo() { dump("BrowserPageInfo(); \n "); var charsetArg = new String(); if (appCore != null) { try { //let's try to extract the current charset menu setting var DocCharset = appCore.GetDocumentCharset(); charsetArg = "charset="+DocCharset...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/03ea82871ae0d2b0e52e9f402c89829c8a4feb6a/navigator.js/clean/xpfe/browser/resources/content/navigator.js
if (appCore != null) {
function BrowserPageInfo() { var charsetArg = new String(); if (appCore != null) { try { //let's try to extract the current charset menu setting var DocCharset = appCore.GetDocumentCharset(); charsetArg = "charset="+DocCharset; dump("*** Current docume...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/73019ea054da57bc12001ee9fbddfc7695e0c300/navigator.js/buggy/xpfe/browser/resources/content/navigator.js
dump("*** Current document charset: " + DocCharset + "\n");
debug("*** Current document charset: " + DocCharset + "\n");
function BrowserPageInfo() { var charsetArg = new String(); if (appCore != null) { try { //let's try to extract the current charset menu setting var DocCharset = appCore.GetDocumentCharset(); charsetArg = "charset="+DocCharset; dump("*** Current docume...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/73019ea054da57bc12001ee9fbddfc7695e0c300/navigator.js/buggy/xpfe/browser/resources/content/navigator.js
dump("*** failed to read document charset \n");
debug("*** failed to read document charset \n");
function BrowserPageInfo() { var charsetArg = new String(); if (appCore != null) { try { //let's try to extract the current charset menu setting var DocCharset = appCore.GetDocumentCharset(); charsetArg = "charset="+DocCharset; dump("*** Current docume...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/73019ea054da57bc12001ee9fbddfc7695e0c300/navigator.js/buggy/xpfe/browser/resources/content/navigator.js
} else { window.openDialog( "chrome: "_blank", "chrome,dialog=no", window._content.location); }
function BrowserPageInfo() { var charsetArg = new String(); if (appCore != null) { try { //let's try to extract the current charset menu setting var DocCharset = appCore.GetDocumentCharset(); charsetArg = "charset="+DocCharset; dump("*** Current docume...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/73019ea054da57bc12001ee9fbddfc7695e0c300/navigator.js/buggy/xpfe/browser/resources/content/navigator.js
function BrowserPageShowListener(aEvent) { // since we will also get PageShow events for frame documents, // make sure we respond to the top-level document load if (aEvent.target.defaultView == _content) inspector.documentLoaded();}
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/83216585acfd1409e2c80119d6cc793b3e5c3569/inspector.js/buggy/extensions/inspector/resources/content/inspector.js
var pref = Components.classes["@mozilla.org/preferences-service;1"] .getService(Components.interfaces.nsIPrefBranch); if (pref) { gUseGlobalPrintSettings = pref.getBoolPref("print.use_global_printsettings");
var ifreq = _content.QueryInterface(Components.interfaces.nsIInterfaceRequestor); var webBrowserPrint = ifreq.getInterface(Components.interfaces.nsIWebBrowserPrint); if (webBrowserPrint) { gPrintSettings = GetPrintSettings(webBrowserPrint); webBrowserPrint.print(gPrintSettings, null);
function BrowserPrint(){ try { var pref = Components.classes["@mozilla.org/preferences-service;1"] .getService(Components.interfaces.nsIPrefBranch); if (pref) { gUseGlobalPrintSettings = pref.getBoolPref("print.use_global_printsettings"); } var printOptionsService = Components....
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/9658379654be61450ad8e0fb7bd60e4caa5c05c7/browser.js/buggy/suite/browser/browser.js
var printOptionsService = Components.classes["@mozilla.org/gfx/printoptions;1"] .getService(Components.interfaces.nsIPrintOptions); if (gPrintSettings == null) { gPrintSettings = printOptionsService.CreatePrintSettings(); } if (gUseGlobalPrintSettings) { gPrintSettings = printOptionsService.printSettingsValues; } ...
function BrowserPrint(){ try { var pref = Components.classes["@mozilla.org/preferences-service;1"] .getService(Components.interfaces.nsIPrefBranch); if (pref) { gUseGlobalPrintSettings = pref.getBoolPref("print.use_global_printsettings"); } var printOptionsService = Components....
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/9658379654be61450ad8e0fb7bd60e4caa5c05c7/browser.js/buggy/suite/browser/browser.js
if (appCore != null) { appCore.print(); }
appCore.print();
function BrowserPrint() { // Borrowing this method to show how to // dynamically change icons if (appCore != null) { appCore.print(); } }
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/73019ea054da57bc12001ee9fbddfc7695e0c300/navigator.js/buggy/xpfe/browser/resources/content/navigator.js
_content.focus();
function BrowserPrintPreview(){ var mainWin = document.getElementById("main-window"); // save previous close handler to restoreon exiting print preview mode if (mainWin.hasAttribute("onclose")) gOldCloseHandler = mainWin.getAttribute("onclose"); else gOldCloseHandler = null; mainWin.setAttribute("onclose", "...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/fada20b4c959fca530639b30c40bc6b2d9341899/browser.js/buggy/suite/browser/browser.js
function BrowserPrintPreview(){ // this is currently a do-nothing on appCore which is going to die // ???.printPreview();}
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/9603b030e8e098a3b56851d34f16ce86dcf21146/navigator.js/buggy/suite/browser/navigator.js
var printOptionsService = Components.classes["@mozilla.org/gfx/printoptions;1"] .getService(Components.interfaces.nsIPrintOptions); if (gPrintSettings == null) { gPrintSettings = printOptionsService.CreatePrintSettings(); }
function BrowserPrintPreview(){ var printOptionsService = Components.classes["@mozilla.org/gfx/printoptions;1"] .getService(Components.interfaces.nsIPrintOptions); if (gPrintSettings == null) { gPrintSettings = printOptionsService.CreatePrintSettings(); } // using _content...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/9658379654be61450ad8e0fb7bd60e4caa5c05c7/browser.js/buggy/suite/browser/browser.js
_content.printPreview(gPrintSettings);
var ifreq = _content.QueryInterface(Components.interfaces.nsIInterfaceRequestor); var webBrowserPrint = ifreq.getInterface(Components.interfaces.nsIWebBrowserPrint); if (webBrowserPrint) { gPrintSettings = GetPrintSettings(webBrowserPrint); webBrowserPrint.printPreview(gPrintSettings); }
function BrowserPrintPreview(){ var printOptionsService = Components.classes["@mozilla.org/gfx/printoptions;1"] .getService(Components.interfaces.nsIPrintOptions); if (gPrintSettings == null) { gPrintSettings = printOptionsService.CreatePrintSettings(); } // using _content...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/9658379654be61450ad8e0fb7bd60e4caa5c05c7/browser.js/buggy/suite/browser/browser.js
function BrowserPrintPreview(){ var printOptionsService = Components.classes["@mozilla.org/gfx/printoptions;1"] .getService(Components.interfaces.nsIPrintOptions); if (gPrintSettings == null) { gPrintSettings = printOptionsService.CreatePrintSettings(); } // using _content...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/9658379654be61450ad8e0fb7bd60e4caa5c05c7/browser.js/buggy/suite/browser/browser.js
function BrowserPrintPreview(){ var printOptionsService = Components.classes["@mozilla.org/gfx/printoptions;1"] .getService(Components.interfaces.nsIPrintOptions); if (gPrintSettings == null) { gPrintSettings = printOptionsService.CreatePrintSettings(); } // using _content...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/9658379654be61450ad8e0fb7bd60e4caa5c05c7/browser.js/buggy/suite/browser/browser.js
} catch (e) {}
} catch (e) { FinishPrintPreview(); }
function BrowserPrintPreview(){ var ifreq; var webBrowserPrint; try { ifreq = _content.QueryInterface(Components.interfaces.nsIInterfaceRequestor); webBrowserPrint = ifreq.getInterface(Components.interfaces.nsIWebBrowserPrint); gPrintSettings = GetPrintSettings(); } catch (e) { // Pressing cancel...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/6542edd5278f371daa789b7513a735c89c6ed29b/browser.js/buggy/suite/browser/browser.js
webBrowserPrint.printPreview(gPrintSettings, null);
webBrowserPrint.printPreview(gPrintSettings, null, null);
function BrowserPrintPreview(){ gInPrintPreviewMode = true; var browser = getBrowser(); browser.setAttribute("handleCtrlPageUpDown", "false"); var mainWin = document.getElementById("main-window"); // save previous close handler to restoreon exiting print preview mode if (mainWin.hasAttribute("onclose")) gOldCl...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/55cdb887900efd01c06993b3762dac09d3bb07ad/browser.js/buggy/xpfe/browser/resources/content/browser.js
{ dump("BrowserPrintPreview\n"); if (appCore != null) { dump("Changing Icons\n"); appCore.printPreview(); } else { dump("BrowserAppCore has not been created!\n"); } }
{ }
function BrowserPrintPreview() { // Borrowing this method to show how to // dynamically change icons dump("BrowserPrintPreview\n"); if (appCore != null) { dump("Changing Icons\n"); appCore.printPreview(); } else { dump("BrowserAppCore has not been created!\n"); } }
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/73019ea054da57bc12001ee9fbddfc7695e0c300/navigator.js/buggy/xpfe/browser/resources/content/navigator.js
_content.focus();
function BrowserPrintPreview(){ var mainWin = document.getElementById("main-window"); // save previous close handler to restoreon exiting print preview mode if (mainWin.hasAttribute("onclose")) gOldCloseHandler = mainWin.getAttribute("onclose"); else gOldCloseHandler = null; mainWin.setAttribute("onclose", "...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/5b76bf100c0e0b3a8499b2ba7a866cd66b9823d4/browser.js/buggy/xpfe/browser/resources/content/browser.js
var ifreq; var webBrowserPrint; try { ifreq = content.QueryInterface(Components.interfaces.nsIInterfaceRequestor); webBrowserPrint = ifreq.getInterface(Components.interfaces.nsIWebBrowserPrint); gPrintSettings = GetPrintSettings(); } catch (e) { } gWebProgress = new Object(); var printPreviewParams = ne...
PrintUtils.printPreview(onEnterPrintPreview, onExitPrintPreview);
function BrowserPrintPreview(){ var ifreq; var webBrowserPrint; try { ifreq = content.QueryInterface(Components.interfaces.nsIInterfaceRequestor); webBrowserPrint = ifreq.getInterface(Components.interfaces.nsIWebBrowserPrint); gPrintSettings = GetPrintSettings(); } catch (e) { // Pressing cancel ...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/c94e8974ee1234ea0cafe0ff4be174099796cacb/browser.js/clean/xpfe/browser/resources/content/browser.js
var didOK = false;
function BrowserPrintSetup(){ try { var ifreq = _content.QueryInterface(Components.interfaces.nsIInterfaceRequestor); var webBrowserPrint = ifreq.getInterface(Components.interfaces.nsIWebBrowserPrint); if (webBrowserPrint) { gPrintSettings = GetPrintSettings(webBrowserPrint); } if (goPageSetup...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/9478246b4462d60a6e03248d87014b130ad907e6/browser.js/buggy/suite/browser/browser.js
if (goPageSetup(window, gPrintSettings)) {
didOK = goPageSetup(window, gPrintSettings); if (didOK) {
function BrowserPrintSetup(){ try { var ifreq = _content.QueryInterface(Components.interfaces.nsIInterfaceRequestor); var webBrowserPrint = ifreq.getInterface(Components.interfaces.nsIWebBrowserPrint); if (webBrowserPrint) { gPrintSettings = GetPrintSettings(webBrowserPrint); } if (goPageSetup...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/9478246b4462d60a6e03248d87014b130ad907e6/browser.js/buggy/suite/browser/browser.js
return didOK;
function BrowserPrintSetup(){ try { var ifreq = _content.QueryInterface(Components.interfaces.nsIInterfaceRequestor); var webBrowserPrint = ifreq.getInterface(Components.interfaces.nsIWebBrowserPrint); if (webBrowserPrint) { gPrintSettings = GetPrintSettings(webBrowserPrint); } if (goPageSetup...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/9478246b4462d60a6e03248d87014b130ad907e6/browser.js/buggy/suite/browser/browser.js
webBrowserPrint.printPreview(gPrintSettings);
webBrowserPrint.printPreview(gPrintSettings, null);
function BrowserPrintSetup(){ var didOK = false; try { var ifreq = _content.QueryInterface(Components.interfaces.nsIInterfaceRequestor); var webBrowserPrint = ifreq.getInterface(Components.interfaces.nsIWebBrowserPrint); if (webBrowserPrint) { gPrintSettings = GetPrintSettings(webBrowserPrint); ...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/1d956bc3a579fab5b5035b51619fe51e5c4b3b31/browser.js/buggy/xpfe/browser/resources/content/browser.js
var pref = Components.classes["@mozilla.org/preferences-service;1"] .getService(Components.interfaces.nsIPrefBranch); if (pref) { gUseGlobalPrintSettings = pref.getBoolPref("print.use_global_printsettings", false); } var printOptionsService = Components.classes["@mozilla.org/gfx/printoptions;1"] .getService(Components...
var ifreq = _content.QueryInterface(Components.interfaces.nsIInterfaceRequestor); var webBrowserPrint = ifreq.getInterface(Components.interfaces.nsIWebBrowserPrint); if (webBrowserPrint) { gPrintSettings = GetPrintSettings(webBrowserPrint);
function BrowserPrintSetup(){ try { var pref = Components.classes["@mozilla.org/preferences-service;1"] .getService(Components.interfaces.nsIPrefBranch); if (pref) { gUseGlobalPrintSettings = pref.getBoolPref("print.use_global_printsettings", false); } var printOptionsService =...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/9658379654be61450ad8e0fb7bd60e4caa5c05c7/browser.js/buggy/suite/browser/browser.js
if (gUseGlobalPrintSettings) { printOptionsService.printSettingsValues = gPrintSettings;
if (webBrowserPrint) { if (webBrowserPrint.doingPrintPreview) { webBrowserPrint.printPreview(gPrintSettings); }
function BrowserPrintSetup(){ try { var pref = Components.classes["@mozilla.org/preferences-service;1"] .getService(Components.interfaces.nsIPrefBranch); if (pref) { gUseGlobalPrintSettings = pref.getBoolPref("print.use_global_printsettings", false); } var printOptionsService =...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/9658379654be61450ad8e0fb7bd60e4caa5c05c7/browser.js/buggy/suite/browser/browser.js
function BrowserPrintSetup(){ try { var pref = Components.classes["@mozilla.org/preferences-service;1"] .getService(Components.interfaces.nsIPrefBranch); if (pref) { gUseGlobalPrintSettings = pref.getBoolPref("print.use_global_printsettings", false); } var printOptionsService =...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/9658379654be61450ad8e0fb7bd60e4caa5c05c7/browser.js/buggy/suite/browser/browser.js
webBrowserPrint.printPreview(gPrintSettings, null);
webBrowserPrint.printPreview(gPrintSettings, null, null);
function BrowserPrintSetup(){ var didOK = false; try { var ifreq = _content.QueryInterface(Components.interfaces.nsIInterfaceRequestor); var webBrowserPrint = ifreq.getInterface(Components.interfaces.nsIWebBrowserPrint); if (webBrowserPrint) { gPrintSettings = GetPrintSettings(); } didOK = go...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/55cdb887900efd01c06993b3762dac09d3bb07ad/browser.js/buggy/xpfe/browser/resources/content/browser.js
function BrowserReallyReload(event) { var nsIWebNavigation = Components.interfaces.nsIWebNavigation; var reloadFlags = nsIWebNavigation.LOAD_FLAGS_NONE; if ( event.shiftKey ) { reloadFlags = nsIWebNavigation.LOAD_FLAGS_BYPASS_PROXY | nsIWebNavigation.LOAD_FLAGS_BYPASS_CACHE; } appCore.reload(reloadFlags);
function BrowserReallyReload(event) { var reloadFlags = nsIWebNavigation.LOAD_FLAGS_NONE; if (event && event.shiftKey) { reloadFlags = nsIWebNavigation.LOAD_FLAGS_BYPASS_PROXY | nsIWebNavigation.LOAD_FLAGS_BYPASS_CACHE;
function BrowserReallyReload(event) { var nsIWebNavigation = Components.interfaces.nsIWebNavigation; // Default is no flags. var reloadFlags = nsIWebNavigation.LOAD_FLAGS_NONE; // See if the event was a shift-click. if ( event.shiftKey ) { // Shift key means bypass proxy and cache. reload...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/73019ea054da57bc12001ee9fbddfc7695e0c300/navigator.js/buggy/xpfe/browser/resources/content/navigator.js
getWebNavigation().reload(reloadFlags); }
function BrowserReallyReload(event) { var nsIWebNavigation = Components.interfaces.nsIWebNavigation; // Default is no flags. var reloadFlags = nsIWebNavigation.LOAD_FLAGS_NONE; // See if the event was a shift-click. if ( event.shiftKey ) { // Shift key means bypass proxy and cache. reload...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/73019ea054da57bc12001ee9fbddfc7695e0c300/navigator.js/buggy/xpfe/browser/resources/content/navigator.js
var reloadFlags = nsIWebNavigation.LOAD_FLAGS_NONE;
const reloadFlags = nsIWebNavigation.LOAD_FLAGS_NONE;
function BrowserReload(){ var reloadFlags = nsIWebNavigation.LOAD_FLAGS_NONE; try { getWebNavigation().reload(reloadFlags); } catch(ex) { }}
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/df6becdf8374429f2dcaa5691fa29a81c5f79920/navigator.js/clean/suite/browser/navigator.js
function BrowserReload() { dump( "Sorry, command not implemented.\n" );
function BrowserReload() { debug("Sorry, command not implemented.\n");
function BrowserReload() { dump( "Sorry, command not implemented.\n" );}
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/73019ea054da57bc12001ee9fbddfc7695e0c300/navigator.js/buggy/xpfe/browser/resources/content/navigator.js
var reloadFlags = nsIWebNavigation.LOAD_FLAGS_BYPASS_PROXY | nsIWebNavigation.LOAD_FLAGS_BYPASS_CACHE;
const reloadFlags = nsIWebNavigation.LOAD_FLAGS_BYPASS_PROXY | nsIWebNavigation.LOAD_FLAGS_BYPASS_CACHE;
function BrowserReloadSkipCache(){ // Bypass proxy and cache. var reloadFlags = nsIWebNavigation.LOAD_FLAGS_BYPASS_PROXY | nsIWebNavigation.LOAD_FLAGS_BYPASS_CACHE; try { getWebNavigation().reload(reloadFlags); } catch(ex) { }}
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/df6becdf8374429f2dcaa5691fa29a81c5f79920/navigator.js/clean/suite/browser/navigator.js
gBrowser.selectedBrowser.markupDocumentViewer.textZoom-= .25;
gBrowser.selectedBrowser.markupDocumentViewer.textZoom-= .1;
function BrowserResetZoomMinus() { gBrowser.selectedBrowser.markupDocumentViewer.textZoom-= .25;}
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/7fc22c0fa951797ee6743c777dfe129900ae8404/minimo.js/buggy/minimo/chrome/content/minimo.js
gBrowser.selectedBrowser.markupDocumentViewer.textZoom+= .25;
gBrowser.selectedBrowser.markupDocumentViewer.textZoom+= .1;
function BrowserResetZoomPlus() { gBrowser.selectedBrowser.markupDocumentViewer.textZoom+= .25;}
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/7fc22c0fa951797ee6743c777dfe129900ae8404/minimo.js/buggy/minimo/chrome/content/minimo.js
window.openDialog( "chrome: "body=" + pageUrl + ",subject='" + pageTitle + "'");
window.openDialog( "chrome: "chrome,all,dialog=no", "body='" + pageUrl + "',subject='" + pageTitle + "',bodyislink=true");
function BrowserSendLink(pageUrl, pageTitle) { window.openDialog( "chrome://messengercompose/content/", "_blank", "chrome,all,dialog=no", "body=" + pageUrl + ",subject='" + pageTitle + "'"); }
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/c6627ecb88a1db344b3ade0c998649dca7a67c55/navigator.js/clean/suite/browser/navigator.js
window.openDialog( "chrome: "attachment=" + escape(pageUrl) + ",body=" + pageUrl + ",subject='" + pageTitle + "'");
window.openDialog( "chrome: "chrome,all,dialog=no", "attachment='" + pageUrl + "',body='" + pageUrl + "',subject='" + pageTitle + "',bodyislink=true");
function BrowserSendPage(pageUrl, pageTitle) { window.openDialog( "chrome://messengercompose/content/", "_blank", "chrome,all,dialog=no", "attachment=" + escape(pageUrl) + ",body=" + pageUrl + ",subject='" + pageTitle + "'"); }
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/c6627ecb88a1db344b3ade0c998649dca7a67c55/navigator.js/clean/suite/browser/navigator.js
appCore.setDefaultCharacterSet(aCharset); BrowserReload();
function BrowserSetDefaultCharacterSet(aCharset){ appCore.setDefaultCharacterSet(aCharset); //XXXjag see bug 67442 BrowserReload();}
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/abcff3f1369295801dd59e61618b48aefaf20dae/navigator.js/clean/xpfe/browser/resources/content/navigator.js
appCore.SetDocumentCharset(aCharset);
getMarkupDocumentViewer().defaultCharacterSet = aCharset;
function BrowserSetDefaultCharacterSet(aCharset){ appCore.SetDocumentCharset(aCharset); getWebNavigation().reload(nsIWebNavigation.LOAD_FLAGS_NONE);}
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/9603b030e8e098a3b56851d34f16ce86dcf21146/navigator.js/buggy/suite/browser/navigator.js
window.content.location.reload();
window._content.location.reload();
function BrowserSetDefaultCharacterSet(aCharset) { if (appCore != null) { appCore.SetDocumentCharset(aCharset); window.content.location.reload(); } else { dump("BrowserAppCore has not been created!\n"); } }
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/03ea82871ae0d2b0e52e9f402c89829c8a4feb6a/navigator.js/clean/xpfe/browser/resources/content/navigator.js
getMarkupDocumentViewer().defaultCharacterSet = aCharset; try { getWebNavigation().reload(nsIWebNavigation.LOAD_FLAGS_NONE); } catch(ex) { }
appCore.setDefaultCharacterSet(aCharset); BrowserReload();
function BrowserSetDefaultCharacterSet(aCharset){ getMarkupDocumentViewer().defaultCharacterSet = aCharset; try { getWebNavigation().reload(nsIWebNavigation.LOAD_FLAGS_NONE); } catch(ex) { }}
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/df6becdf8374429f2dcaa5691fa29a81c5f79920/navigator.js/clean/suite/browser/navigator.js
{ if (appCore != null) { appCore.SetDocumentCharset(aCharset); window._content.location.reload(); } else { dump("BrowserAppCore has not been created!\n"); } }
{ appCore.SetDocumentCharset(aCharset); getWebNavigation().reload(nsIWebNavigation.LOAD_FLAGS_NONE); }
function BrowserSetDefaultCharacterSet(aCharset) { if (appCore != null) { appCore.SetDocumentCharset(aCharset); window._content.location.reload(); } else { dump("BrowserAppCore has not been created!\n"); } }
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/73019ea054da57bc12001ee9fbddfc7695e0c300/navigator.js/buggy/xpfe/browser/resources/content/navigator.js
var charsetConverterManager = Components.classes["@mozilla.org/charset-converter-manager;1"] .getService(Components.interfaces.nsICharsetConverterManager2); var characterSet = charsetConverterManager.GetCharsetAtom(aCharset); getBrowser().documentCharsetInfo.forcedCharset = characterSet;
var docCharset = getBrowser().docShell.QueryInterface( Components.interfaces.nsIDocCharset); docCharset.charset = aCharset; BrowserReload();
function BrowserSetForcedCharacterSet(aCharset){ var charsetConverterManager = Components.classes["@mozilla.org/charset-converter-manager;1"] .getService(Components.interfaces.nsICharsetConverterManager2); var characterSet = charsetConverterManager.GetCharsetAtom(aCharset); g...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/abcff3f1369295801dd59e61618b48aefaf20dae/navigator.js/clean/xpfe/browser/resources/content/navigator.js
appCore.SetForcedCharset(aCharset);
var charsetConverterManager = Components.classes["@mozilla.org/charset-converter-manager;1"] .getService(Components.interfaces.nsICharsetConverterManager2); var characterSet = charsetConverterManager.GetCharsetAtom(aCharset); getBrowser().documentCharsetInfo.forcedCharset = characterSet;
function BrowserSetForcedCharacterSet(aCharset){ appCore.SetForcedCharset(aCharset);}
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/9603b030e8e098a3b56851d34f16ce86dcf21146/navigator.js/buggy/suite/browser/navigator.js
{ if (appCore != null) { appCore.SetForcedCharset(aCharset); } else { dump("BrowserAppCore has not been created!\n"); } }
{ appCore.SetForcedCharset(aCharset); }
function BrowserSetForcedCharacterSet(aCharset) { if (appCore != null) { appCore.SetForcedCharset(aCharset); } else { dump("BrowserAppCore has not been created!\n"); } }
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/73019ea054da57bc12001ee9fbddfc7695e0c300/navigator.js/buggy/xpfe/browser/resources/content/navigator.js
appCore.SetForcedDetector();
getBrowser().documentCharsetInfo.forcedDetector = true;
function BrowserSetForcedDetector(){ appCore.SetForcedDetector();}
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/9603b030e8e098a3b56851d34f16ce86dcf21146/navigator.js/buggy/suite/browser/navigator.js
{ if (appCore != null) { appCore.SetForcedDetector(); } else { dump("BrowserAppCore has not been created!\n"); } }
{ appCore.SetForcedDetector(); }
function BrowserSetForcedDetector() { if (appCore != null) { appCore.SetForcedDetector(); } else { dump("BrowserAppCore has not been created!\n"); } }
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/73019ea054da57bc12001ee9fbddfc7695e0c300/navigator.js/buggy/xpfe/browser/resources/content/navigator.js
bt.controllers.removeController(BookmarksMenuController);
function BrowserShutdown(){ var os = Components.classes["@mozilla.org/observer-service;1"] .getService(Components.interfaces.nsIObserverService); os.removeObserver(gSessionHistoryObserver, "browser:purge-session-history"); os.removeObserver(gXPInstallObserver, "xpinstall-install-blocked"); os.removeObserver(gXPI...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/b019ea38c4c154f42e0ad7ff1a393b9a3837d029/browser.js/buggy/browser/base/content/browser.js
} try { var bm = document.getElementById("bookmarks-menu"); bm.controllers.removeController(BookmarksMenuController); } catch (ex) {
function BrowserShutdown(){ var os = Components.classes["@mozilla.org/observer-service;1"] .getService(Components.interfaces.nsIObserverService); os.removeObserver(gSessionHistoryObserver, "browser:purge-session-history"); os.removeObserver(gXPInstallObserver, "xpinstall-install-blocked"); os.removeObserver(gXPI...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/b019ea38c4c154f42e0ad7ff1a393b9a3837d029/browser.js/buggy/browser/base/content/browser.js
window.browserContentListener.close();
function BrowserShutdown(){ var os = Components.classes["@mozilla.org/observer-service;1"] .getService(Components.interfaces.nsIObserverService); os.removeObserver(gSessionHistoryObserver, "browser:purge-session-history"); os.removeObserver(gXPInstallObserver, "xpinstall-install-blocked"); try { gBrowser.remo...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/4c3bdeb751eedaf86b948c4e0684cf09d34af54b/browser.js/clean/browser/base/content/browser.js
#ifndef MOZ_PLACES
#ifndef MOZ_PLACES_BOOKMARKS
function BrowserShutdown(){ var os = Components.classes["@mozilla.org/observer-service;1"] .getService(Components.interfaces.nsIObserverService); os.removeObserver(gSessionHistoryObserver, "browser:purge-session-history"); os.removeObserver(gXPInstallObserver, "xpinstall-install-blocked"); try { gBrowser.remo...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/519037fe9d46d908df501956e8668f0c5a80b0f9/browser.js/clean/browser/base/content/browser.js
os.removeObserver(gXPInstallObserver, "xpinstall-install-edit-permissions"); os.removeObserver(gXPInstallObserver, "xpinstall-install-edit-prefs"); os.removeObserver(gMissingPluginInstaller, "missing-plugin");
function BrowserShutdown(){ var os = Components.classes["@mozilla.org/observer-service;1"] .getService(Components.interfaces.nsIObserverService); os.removeObserver(gSessionHistoryObserver, "browser:purge-session-history"); os.removeObserver(gXPInstallObserver, "xpinstall-install-blocked"); os.removeObserver(gXPI...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/970fb9925e5241d21ed27ca8e7ac91f8caae033d/browser.js/clean/browser/base/content/browser.js
#ifdef MOZ_PLACES PlacesBrowserShim.init(); #endif
function BrowserStartup(){ gBrowser = document.getElementById("content"); window.tryToClose = WindowIsClosing; var uriToLoad = null; // Check for window.arguments[0]. If present, use that for uriToLoad. if ("arguments" in window && window.arguments[0]) uriToLoad = window.arguments[0]; gIsLoadingBlank = uriToLo...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/a2e1f5c83a32f93c521afece71e93fea684176d8/browser.js/clean/browser/base/content/browser.js
{ appCore.stop(); }
{ getWebNavigation().stop(); }
function BrowserStop() { appCore.stop(); }
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/73019ea054da57bc12001ee9fbddfc7695e0c300/navigator.js/buggy/xpfe/browser/resources/content/navigator.js
bt.controllers.removeController(BookmarksMenuController);
function BrowserToolboxCustomizeDone(aToolboxChanged){ // Update global UI elements that may have been added or removed if (aToolboxChanged) { gURLBar = document.getElementById("urlbar"); gProxyButton = document.getElementById("page-proxy-button"); gProxyFavIcon = document.getElementById("page-proxy-favicon"...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/b019ea38c4c154f42e0ad7ff1a393b9a3837d029/browser.js/buggy/browser/base/content/browser.js
bt.controllers.appendController(BookmarksMenuController);
function BrowserToolboxCustomizeDone(aToolboxChanged){ // Update global UI elements that may have been added or removed if (aToolboxChanged) { gURLBar = document.getElementById("urlbar"); gProxyButton = document.getElementById("page-proxy-button"); gProxyFavIcon = document.getElementById("page-proxy-favicon"...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/b019ea38c4c154f42e0ad7ff1a393b9a3837d029/browser.js/buggy/browser/base/content/browser.js
#ifndef MOZ_PLACES
#ifndef MOZ_PLACES_BOOKMARKS
function BrowserToolboxCustomizeDone(aToolboxChanged){#ifdef TOOLBAR_CUSTOMIZATION_SHEET document.getElementById("customizeToolbarSheetBox").hidden = true;#endif // Update global UI elements that may have been added or removed if (aToolboxChanged) { gURLBar = document.getElementById("urlbar"); if (gURLBar) ...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/519037fe9d46d908df501956e8668f0c5a80b0f9/browser.js/clean/browser/base/content/browser.js
bookmarksBar._init();
if (bookmarksBar) bookmarksBar._init();
function BrowserToolboxCustomizeDone(aToolboxChanged){#ifdef TOOLBAR_CUSTOMIZATION_SHEET document.getElementById("customizeToolbarSheetBox").hidden = true;#endif // Update global UI elements that may have been added or removed if (aToolboxChanged) { gURLBar = document.getElementById("urlbar"); if (gURLBar) ...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/33d86bc7dd239fd98fb123186f96f88a81c4e8dd/browser.js/clean/browser/base/content/browser.js
var bm = document.getElementById("bookmarks-menu"); if (bm) bm.controllers.appendController(BookmarksMenuController);
function BrowserToolboxCustomizeDone(aToolboxChanged){ // Update global UI elements that may have been added or removed if (aToolboxChanged) { gURLBar = document.getElementById("urlbar"); gProxyButton = document.getElementById("page-proxy-button"); gProxyFavIcon = document.getElementById("page-proxy-favicon"...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/ca5b9cebf1ff95de5cd2d4b5da47f0375d2c3db4/browser.js/clean/browser/base/content/browser.js
#else var bookmarksBar = document.getElementById("bookmarksBarContent"); if (bookmarksBar) bookmarksBar._init();
function BrowserToolboxCustomizeDone(aToolboxChanged){#ifdef TOOLBAR_CUSTOMIZATION_SHEET document.getElementById("customizeToolbarSheetBox").hidden = true;#endif // Update global UI elements that may have been added or removed if (aToolboxChanged) { gURLBar = document.getElementById("urlbar"); if (gURLBar) ...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/0631137a21a33c77bbfe2eca812e525d0f2b5570/browser.js/buggy/browser/base/content/browser.js
"chrome,dialog=no",
"scrollbars,chrome,dialog=no",
function BrowserViewSource() { dump("BrowserViewSource(); \n "); var docCharset = null; try { var wnd = document.commandDispatcher.focusedWindow; if (window == wnd) wnd = window._content; docCharset = "charset="+ wnd.document.characterSet; dump("*** Current document charset: " + docCh...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/a83db20ddf9280a484042dcf689556656b2f6e4f/navigator.js/clean/xpfe/browser/resources/content/navigator.js
if (window == wnd) wnd = window.content;
if (window == wnd) wnd = window._content;
function BrowserViewSource() { dump("BrowserViewSource(); \n "); var docCharset = null; try { var wnd = document.commandDispatcher.focusedWindow; if (window == wnd) wnd = window.content; docCharset = "charset="+ wnd.document.characterSet; dump("*** Current document charset: " + docCha...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/03ea82871ae0d2b0e52e9f402c89829c8a4feb6a/navigator.js/clean/xpfe/browser/resources/content/navigator.js
window.content.location, docCharset);
window._content.location, docCharset);
function BrowserViewSource() { dump("BrowserViewSource(); \n "); var docCharset = null; try { var wnd = document.commandDispatcher.focusedWindow; if (window == wnd) wnd = window.content; docCharset = "charset="+ wnd.document.characterSet; dump("*** Current document charset: " + docCha...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/03ea82871ae0d2b0e52e9f402c89829c8a4feb6a/navigator.js/clean/xpfe/browser/resources/content/navigator.js
window.content.location);
window._content.location);
function BrowserViewSource() { dump("BrowserViewSource(); \n "); var docCharset = null; try { var wnd = document.commandDispatcher.focusedWindow; if (window == wnd) wnd = window.content; docCharset = "charset="+ wnd.document.characterSet; dump("*** Current document charset: " + docCha...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/03ea82871ae0d2b0e52e9f402c89829c8a4feb6a/navigator.js/clean/xpfe/browser/resources/content/navigator.js
BrowserViewSourceOfURL(_content.location, docCharset);
BrowserViewSourceOfURL(getWebNavigation().currentURI.spec, docCharset);
function BrowserViewSource(){ var focusedWindow = document.commandDispatcher.focusedWindow; if (focusedWindow == window) focusedWindow = _content; if (focusedWindow) var docCharset = "charset=" + focusedWindow.document.characterSet; BrowserViewSourceOfURL(_content.location, docCharset);}
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/2c65fd9eb2855bd99e9ae4b2b5be7c04bdf5e699/navigator.js/buggy/suite/browser/navigator.js
function BrowserViewSource() { var docCharset = null; try { var wnd = document.commandDispatcher.focusedWindow; if (window == wnd) wnd = window._content; docCharset = "charset="+ wnd.document.characterSet; // dump("*** Current document charset: " + docCharset + "\n"); } catch(ex) ...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/73019ea054da57bc12001ee9fbddfc7695e0c300/navigator.js/buggy/xpfe/browser/resources/content/navigator.js
dump("*** Failed to determine current document charset \n");
debug("*** Failed to determine current document charset \n");
function BrowserViewSource() { var docCharset = null; try { var wnd = document.commandDispatcher.focusedWindow; if (window == wnd) wnd = window._content; docCharset = "charset="+ wnd.document.characterSet; // dump("*** Current document charset: " + docCharset + "\n"); } catch(ex) ...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/73019ea054da57bc12001ee9fbddfc7695e0c300/navigator.js/buggy/xpfe/browser/resources/content/navigator.js
dump("*** Failed to open view-source window with preset charset menu.\n");
debug("*** Failed to open view-source window with preset charset menu.\n");
function BrowserViewSource() { var docCharset = null; try { var wnd = document.commandDispatcher.focusedWindow; if (window == wnd) wnd = window._content; docCharset = "charset="+ wnd.document.characterSet; // dump("*** Current document charset: " + docCharset + "\n"); } catch(ex) ...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/73019ea054da57bc12001ee9fbddfc7695e0c300/navigator.js/buggy/xpfe/browser/resources/content/navigator.js
dump("*** Failed to preset charset menu for the view-source window\n");
debug("*** Failed to preset charset menu for the view-source window\n");
function BrowserViewSource() { var docCharset = null; try { var wnd = document.commandDispatcher.focusedWindow; if (window == wnd) wnd = window._content; docCharset = "charset="+ wnd.document.characterSet; // dump("*** Current document charset: " + docCharset + "\n"); } catch(ex) ...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/73019ea054da57bc12001ee9fbddfc7695e0c300/navigator.js/buggy/xpfe/browser/resources/content/navigator.js
var docCharset;
function BrowserViewSourceOfDocument(aDocument){ var docCharset; var pageCookie; var webNav; // Get the document charset docCharset = "charset=" + aDocument.characterSet; // Get the nsIWebNavigation associated with the document try { var win; var ifRequestor; // Get the DOMWindow for the requested...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/a40ff71595a44bcf326020e43c455b5bb7366070/browser.js/buggy/browser/base/content/browser.js
docCharset = "charset=" + aDocument.characterSet;
var docCharset = "charset=" + aDocument.characterSet;
function BrowserViewSourceOfDocument(aDocument){ var docCharset; var pageCookie; var webNav; // Get the document charset docCharset = "charset=" + aDocument.characterSet; // Get the nsIWebNavigation associated with the document try { var win; var ifRequestor; // Get the DOMWindow for the requested...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/a40ff71595a44bcf326020e43c455b5bb7366070/browser.js/buggy/browser/base/content/browser.js
BrowserViewSourceOfURL(webNav.currentURI.spec, docCharset, pageCookie);
ViewSourceOfURL(webNav.currentURI.spec, pageCookie, aDocument);
function BrowserViewSourceOfDocument(aDocument){ var docCharset; var pageCookie; var webNav; // Get the document charset docCharset = "charset=" + aDocument.characterSet; // Get the nsIWebNavigation associated with the document try { var win; var ifRequestor; // Get the DOMWindow for the requested...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/a40ff71595a44bcf326020e43c455b5bb7366070/browser.js/buggy/browser/base/content/browser.js
function BrowserViewSourceOfURL(url, charset)
function BrowserViewSourceOfURL(url, charset, pageCookie)
function BrowserViewSourceOfURL(url, charset){ // try to open a view-source window while inheriting the charset (if any) openDialog("chrome://navigator/content/viewSource.xul", "_blank", "scrollbars,resizable,chrome,dialog=no", url, charset);}
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/af9b1d66679701919d450d68e4348894b026830f/navigator.js/clean/xpfe/browser/resources/content/navigator.js
url, charset);
url, charset, pageCookie);
function BrowserViewSourceOfURL(url, charset){ // try to open a view-source window while inheriting the charset (if any) openDialog("chrome://navigator/content/viewSource.xul", "_blank", "scrollbars,resizable,chrome,dialog=no", url, charset);}
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/af9b1d66679701919d450d68e4348894b026830f/navigator.js/clean/xpfe/browser/resources/content/navigator.js
"scrollbars,resizable,chrome,dialog=no",
"all,dialog=no",
function BrowserViewSourceOfURL(url, charset, pageCookie){ // try to open a view-source window while inheriting the charset (if any) openDialog("chrome://navigator/content/viewSource.xul", "_blank", "scrollbars,resizable,chrome,dialog=no", url, charset, pageCookie);}
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/2f2a264bdd065790578a62d96f066330e7c35bbe/navigator.js/buggy/xpfe/browser/resources/content/navigator.js
dumpln (" * ProgID: '" + cls.name + "'");
dumpln (" * ContractID: '" + cls.name + "'");
function bruteForceEnumeration(ignore){ var interfaceInfo = new Object();loop: for (var c in Components.classes) { var cls = Components.classes[c]; dumpln ("**"); dumpln (" * ProgID: '" + cls.name + "'"); dumpln (" * CLSID: " + cls.number); if(ignore) { for(var i = 0;...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/0257791053c2b38e1dfaf2ee11afae973e82e394/xpctest_enum_create.js/buggy/js/src/xpconnect/tests/js/old/xpctest_enum_create.js
this.buffer = "";
this.buffer = "";
function Buffer() { this.buffer = ""; }
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/55a5e5ddbf4a7e9103b995d808c4466085d2123f/nsInterfaceInfoToIDL.js/buggy/extensions/webservices/interfaceinfo/src/nsInterfaceInfoToIDL.js
if (ListType == "ul")
if (gListType == "ul")
function BuildBulletStyleList(){ ClearMenulist(gDialog.BulletStyleList); var label; if (ListType == "ul") { gDialog.BulletStyleList.removeAttribute("disabled"); gDialog.BulletStyleLabel.removeAttribute("disabled"); gDialog.StartingNumberInput.setAttribute("disabled", "true"); gDialog.StartingNumberLabel...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/492bf7efc7f84ef524f991fa61aa8cf57806bad7/EdListProps.js/clean/editor/ui/dialogs/content/EdListProps.js
gDialog.BulletStyleList.selectedIndex = BulletStyleIndex;
gDialog.BulletStyleList.selectedIndex = gBulletStyleIndex;
function BuildBulletStyleList(){ ClearMenulist(gDialog.BulletStyleList); var label; if (ListType == "ul") { gDialog.BulletStyleList.removeAttribute("disabled"); gDialog.BulletStyleLabel.removeAttribute("disabled"); gDialog.StartingNumberInput.setAttribute("disabled", "true"); gDialog.StartingNumberLabel...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/492bf7efc7f84ef524f991fa61aa8cf57806bad7/EdListProps.js/clean/editor/ui/dialogs/content/EdListProps.js
else if (ListType == "ol")
else if (gListType == "ol")
function BuildBulletStyleList(){ ClearMenulist(gDialog.BulletStyleList); var label; if (ListType == "ul") { gDialog.BulletStyleList.removeAttribute("disabled"); gDialog.BulletStyleLabel.removeAttribute("disabled"); gDialog.StartingNumberInput.setAttribute("disabled", "true"); gDialog.StartingNumberLabel...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/492bf7efc7f84ef524f991fa61aa8cf57806bad7/EdListProps.js/clean/editor/ui/dialogs/content/EdListProps.js
gDialog.BulletStyleList.selectedIndex = NumberStyleIndex;
gDialog.BulletStyleList.selectedIndex = gNumberStyleIndex;
function BuildBulletStyleList(){ ClearMenulist(gDialog.BulletStyleList); var label; if (ListType == "ul") { gDialog.BulletStyleList.removeAttribute("disabled"); gDialog.BulletStyleLabel.removeAttribute("disabled"); gDialog.StartingNumberInput.setAttribute("disabled", "true"); gDialog.StartingNumberLabel...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/492bf7efc7f84ef524f991fa61aa8cf57806bad7/EdListProps.js/clean/editor/ui/dialogs/content/EdListProps.js
if (ListType == "dl")
if (gListType == "dl")
function BuildBulletStyleList(){ ClearMenulist(gDialog.BulletStyleList); var label; if (ListType == "ul") { gDialog.BulletStyleList.removeAttribute("disabled"); gDialog.BulletStyleLabel.removeAttribute("disabled"); gDialog.StartingNumberInput.setAttribute("disabled", "true"); gDialog.StartingNumberLabel...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/492bf7efc7f84ef524f991fa61aa8cf57806bad7/EdListProps.js/clean/editor/ui/dialogs/content/EdListProps.js
if (ListType)
if (gListType)
function BuildBulletStyleList(){ ClearMenulist(gDialog.BulletStyleList); var label; if (ListType == "ul") { gDialog.BulletStyleList.removeAttribute("disabled"); gDialog.BulletStyleLabel.removeAttribute("disabled"); gDialog.StartingNumberInput.setAttribute("disabled", "true"); gDialog.StartingNumberLabel...
5872 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/492bf7efc7f84ef524f991fa61aa8cf57806bad7/EdListProps.js/clean/editor/ui/dialogs/content/EdListProps.js
function buildCalendar(m,y,ff){
function buildCalendar(m,y){ m = parseFloat(m); y = parseFloat(y);
function buildCalendar(m,y,ff){ var dayNo = figureDOTW(m,1,y); var monthNo = Calendar_get_daysofmonth(m,y); var dayCount = 1; var calTB = document.getElementById('calTbl').getElementsByTagName('tbody')[0]; var calNav = document.getElementById('calNav'); scramKids(calTB); for (i=0;i<6;i++){ // row loop var calTR = docu...
2930 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2930/e0b9ba0182a9df96b81bedecc0d545541afa764d/calendar.js/buggy/tracks/public/javascripts/calendar.js
var rowNum = Math.ceil((monthNo+dayNo)/7);
function buildCalendar(m,y,ff){ var dayNo = figureDOTW(m,1,y); var monthNo = Calendar_get_daysofmonth(m,y); var dayCount = 1; var calTB = document.getElementById('calTbl').getElementsByTagName('tbody')[0]; var calNav = document.getElementById('calNav'); scramKids(calTB); for (i=0;i<6;i++){ // row loop var calTR = docu...
2930 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2930/e0b9ba0182a9df96b81bedecc0d545541afa764d/calendar.js/buggy/tracks/public/javascripts/calendar.js
for (j=0; j < 7; j++){
var cellContent; for (j=0; j < 7; j++){
function buildCalendar(m,y,ff){ var dayNo = figureDOTW(m,1,y); var monthNo = Calendar_get_daysofmonth(m,y); var dayCount = 1; var calTB = document.getElementById('calTbl').getElementsByTagName('tbody')[0]; var calNav = document.getElementById('calNav'); scramKids(calTB); for (i=0;i<6;i++){ // row loop var calTR = docu...
2930 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2930/e0b9ba0182a9df96b81bedecc0d545541afa764d/calendar.js/buggy/tracks/public/javascripts/calendar.js
if (j == 0 || j == 6 ) calTD.style.backgroundColor = '#fff'; if ((i==0 && j < dayNo) || dayCount > monthNo) calTDtext = document.createElement('br');
if (j == 0 || j == 6 ) calTD.style.backgroundColor = '#EDF0FF'; if ((i==0 && j < dayNo) || dayCount > monthNo) cellContent = document.createElement('br');
function buildCalendar(m,y,ff){ var dayNo = figureDOTW(m,1,y); var monthNo = Calendar_get_daysofmonth(m,y); var dayCount = 1; var calTB = document.getElementById('calTbl').getElementsByTagName('tbody')[0]; var calNav = document.getElementById('calNav'); scramKids(calTB); for (i=0;i<6;i++){ // row loop var calTR = docu...
2930 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2930/e0b9ba0182a9df96b81bedecc0d545541afa764d/calendar.js/buggy/tracks/public/javascripts/calendar.js
cellContent = calTDtext;
function buildCalendar(m,y,ff){ var dayNo = figureDOTW(m,1,y); var monthNo = Calendar_get_daysofmonth(m,y); var dayCount = 1; var calTB = document.getElementById('calTbl').getElementsByTagName('tbody')[0]; var calNav = document.getElementById('calNav'); scramKids(calTB); for (i=0;i<6;i++){ // row loop var calTR = docu...
2930 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2930/e0b9ba0182a9df96b81bedecc0d545541afa764d/calendar.js/buggy/tracks/public/javascripts/calendar.js
calTD.style.color = '#ff6600';
calTD.style.backgroundColor = '#FFFF99'; if ((j!=0 && j!=6) || calWknd == true){ if (dayCount == curr_dy && m == curr_mn && y == curr_yr && calSpan != 3 && calSpan != 0 && calSpan != 4){ dyA.appendChild(calTDtext); cellContent = dyA; } if (calSpan == 1 || calSpan == 4){ if (y < curr_yr || (m < curr_mn && y == curr_yr) ...
function buildCalendar(m,y,ff){ var dayNo = figureDOTW(m,1,y); var monthNo = Calendar_get_daysofmonth(m,y); var dayCount = 1; var calTB = document.getElementById('calTbl').getElementsByTagName('tbody')[0]; var calNav = document.getElementById('calNav'); scramKids(calTB); for (i=0;i<6;i++){ // row loop var calTR = docu...
2930 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2930/e0b9ba0182a9df96b81bedecc0d545541afa764d/calendar.js/buggy/tracks/public/javascripts/calendar.js
calTD.appendChild(calTDtext);
calTD.appendChild(cellContent);
function buildCalendar(m,y,ff){ var dayNo = figureDOTW(m,1,y); var monthNo = Calendar_get_daysofmonth(m,y); var dayCount = 1; var calTB = document.getElementById('calTbl').getElementsByTagName('tbody')[0]; var calNav = document.getElementById('calNav'); scramKids(calTB); for (i=0;i<6;i++){ // row loop var calTR = docu...
2930 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2930/e0b9ba0182a9df96b81bedecc0d545541afa764d/calendar.js/buggy/tracks/public/javascripts/calendar.js
function buildCalendar(m,y,ff){ var dayNo = figureDOTW(m,1,y); var monthNo = Calendar_get_daysofmonth(m,y); var dayCount = 1; var calTB = document.getElementById('calTbl').getElementsByTagName('tbody')[0]; var calNav = document.getElementById('calNav'); scramKids(calTB); for (i=0;i<6;i++){ // row loop var calTR = docu...
2930 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2930/e0b9ba0182a9df96b81bedecc0d545541afa764d/calendar.js/buggy/tracks/public/javascripts/calendar.js
document.getElementById('pyNav').innerHTML = '<a href="javascript:void(0)" title="Previous Year" onclick="buildCalendar('+m+','+(y-1)+',\''+ff+'\')"><<</a>'; document.getElementById('pmNav').innerHTML = '<a href="javascript:void(0)" title="Previous Month" onclick="buildCalendar('+pMonth[0]+','+pMonth[1]+')"><</a>'; do...
document.getElementById('calNavPY').innerHTML = '<a href="javascript:void(0)" onclick="buildCalendar('+m+','+(y-1)+')"><<</a>'; document.getElementById('calNavPM').innerHTML = '<a href="javascript:void(0)" onclick="buildCalendar('+pMonth[0]+','+pMonth[1]+')"><</a>'; document.getElementById('calNavMY').innerHTML = moty[...
function buildCalendar(m,y,ff){ var dayNo = figureDOTW(m,1,y); var monthNo = Calendar_get_daysofmonth(m,y); var dayCount = 1; var calTB = document.getElementById('calTbl').getElementsByTagName('tbody')[0]; var calNav = document.getElementById('calNav'); scramKids(calTB); for (i=0;i<6;i++){ // row loop var calTR = docu...
2930 /local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/2930/e0b9ba0182a9df96b81bedecc0d545541afa764d/calendar.js/buggy/tracks/public/javascripts/calendar.js