Bug 553102 - Fix mock prompt service. r=ted

This commit is contained in:
Bobby Holley 2012-05-24 13:04:57 +02:00
parent 6c95fda518
commit 00951c016e

View File

@ -80,7 +80,7 @@ function registerMockPromptService()
checkState: aCheckState
};
aCheckState.value = true;
SpecialPowers.wrap(aCheckState).value = true;
},
confirm: function(aDialogTitle, aText)
@ -106,7 +106,7 @@ function registerMockPromptService()
checkState: aCheckState
};
aCheckState.value = true;
SpecialPowers.wrap(aCheckState).value = true;
return true;
},
@ -125,7 +125,7 @@ function registerMockPromptService()
};
if (aCheckMsg != null)
aCheckState.value = true;
SpecialPowers.wrap(aCheckState).value = true;
return 0;
},
@ -143,7 +143,7 @@ function registerMockPromptService()
};
if (aCheckMsg != null)
aCheckState.value = true;
SpecialPowers.wrap(aCheckState).value = true;
return true;
},