mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 553102 - Fix mock prompt service. r=ted
This commit is contained in:
parent
6c95fda518
commit
00951c016e
@ -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;
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user