rem stringlengths 0 126k | add stringlengths 0 441k | context stringlengths 15 136k |
|---|---|---|
document.title = gCommonDialogParam.GetString(12); | if (/Mac/.test(navigator.platform)) { var titleString = gCommonDialogParam.GetString(12); if (/^\w+:\/\/\w/.test(titleString)) { setElementText("info.title", titleString, true); unHideElementById("info.title"); } } else { document.title = gCommonDialogParam.GetString(12); } | function commonDialogOnLoad(){ // set the document title document.title = gCommonDialogParam.GetString(12); // set the number of command buttons var nButtons = gCommonDialogParam.GetInt(2); var dialog = document.documentElement; switch (nButtons) { case 1: dialog.getButton("cancel").hidden = true; br... |
document.documentElement.getButton("extra2").focus(); | dButton = document.documentElement.getButton("extra2"); | function commonDialogOnLoad(){ // set the window title window.title = gCommonDialogParam.GetString(12); // set the number of command buttons var nButtons = gCommonDialogParam.GetInt(2); var dialog = document.documentElement; switch (nButtons) { case 1: dialog.getButton("cancel").hidden = true; break;... |
document.documentElement.getButton("extra1").focus(); | dButton = document.documentElement.getButton("extra1"); | function commonDialogOnLoad(){ // set the window title window.title = gCommonDialogParam.GetString(12); // set the number of command buttons var nButtons = gCommonDialogParam.GetInt(2); var dialog = document.documentElement; switch (nButtons) { case 1: dialog.getButton("cancel").hidden = true; break;... |
document.documentElement.getButton("cancel").focus(); | dButton = document.documentElement.getButton("cancel"); | function commonDialogOnLoad(){ // set the window title window.title = gCommonDialogParam.GetString(12); // set the number of command buttons var nButtons = gCommonDialogParam.GetInt(2); var dialog = document.documentElement; switch (nButtons) { case 1: dialog.getButton("cancel").hidden = true; break;... |
document.documentElement.getButton("accept").focus(); | dButton = document.documentElement.getButton("accept"); | function commonDialogOnLoad(){ // set the window title window.title = gCommonDialogParam.GetString(12); // set the number of command buttons var nButtons = gCommonDialogParam.GetInt(2); var dialog = document.documentElement; switch (nButtons) { case 1: dialog.getButton("cancel").hidden = true; break;... |
document.documentElement.getButton("accept").setAttribute("default",false); dButton.setAttribute("default", true); dButton.focus(); } if (gCommonDialogParam.GetInt(6) != 0) { var delayInterval = 2000; try { var prefs = Components.classes["@mozilla.org/preferences-service;1"] .getService(Components.interfaces.nsIPrefBr... | function commonDialogOnLoad(){ // set the window title window.title = gCommonDialogParam.GetString(12); // set the number of command buttons var nButtons = gCommonDialogParam.GetInt(2); var dialog = document.documentElement; switch (nButtons) { case 1: dialog.getButton("cancel").hidden = true; break;... | |
GetAttention(); | getAttention(); | function commonDialogOnLoad(){ // set the window title window.title = gCommonDialogParam.GetString(12); // set the number of command buttons var nButtons = gCommonDialogParam.GetInt(2); var dialog = document.documentElement; switch (nButtons) { case 1: dialog.getButton("cancel").hidden = true; break;... |
setElementText("Button3", gCommonDialogParam.GetString(11)); | document.getElementById("Button3").label = gCommonDialogParam.GetString(11); | function commonDialogOnLoad(){ doSetOKCancel(commonDialogOnOK, commonDialogOnCancel, commonDialogOnButton2, commonDialogOnButton3); gCommonDialogParam = window.arguments[0].QueryInterface(Components.interfaces.nsIDialogParamBlock); // display the main text var messageText = gCommonDialogParam.GetString(0); var me... |
setElementText("Button2", gCommonDialogParam.GetString(10)); | document.getElementById("Button2").label = gCommonDialogParam.GetString(10); | function commonDialogOnLoad(){ doSetOKCancel(commonDialogOnOK, commonDialogOnCancel, commonDialogOnButton2, commonDialogOnButton3); gCommonDialogParam = window.arguments[0].QueryInterface(Components.interfaces.nsIDialogParamBlock); // display the main text var messageText = gCommonDialogParam.GetString(0); var me... |
setElementText("ok", string); | document.getElementById("ok").label = string; | function commonDialogOnLoad(){ doSetOKCancel(commonDialogOnOK, commonDialogOnCancel, commonDialogOnButton2, commonDialogOnButton3); gCommonDialogParam = window.arguments[0].QueryInterface(Components.interfaces.nsIDialogParamBlock); // display the main text var messageText = gCommonDialogParam.GetString(0); var me... |
setElementText("cancel", string); | document.getElementById("cancel").label = string; | function commonDialogOnLoad(){ doSetOKCancel(commonDialogOnOK, commonDialogOnCancel, commonDialogOnButton2, commonDialogOnButton3); gCommonDialogParam = window.arguments[0].QueryInterface(Components.interfaces.nsIDialogParamBlock); // display the main text var messageText = gCommonDialogParam.GetString(0); var me... |
var element1, element2; var numEditfields = param.GetInt( 3 ); if (numEditfields == 2) { var editfield1Password = param.GetInt( 4 ); if ( editfield1Password == 1 ) { element1 = document.getElementById("dialog.password1"); } else { element1 = document.getElementById("dialog.loginname"); } param.SetString( 6, element1.va... | var element = document.getElementById("dialog.loginname"); param.SetString( 6, element.value ); element = document.getElementById("dialog.password"); param.SetString( 7, element.value ); | function commonDialogOnOK(){// dump("commonDialogOnOK \n"); param.SetInt(0, 0 ); var element1, element2; var numEditfields = param.GetInt( 3 ); if (numEditfields == 2) { var editfield1Password = param.GetInt( 4 ); if ( editfield1Password == 1 ) { element1 = document.getElementById("dialog.password1"); } else { e... |
param.SetInt(0, 0 ); | function commonDialogOnOK(){ dump("commonDialogOnOK \n"); param.SetInt(2, listBox.selectedIndex ); return true;} | |
document.documentElement.getButton("accept").disabled = false; document.documentElement.getButton("extra1").disabled = false; document.documentElement.getButton("extra2").disabled = false; | if (!gBlurred) { document.documentElement.getButton("accept").disabled = false; document.documentElement.getButton("extra1").disabled = false; document.documentElement.getButton("extra2").disabled = false; } gDelayExpired = true; | function commonDialogReenableButtons(){ document.documentElement.getButton("accept").disabled = false; document.documentElement.getButton("extra1").disabled = false; document.documentElement.getButton("extra2").disabled = false;} |
if (first[column] > second[column]) return 1; | compareFunc = function compare(first, second) { if (first[column] < second[column]) return -1; if (first[column] > second[column]) return 1; return 0; } | |
if (first[column] < second[column]) return 1; if (first[column] > second[column]) return -1; return 0; | return CompareLowerCase(second[column], first[column]); | compareFunc = function compare(first, second) { if (first[column] < second[column]) return 1; if (first[column] > second[column]) return -1; return 0; } |
dump("XXX ex " + account1.incomingServer.serverURI + "," + ex + "\n"); | dump("XXX ex "); if (account1 && account1.incomingServer && account1.incomingServer.serverURI) dump(account1.incomingServer.serverURI + ","); dump(ex + "\n"); | function compareAccountSortOrder(account1, account2){ var sortValue1, sortValue2; try { var res1 = sRDF.GetResource(account1.incomingServer.serverURI); sortValue1 = sAccountManagerDataSource.GetTarget(res1, sNameProperty, true).QueryInterface(Components.interfaces.nsIRDFLiteral).Value; } catch (ex) { dump(... |
dump("XXX ex " + account1.incomingServer.serverURI + "," + ex + "\n"); | dump("XXX ex "); if (account2 && account2.incomingServer && account2.incomingServer.serverURI) dump(account2.incomingServer.serverURI + ","); dump(ex + "\n"); | function compareAccountSortOrder(account1, account2){ var sortValue1, sortValue2; try { var res1 = sRDF.GetResource(account1.incomingServer.serverURI); sortValue1 = sAccountManagerDataSource.GetTarget(res1, sNameProperty, true).QueryInterface(Components.interfaces.nsIRDFLiteral).Value; } catch (ex) { dump(... |
return 1; | a = now(); | function compareDate(a, b) { if (!a) return 1; if (!b) return -1; return (a.compare(b)); } |
return -1; | b = now(); | function compareDate(a, b) { if (!a) return 1; if (!b) return -1; return (a.compare(b)); } |
dateA.getDay() == dateB.getDay() ) { | dateA.getDate() == dateB.getDate() ) { | function compareIgnoringTimeOfDay(dateA, dateB){ if (dateA.getFullYear() == dateB.getFullYear() && dateA.getMonth() == dateB.getMonth() && dateA.getDay() == dateB.getDay() ) { return 0; } else if (dateA < dateB) { return -1; } else if (dateA > dateB) { return 1; }} |
dump("XXX ex " + server1.URI + "," + ex + "\n"); | dump("XXX ex "); if (server1 && server1.URI) dump(server1.URI + ","); dump(ex + "\n"); | function compareServerSortOrder(server1, server2){ var sortValue1, sortValue2; try { var res1 = RDF.GetResource(server1.URI); sortValue1 = gAccountManagerDataSource.GetTarget(res1, gNameProperty, true).QueryInterface(Components.interfaces.nsIRDFLiteral).Value; } catch (ex) { dump("XXX ex " + server1.URI + ... |
dump("XXX ex " + server2.URI + "," + ex + "\n"); | dump("XXX ex "); if (server2 && server2.URI) dump(server2.URI + ","); dump(ex + "\n"); | function compareServerSortOrder(server1, server2){ var sortValue1, sortValue2; try { var res1 = RDF.GetResource(server1.URI); sortValue1 = gAccountManagerDataSource.GetTarget(res1, gNameProperty, true).QueryInterface(Components.interfaces.nsIRDFLiteral).Value; } catch (ex) { dump("XXX ex " + server1.URI + ... |
return compareDate(taskA.completed, taskB.completed) * modifier; | return compareDate(taskA.completedDate, taskB.completedDate) * modifier; | function compareTasks( taskA, taskB ){ var modifier = 1; if (toDoTreeView.sortDirection == "descending") { modifier = -1; } switch(toDoTreeView.selectedColumn) { case "unifinder-todo-tree-col-priority": // 0-9 return compareNumber(taskA.priority, taskB.priority) * modifier; case "unifinde... |
testcases[testcases.length] = new TestCase( SECTION, "typeof (" + testval.description +" )", testval.type, javaval.type ); | new TestCase( SECTION, "typeof (" + testval.description +" )", testval.type, javaval.type ); | function CompareValues( javaval, testval ) { // Check type, which should be E_TYPE testcases[testcases.length] = new TestCase( SECTION, "typeof (" + testval.description +" )", testval.type, ... |
testcases[testcases.length] = new TestCase( SECTION, "(" + testval.description +" ).getJSClass()", testval.jsclass, javaval.jsclass ); | new TestCase( SECTION, "(" + testval.description +" ).getJSClass()", testval.jsclass, javaval.jsclass ); | function CompareValues( javaval, testval ) { // Check type, which should be E_TYPE testcases[testcases.length] = new TestCase( SECTION, "typeof (" + testval.description +" )", testval.type, ... |
testcases[testcases.length] = new TestCase( SECTION, "("+ testval.description +")["+i+"]", testval.value[i], javaval.value[i] ); | new TestCase( SECTION, "("+ testval.description +")["+i+"]", testval.value[i], javaval.value[i] ); | function CompareValues( javaval, testval ) { // Check value for ( var i = 0; i < testval.value.length; i++ ) { testcases[testcases.length] = new TestCase( SECTION, "("+ testval.description +")["+i+"]", testval.va... |
testcases[testcases.length] = new TestCase( SECTION, "typeof (" + testval.description +")", testval.type, javaval.type ); | new TestCase( SECTION, "typeof (" + testval.description +")", testval.type, javaval.type ); | function CompareValues( javaval, testval ) { // Check value for ( var i = 0; i < testval.value.length; i++ ) { testcases[testcases.length] = new TestCase( SECTION, "("+ testval.description +")["+i+"]", testval.va... |
testcases[testcases.length] = new TestCase( SECTION, "typeof (" + testval.description +")", testval.type, javaval.type ); | new TestCase( SECTION, "typeof (" + testval.description +")", testval.type, javaval.type ); | function CompareValues( javaval, testval ) { // Check type, which should be E_TYPE testcases[testcases.length] = new TestCase( SECTION, "typeof (" + testval.description +")", testval.type, ... |
testcases[testcases.length] = new TestCase( SECTION, "(" + testval.description +".)getJSClass()", testval.jsclass, javaval.jsclass ); | new TestCase( SECTION, "(" + testval.description +".)getJSClass()", testval.jsclass, javaval.jsclass ); | function CompareValues( javaval, testval ) { // Check type, which should be E_TYPE testcases[testcases.length] = new TestCase( SECTION, "typeof (" + testval.description +")", testval.type, ... |
testcases[testcases.length] = new TestCase( SECTION, "(" + testval.description +") +''", testval.classname, javaval.classname ); | new TestCase( SECTION, "(" + testval.description +") +''", testval.classname, javaval.classname ); | function CompareValues( javaval, testval ) { // Check type, which should be E_TYPE testcases[testcases.length] = new TestCase( SECTION, "typeof (" + testval.description +")", testval.type, ... |
testcases[testcases.length] = new TestCase( SECTION, testval.description, testval.value, javaval.value ); | new TestCase( SECTION, testval.description, testval.value, javaval.value ); | function CompareValues( javaval, testval ) { // Check value testcases[testcases.length] = new TestCase( SECTION, testval.description, testval.value, javaval.value ); // ... |
testcases[testcases.length] = new TestCase( SECTION, "typeof (" + testval.description +")", testval.type, javaval.type ); | new TestCase( SECTION, "typeof (" + testval.description +")", testval.type, javaval.type ); | function CompareValues( javaval, testval ) { // Check value testcases[testcases.length] = new TestCase( SECTION, testval.description, testval.value, javaval.value ); // ... |
testcases[testcases.length] = new TestCase( SECTION, "("+testval.description+").booleanValue()", testval.value, javaval.value ); | new TestCase( SECTION, "("+testval.description+").booleanValue()", testval.value, javaval.value ); | function CompareValues( javaval, testval ) { // Check value testcases[testcases.length] = new TestCase( SECTION, "("+testval.description+").booleanValue()", testval.value, ... |
testcases[testcases.length] = new TestCase( SECTION, "typeof (" + testval.description +")", testval.type, javaval.type ); | new TestCase( SECTION, "typeof (" + testval.description +")", testval.type, javaval.type ); | function CompareValues( javaval, testval ) { // Check value testcases[testcases.length] = new TestCase( SECTION, "("+testval.description+").booleanValue()", testval.value, ... |
testcases[testcases.length] = new TestCase( SECTION, "(" + testval.description +").getJSClass()", testval.jsclass, javaval.jsclass ); | new TestCase( SECTION, "(" + testval.description +").getJSClass()", testval.jsclass, javaval.jsclass ); | function CompareValues( javaval, testval ) { // Check value testcases[testcases.length] = new TestCase( SECTION, "("+testval.description+").booleanValue()", testval.value, ... |
testcases[testcases.length] = new TestCase( SECTION, "(" + testval.description +").getClass().equals( " + E_JAVACLASS +" )", true, javaval.javaclass.equals( testval.javaclass ) ); | new TestCase( SECTION, "(" + testval.description +").getClass().equals( " + E_JAVACLASS +" )", true, javaval.javaclass.equals( testval.javaclass ) ); | function CompareValues( javaval, testval ) { // Check value testcases[testcases.length] = new TestCase( SECTION, "("+testval.description+").booleanValue()", testval.value, ... |
testcases[testcases.length] = new TestCase( SECTION, "("+ testval.description +")["+p+"]", testval.value[p], javaval.value[p] ); | new TestCase( SECTION, "("+ testval.description +")["+p+"]", testval.value[p], javaval.value[p] ); | function CompareValues( javaval, testval ) { // Check value var p; var e = 0; for ( p in javaval.value ) { testcases[testcases.length] = new TestCase( SECTION, "("+ testval.description +")["+p+"]", testval.... |
testcases[testcases.length] = new TestCase( SECTION, "number of elements enumerated:", testval.length, e ); | new TestCase( SECTION, "number of elements enumerated:", testval.length, e ); | function CompareValues( javaval, testval ) { // Check value var p; var e = 0; for ( p in javaval.value ) { testcases[testcases.length] = new TestCase( SECTION, "("+ testval.description +")["+p+"]", testval.... |
testcases[testcases.length] = new TestCase( SECTION, "typeof (" + testval.description +")", testval.type, javaval.type ); | new TestCase( SECTION, "typeof (" + testval.description +")", testval.type, javaval.type ); | function CompareValues( javaval, testval ) { // Check value var p; var e = 0; for ( p in javaval.value ) { testcases[testcases.length] = new TestCase( SECTION, "("+ testval.description +")["+p+"]", testval.... |
testcases[testcases.length] = new TestCase( SECTION, "typeof (" + testval.description +" )", testval.type, javaval.type ); | new TestCase( SECTION, "typeof (" + testval.description +" )", testval.type, javaval.type ); | function CompareValues( javaval, testval ) { // Check type, which should be E_TYPE testcases[testcases.length] = new TestCase( SECTION, "typeof (" + testval.description +" )", testval.type, ... |
testcases[testcases.length] = new TestCase( SECTION, "(" + testval.description +" ).getJSClass()", E_JSCLASS, javaval.jsclass ); | new TestCase( SECTION, "(" + testval.description +" ).getJSClass()", E_JSCLASS, javaval.jsclass ); | function CompareValues( javaval, testval ) { // Check type, which should be E_TYPE testcases[testcases.length] = new TestCase( SECTION, "typeof (" + testval.description +" )", testval.type, ... |
testcases[testcases.length] = new TestCase( SECTION, "("+testval.description +").getClass().equals( " + "java.lang.Class.forName( '" + testval.classname + "' ) )", true, (javaval.javaclass).equals( testval.javaclass ) ); | new TestCase( SECTION, "("+testval.description +").getClass().equals( " + "java.lang.Class.forName( '" + testval.classname + "' ) )", true, (javaval.javaclass).equals( testval.javaclass ) ); | function CompareValues( javaval, testval ) { // Check type, which should be E_TYPE testcases[testcases.length] = new TestCase( SECTION, "typeof (" + testval.description +" )", testval.type, ... |
testcases[testcases.length] = new TestCase( | new TestCase( | function CompareValues( javaval, testval ) { // Check type, which should be E_TYPE testcases[testcases.length] = new TestCase( SECTION, "typeof (" + testval.description +" )", testval.type, ... |
testcases[testcases.length] = new TestCase( SECTION, "typeof (" + testval.description +")", testval.type, javaval.type ); | new TestCase( SECTION, "typeof (" + testval.description +")", testval.type, javaval.type ); | function CompareValues( javaval, testval ) { // Check type, which should be E_TYPE testcases[testcases.length] = new TestCase( SECTION, "typeof (" + testval.description +")", testval.type, ... |
testcases[testcases.length] = new TestCase( SECTION, "(" + testval.description +").getJSClass()", testval.jsclass, javaval.jsclass ); | new TestCase( SECTION, "(" + testval.description +").getJSClass()", testval.jsclass, javaval.jsclass ); | function CompareValues( javaval, testval ) { // Check type, which should be E_TYPE testcases[testcases.length] = new TestCase( SECTION, "typeof (" + testval.description +")", testval.type, ... |
testcases[testcases.length] = new TestCase( SECTION, "(" + testval.description +") +''", testval.classname, javaval.classname ); | new TestCase( SECTION, "(" + testval.description +") +''", testval.classname, javaval.classname ); | function CompareValues( javaval, testval ) { // Check type, which should be E_TYPE testcases[testcases.length] = new TestCase( SECTION, "typeof (" + testval.description +")", testval.type, ... |
testcases[testcases.length] = new TestCase( SECTION, "("+testval.description+").booleanValue()", testval.value, javaval.value ); | new TestCase( SECTION, "("+testval.description+").booleanValue()", testval.value, javaval.value ); | function CompareValues( javaval, testval ) { // Check booleanValue() testcases[testcases.length] = new TestCase( SECTION, "("+testval.description+").booleanValue()", testval.value, ... |
testcases[testcases.length] = new TestCase( SECTION, "typeof (" + testval.description +")", testval.type, javaval.type ); | new TestCase( SECTION, "typeof (" + testval.description +")", testval.type, javaval.type ); | function CompareValues( javaval, testval ) { // Check booleanValue() testcases[testcases.length] = new TestCase( SECTION, "("+testval.description+").booleanValue()", testval.value, ... |
testcases[testcases.length] = new TestCase( SECTION, "(" + testval.description +").getJSClass()", testval.jsclass, javaval.jsclass ); | new TestCase( SECTION, "(" + testval.description +").getJSClass()", testval.jsclass, javaval.jsclass ); | function CompareValues( javaval, testval ) { // Check booleanValue() testcases[testcases.length] = new TestCase( SECTION, "("+testval.description+").booleanValue()", testval.value, ... |
testcases[testcases.length] = new TestCase( SECTION, "(" + testval.description +").getClass().equals( " + E_JAVACLASS +" )", true, javaval.javaclass.equals( testval.javaclass ) ); | new TestCase( SECTION, "(" + testval.description +").getClass().equals( " + E_JAVACLASS +" )", true, javaval.javaclass.equals( testval.javaclass ) ); | function CompareValues( javaval, testval ) { // Check booleanValue() testcases[testcases.length] = new TestCase( SECTION, "("+testval.description+").booleanValue()", testval.value, ... |
testcases[testcases.length] = new TestCase( SECTION, "("+ testval.description +").length", testval.value, javaval.length ); | new TestCase( SECTION, "("+ testval.description +").length", testval.value, javaval.length ); | function CompareValues( javaval, testval ) { // Check length testcases[testcases.length] = new TestCase( SECTION, "("+ testval.description +").length", testval.value, javav... |
testcases[testcases.length] = new TestCase( | new TestCase( | function CompareValues( javaval, testval ) { // Check length testcases[testcases.length] = new TestCase( SECTION, "("+ testval.description +").length", testval.value, javav... |
testcases[testcases.length] = new TestCase( SECTION, "typeof (" + testval.description +")", testval.type, javaval.type ); | new TestCase( SECTION, "typeof (" + testval.description +")", testval.type, javaval.type ); | function CompareValues( javaval, testval ) { // Check typeof, which should be E_TYPE testcases[testcases.length] = new TestCase( SECTION, "typeof (" + testval.description +")", testval.type, ... |
testcases[testcases.length] = new TestCase( SECTION, "(" + testval.description +").getJSClass()", testval.jsclass, javaval.jsclass ); | new TestCase( SECTION, "(" + testval.description +").getJSClass()", testval.jsclass, javaval.jsclass ); | function CompareValues( javaval, testval ) { // Check typeof, which should be E_TYPE testcases[testcases.length] = new TestCase( SECTION, "typeof (" + testval.description +")", testval.type, ... |
testcases[testcases.length] = new TestCase( SECTION, "("+testval.description+").booleanValue()", testval.value, javaval.value ); | new TestCase( SECTION, "("+testval.description+").booleanValue()", testval.value, javaval.value ); | function CompareValues( javaval, testval ) { // Check booleanValue() testcases[testcases.length] = new TestCase( SECTION, "("+testval.description+").booleanValue()", testval.value, ... |
testcases[testcases.length] = new TestCase( SECTION, "typeof (" + testval.description +")", testval.type, javaval.type ); | new TestCase( SECTION, "typeof (" + testval.description +")", testval.type, javaval.type ); | function CompareValues( javaval, testval ) { // Check booleanValue() testcases[testcases.length] = new TestCase( SECTION, "("+testval.description+").booleanValue()", testval.value, ... |
testcases[testcases.length] = new TestCase( SECTION, "(" + testval.description +").getJSClass()", testval.jsclass, javaval.jsclass ); | new TestCase( SECTION, "(" + testval.description +").getJSClass()", testval.jsclass, javaval.jsclass ); | function CompareValues( javaval, testval ) { // Check booleanValue() testcases[testcases.length] = new TestCase( SECTION, "("+testval.description+").booleanValue()", testval.value, ... |
testcases[testcases.length] = new TestCase( SECTION, "(" + testval.description +").getClass().equals( " + E_JAVACLASS +" )", true, javaval.javaclass.equals( testval.javaclass ) ); | new TestCase( SECTION, "(" + testval.description +").getClass().equals( " + E_JAVACLASS +" )", true, javaval.javaclass.equals( testval.javaclass ) ); | function CompareValues( javaval, testval ) { // Check booleanValue() testcases[testcases.length] = new TestCase( SECTION, "("+testval.description+").booleanValue()", testval.value, ... |
testcases[testcases.length] = new TestCase( SECTION, "("+ testval.description+") + ''", testval.string, javaval.string ); | new TestCase( SECTION, "("+ testval.description+") + ''", testval.string, javaval.string ); | function CompareValues( javaval, testval ) { // Check booleanValue() testcases[testcases.length] = new TestCase( SECTION, "("+testval.description+").booleanValue()", testval.value, ... |
testcases[testcases.length] = new TestCase( SECTION, "typeof (" + testval.description +" )", testval.type, javaval.type ); | new TestCase( SECTION, "typeof (" + testval.description +" )", testval.type, javaval.type ); | function CompareValues( javaval, testval ) { // Check type, which should be E_TYPE testcases[testcases.length] = new TestCase( SECTION, "typeof (" + testval.description +" )", testval.type, ... |
testcases[testcases.length] = new TestCase( SECTION, "(" + testval.description +" ).getJSClass()", testval.jsclass, javaval.jsclass ); | new TestCase( SECTION, "(" + testval.description +" ).getJSClass()", testval.jsclass, javaval.jsclass ); | function CompareValues( javaval, testval ) { // Check type, which should be E_TYPE testcases[testcases.length] = new TestCase( SECTION, "typeof (" + testval.description +" )", testval.type, ... |
testcases[testcases.length] = new TestCase( SECTION, testval.description +".getClass().equals( " + "java.lang.Class.forName( '" + testval.classname + "' ) )", true, javaval.javaclass.equals( testval.javaclass ) ); | new TestCase( SECTION, testval.description +".getClass().equals( " + "java.lang.Class.forName( '" + testval.classname + "' ) )", true, javaval.javaclass.equals( testval.javaclass ) ); | function CompareValues( javaval, testval ) { // Check type, which should be E_TYPE testcases[testcases.length] = new TestCase( SECTION, "typeof (" + testval.description +" )", testval.type, ... |
testcases[testcases.length] = new TestCase( SECTION, testval.description, testval.value, javaval.value ); | new TestCase( SECTION, testval.description, testval.value, javaval.value ); | function CompareValues( javaval, testval ) { // Check value testcases[testcases.length] = new TestCase( SECTION, testval.description, testval.value, javaval.value ); // ... |
testcases[testcases.length] = new TestCase( SECTION, "typeof (" + testval.description +")", testval.type, javaval.type ); | new TestCase( SECTION, "typeof (" + testval.description +")", testval.type, javaval.type ); | function CompareValues( javaval, testval ) { // Check value testcases[testcases.length] = new TestCase( SECTION, testval.description, testval.value, javaval.value ); // ... |
testcases[testcases.length] = new TestCase( SECTION, "("+ testval.description +").length", testval.value, javaval.length ); | new TestCase( SECTION, "("+ testval.description +").length", testval.value, javaval.length ); | function CompareValues( javaval, testval ) { // Check length testcases[testcases.length] = new TestCase( SECTION, "("+ testval.description +").length", testval.value, javav... |
testcases[testcases.length] = new TestCase( | new TestCase( | function CompareValues( t ) { testcases[testcases.length] = new TestCase( SECTION, t.converter +"("+ t.description +")", t.expect, t.actual ); testcases[testcases.length] = new TestCase( SECTION, "typeof (" + t.converter +"( "+ t.description +" ) )", t.type, ... |
testcases[testcases.length] = new TestCase( SECTION, "typeof (" + testval.description +" )", testval.type, javaval.type ); | new TestCase( SECTION, "typeof (" + testval.description +" )", testval.type, javaval.type ); | function CompareValues( javaval, testval ) { // Check type, which should be E_TYPE testcases[testcases.length] = new TestCase( SECTION, "typeof (" + testval.description +" )", testval.type, ... |
testcases[testcases.length] = new TestCase( SECTION, "(" + testval.description +" ).getJSClass()", testval.jsclass, javaval.jsclass ); | new TestCase( SECTION, "(" + testval.description +" ).getJSClass()", testval.jsclass, javaval.jsclass ); | function CompareValues( javaval, testval ) { // Check type, which should be E_TYPE testcases[testcases.length] = new TestCase( SECTION, "typeof (" + testval.description +" )", testval.type, ... |
testcases[testcases.length] = new TestCase( SECTION, testval.description +".getClass().equals( " + "java.lang.Class.forName( '" + testval.classname + "' ) )", true, javaval.javaclass.equals( testval.javaclass ) ); | new TestCase( SECTION, testval.description +".getClass().equals( " + "java.lang.Class.forName( '" + testval.classname + "' ) )", true, javaval.javaclass.equals( testval.javaclass ) ); | function CompareValues( javaval, testval ) { // Check type, which should be E_TYPE testcases[testcases.length] = new TestCase( SECTION, "typeof (" + testval.description +" )", testval.type, ... |
row = awSetInputAndPopupFromArray(row, msgCompFields.SplitRecipients(msgCompFields.GetTo()), "addr_to"); row = awSetInputAndPopupFromArray(row, msgCompFields.SplitRecipients(msgCompFields.GetCc()), "addr_cc"); row = awSetInputAndPopupFromArray(row, msgCompFields.SplitRecipients(msgCompFields.GetBcc()), "addr_bcc"); row... | row = awSetInputAndPopupFromArray(row, msgCompFields.SplitRecipients(msgCompFields.GetTo()), false, "addr_to"); row = awSetInputAndPopupFromArray(row, msgCompFields.SplitRecipients(msgCompFields.GetCc()), false, "addr_cc"); row = awSetInputAndPopupFromArray(row, msgCompFields.SplitRecipients(msgCompFields.GetBcc()), fa... | function CompFields2Recipients(msgCompFields){ if (msgCompFields) { var row = 1; row = awSetInputAndPopupFromArray(row, msgCompFields.SplitRecipients(msgCompFields.GetTo()), "addr_to"); row = awSetInputAndPopupFromArray(row, msgCompFields.SplitRecipients(msgCompFields.GetCc()), "addr_cc"); row = awSetInputAndPopu... |
if (msgCompFields) { var treeChildren = document.getElementById('addressWidgetBody'); var newTreeChildrenNode = treeChildren.cloneNode(false); var templateNode = treeChildren.firstChild; top.MAX_RECIPIENTS = 0; | if (msgCompFields) { var treeChildren = document.getElementById('addressWidgetBody'); var newTreeChildrenNode = treeChildren.cloneNode(false); var templateNode = treeChildren.firstChild; | function CompFields2Recipients(msgCompFields, msgType){ if (msgCompFields) { var treeChildren = document.getElementById('addressWidgetBody'); var newTreeChildrenNode = treeChildren.cloneNode(false); var templateNode = treeChildren.firstChild; top.MAX_RECIPIENTS = 0; awSetInputAndPopupFromArray(msgCompFi... |
awSetInputAndPopupFromArray(msgCompFields.SplitRecipients(msgCompFields.replyTo, false), "addr_reply", newTreeChildrenNode, templateNode); awSetInputAndPopupFromArray(msgCompFields.SplitRecipients(msgCompFields.to, false), "addr_to", newTreeChildrenNode, templateNode); awSetInputAndPopupFromArray(msgCompFields.SplitRec... | top.MAX_RECIPIENTS = 0; awSetInputAndPopupFromArray(msgCompFields.SplitRecipients(msgCompFields.replyTo, false), "addr_reply", newTreeChildrenNode, templateNode); awSetInputAndPopupFromArray(msgCompFields.SplitRecipients(msgCompFields.to, false), "addr_to", newTreeChildrenNode, templateNode); awSetInputAndPopupFromArr... | function CompFields2Recipients(msgCompFields, msgType){ if (msgCompFields) { var treeChildren = document.getElementById('addressWidgetBody'); var newTreeChildrenNode = treeChildren.cloneNode(false); var templateNode = treeChildren.firstChild; top.MAX_RECIPIENTS = 0; awSetInputAndPopupFromArray(msgCompFi... |
if (LastToClose()) NotifyQuitApplication(); | function ComposeCanClose(){ if (gSendOrSaveOperationInProgress) { var result; if (gPromptService) { var promptTitle = sComposeMsgsBundle.getString("quitComposeWindowTitle"); var promptMsg = sComposeMsgsBundle.getString("quitComposeWindowMessage"); var quitButtonLabel = sComposeMsgsBundle.getSt... | |
(promptService.BUTTON_TITLE_CANCEL * promptService.BUTTON_POS_1), gComposeMsgsBundle.getString("saveDlogDontSaveBtn"), | (promptService.BUTTON_TITLE_CANCEL * promptService.BUTTON_POS_1) + (promptService.BUTTON_TITLE_DONT_SAVE * promptService.BUTTON_POS_2), null, null, null, | function ComposeCanClose(){ if (sendOrSaveOperationInProgress) { if (promptService) { var promptTitle = gComposeMsgsBundle.getString("quitComposeWindowTitle"); var promptMsg = gComposeMsgsBundle.getString("quitComposeWindowMessage"); if (promptService.confirm(window, promptTitle, prompt... |
if (promptService) | if (gPromptService) | function ComposeCanClose(){ if (sendOrSaveOperationInProgress) { if (promptService) { var promptTitle = gComposeMsgsBundle.getString("quitComposeWindowTitle"); var promptMsg = gComposeMsgsBundle.getString("quitComposeWindowMessage"); if (promptService.confirm(window, promptTitle, prompt... |
if (promptService.confirm(window, promptTitle, promptMsg)) | if (gPromptService.confirm(window, promptTitle, promptMsg)) | function ComposeCanClose(){ if (sendOrSaveOperationInProgress) { if (promptService) { var promptTitle = gComposeMsgsBundle.getString("quitComposeWindowTitle"); var promptMsg = gComposeMsgsBundle.getString("quitComposeWindowMessage"); if (promptService.confirm(window, promptTitle, prompt... |
promptService.confirmEx(window, | gPromptService.confirmEx(window, | function ComposeCanClose(){ if (sendOrSaveOperationInProgress) { if (promptService) { var promptTitle = gComposeMsgsBundle.getString("quitComposeWindowTitle"); var promptMsg = gComposeMsgsBundle.getString("quitComposeWindowMessage"); if (promptService.confirm(window, promptTitle, prompt... |
(promptService.BUTTON_TITLE_SAVE * promptService.BUTTON_POS_0) + (promptService.BUTTON_TITLE_CANCEL * promptService.BUTTON_POS_1) + (promptService.BUTTON_TITLE_DONT_SAVE * promptService.BUTTON_POS_2), | (gPromptService.BUTTON_TITLE_SAVE * gPromptService.BUTTON_POS_0) + (gPromptService.BUTTON_TITLE_CANCEL * gPromptService.BUTTON_POS_1) + (gPromptService.BUTTON_TITLE_DONT_SAVE * gPromptService.BUTTON_POS_2), | function ComposeCanClose(){ if (sendOrSaveOperationInProgress) { if (promptService) { var promptTitle = gComposeMsgsBundle.getString("quitComposeWindowTitle"); var promptMsg = gComposeMsgsBundle.getString("quitComposeWindowMessage"); if (promptService.confirm(window, promptTitle, prompt... |
SetComposeWindowTitle(13); | function ComposeFieldsReady(msgType){ //If we are in plain text, we need to set the wrap column if (! msgCompose.composeHTML) { try { window.editorShell.wrapColumn = msgCompose.wrapLength; } catch (e) { dump("### window.editorShell.wrapColumn exception text: " + e + " - failed\n"); } } CompFie... | |
if (! msgCompose.composeHTML) try { window.editorShell.wrapColumn = msgCompose.wrapLength; } catch (e) { dump("### window.editorShell.wrapColumn exception text: " + e + " - failed\n"); } CompFields2Recipients(msgCompose.compFields, msgCompose.type); setupLdapAutocompleteSession(); SetComposeWindowTitle(13); AdjustFocu... | if (! msgCompose.composeHTML) { try { window.editorShell.wrapColumn = msgCompose.wrapLength; } catch (e) { dump("### window.editorShell.wrapColumn exception text: " + e + " - failed\n"); } } CompFields2Recipients(msgCompose.compFields, msgCompose.type); AdjustFocus(); | function ComposeFieldsReady(msgType){ //If we are in plain text, we nee to set the wrap column if (! msgCompose.composeHTML) try { window.editorShell.wrapColumn = msgCompose.wrapLength; } catch (e) { dump("### window.editorShell.wrapColumn exception text: " + e + " - failed\n"); } CompFiel... |
if (gMsgCompose.composeHTML) setTimeout("loadHTMLMsgPrefs();", 0); | function ComposeFieldsReady(msgType){ //If we are in plain text, we need to set the wrap column if (! gMsgCompose.composeHTML) { try { gMsgCompose.editor.QueryInterface(nsIPlaintextEditorMail).wrapWidth = gMsgCompose.wrapLength; } catch (e) { dump("### textEditor.wrapWidth exception text: ... | |
if (DEBUG && msgComposeService) | if (gLogComposePerformance) | function ComposeLoad(){ AddMessageComposeOfflineObserver(); AddDirectoryServerObserver(true); if (DEBUG && msgComposeService) msgComposeService.TimeStamp("Start Initializing the compose window (ComposeLoad)", false); gComposeMsgsBundle = document.getElementById("bundle_composeMsgs"); try { SetupCommandUpdate... |
if (msgComposeService) | if (DEBUG && msgComposeService) | function ComposeLoad(){ AddMessageComposeOfflineObserver(); AddDirectoryServerObserver(true); if (msgComposeService) msgComposeService.TimeStamp("Start Initializing the compose window (ComposeLoad)", false); gComposeMsgsBundle = document.getElementById("bundle_composeMsgs"); try { SetupCommandUpdateHandlers(... |
dump("###ERROR WHILE LOADING MESSAGE COMPOSE: " + ex + "\n"); | function ComposeLoad(){ AddMessageComposeOfflineObserver(); AddDirectoryServerObserver(true); if (msgComposeService) msgComposeService.TimeStamp("Start Initializing the compose window (ComposeLoad)", false); gComposeMsgsBundle = document.getElementById("bundle_composeMsgs"); try { SetupCommandUpdateHandlers(... | |
if (promptService) promptService.alert(window, errorTitle, errorMsg); | if (!gPromptService) { gPromptService = Components.classes["@mozilla.org/embedcomp/prompt-service;1"].getService(); gPromptService = gPromptService.QueryInterface(Components.interfaces.nsIPromptService); } if (gPromptService) gPromptService.alert(window, errorTitle, errorMsg); | function ComposeLoad(){ AddMessageComposeOfflineObserver(); AddDirectoryServerObserver(true); if (msgComposeService) msgComposeService.TimeStamp("Start Initializing the compose window (ComposeLoad)", false); gComposeMsgsBundle = document.getElementById("bundle_composeMsgs"); try { SetupCommandUpdateHandlers(... |
window.tryToClose=ComposeCanClose; if (msgComposeService) | window.tryToClose=ComposeCanClose; if (DEBUG && msgComposeService) | function ComposeLoad(){ AddMessageComposeOfflineObserver(); AddDirectoryServerObserver(true); if (msgComposeService) msgComposeService.TimeStamp("Start Initializing the compose window (ComposeLoad)", false); gComposeMsgsBundle = document.getElementById("bundle_composeMsgs"); try { SetupCommandUpdateHandlers(... |
AddMessageComposeOfflineObserver(); | function ComposeLoad(){ if (msgComposeService) msgComposeService.TimeStamp("Start Initializing the compose window (ComposeLoad)", false); gComposeMsgsBundle = document.getElementById("bundle_composeMsgs"); try { SetupCommandUpdateHandlers(); var wizardcallback = true; var state = verifyAccounts(wizardcallb... | |
var errorMsg = gComposeMsgsBundle.getString("initErrorDlogMessage"); errorMsg = errorMsg.replace(/%1\$s/, ex); | var errorMsg = gComposeMsgsBundle.getFormattedString("initErrorDlogMessage", [ex]); | function ComposeLoad(){ if (msgComposeService) msgComposeService.TimeStamp("Start Initializing the compose window (ComposeLoad)", false); gComposeMsgsBundle = document.getElementById("bundle_composeMsgs"); try { SetupCommandUpdateHandlers(); var wizardcallback = true; var state = verifyAccounts(wizardcallb... |
SetupCommandUpdateHandlers(); | function ComposeLoad(){ dump("\nComposeLoad from XUL\n"); verifyAccounts(); // this will do migration, if we need to. var selectNode = document.getElementById('msgRecipientType#1'); if (other_header != "") { var opt = new Option(other_header + ":", "addr_other"); selectNode.add(opt, null); } // See if we got argu... | |
return NewMessageToSelectedAddresses(type, format, identity); | NewMessageToSelectedAddresses(type, format, identity); | function ComposeMessage(type, format, folder, messageArray) { var msgComposeType = Components.interfaces.nsIMsgCompType; var identity = null; var newsgroup = null; var server; //dump("ComposeMessage folder="+folder+"\n"); try { if(folder) { // get the incoming server associated with this uri server = folder.serv... |
msgComposeService.OpenComposeWindow(null, null, type, format, identity, msgWindow); | else msgComposeService.OpenComposeWindow(null, null, type, format, identity, msgWindow); | function ComposeMessage(type, format, folder, messageArray) { var msgComposeType = Components.interfaces.nsIMsgCompType; var identity = null; var newsgroup = null; var server; //dump("ComposeMessage folder="+folder+"\n"); try { if(folder) { // get the incoming server associated with this uri server = folder.serv... |
type == msgComposeType.ReplyToGroup || type == msgComposeType.ReplyToSenderAndGroup || | type == msgComposeType.ReplyToGroup || type == msgComposeType.ReplyToSender || type == msgComposeType.ReplyToSenderAndGroup || | function ComposeMessage(type, format, folder, messageArray) //type is a nsIMsgCompType and format is a nsIMsgCompFormat{ var msgComposeType = Components.interfaces.nsIMsgCompType; var identity = null; var newsgroup = null; var server; dump("ComposeMessage folder="+folder+"\n"); try { if(folder) { // get the incom... |
newsgroup = server.hostName + "/" + folder.name; | newsgroup = folder.folderURL; | function ComposeMessage(type, format, folder, messageArray) { var msgComposeType = Components.interfaces.nsIMsgCompType; var identity = null; var newsgroup = null; var server; //dump("ComposeMessage folder="+folder+"\n"); try { if(folder) { // get the incoming server associated with this uri server = folder.serv... |
server = folder.server; | function ComposeMessage(type, format, folder, messageArray) //type is a nsIMsgCompType and format is a nsIMsgCompFormat{ var msgComposeType = Components.interfaces.nsIMsgCompType; var identity = null; var newsgroup = null; var server; dump("ComposeMessage folder="+folder+"\n"); try { server = folder.server; if(fold... | |
var server = folder.server; | server = folder.server; | function ComposeMessage(type, format, folder, messageArray) //type is a nsIMsgCompType and format is a nsIMsgCompFormat{ var msgComposeType = Components.interfaces.nsIMsgCompType; var identity = null; var newsgroup = null; var server; dump("ComposeMessage folder="+folder+"\n"); try { server = folder.server; if(fold... |
identity = getIdentityForServer(server); | function ComposeMessage(type, format, folder, messageArray) //type is a nsIMsgCompType and format is a nsIMsgCompFormat{ var msgComposeType = Components.interfaces.nsIMsgCompType; var identity = null; var newsgroup = null; var server; dump("ComposeMessage folder="+folder+"\n"); try { server = folder.server; if(fold... | |
} | ComposeProcessDone: function(aResult) { gWindowLocked = false; CommandUpdate_MsgCompose(); enableEditableFields(); if (aResult== Components.results.NS_OK) { SetContentAndBodyAsUnmodified(); if (gCloseWindowAfterSave) MsgComposeCloseWindow(true); } gCloseWindowAfterSave = ... | |
dump("\n RECEIVE ComposeProcessDone\n\n"); windowLocked = false; CommandUpdate_MsgCompose(); | dump("\n RECEIVE ComposeProcessDone\n\n"); windowLocked = false; CommandUpdate_MsgCompose(); enableEditableFields(); | ComposeProcessDone: function(aResult) { dump("\n RECEIVE ComposeProcessDone\n\n"); windowLocked = false; CommandUpdate_MsgCompose(); if (aResult== Components.results.NS_OK) { contentChanged = false; msgCompose.bodyModified = false; } }, |
var pref = Components.classes['@mozilla.org/preferences;1']; | var pref = Components.classes['@mozilla.org/preferences-service;1']; | function ComposerSelectDetector(event){ //dump("Charset Detector menu item pressed: " + event.target.getAttribute('id') + "\n"); var uri = event.target.getAttribute("id"); var prefvalue = uri.substring('chardet.'.length, uri.length); if("off" == prefvalue) { // "off" is special value to turn off the detect... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.