I have an embedding problem. I have implemented AsyncPromptAuth of nsIPromptService2. It works fine, if nsLoginManagerPrompter.js has been deleted. Authentication prompt handling is asynchronous and everything works fine. But I also need the functionality provided by nsLoginManagerPrompter.js. And when nsLoginManagerPrompter.js is enabled, my async authentication prommpt handling is never called. Instead it looks like nsLoginManagerPrompter.js calls the synchronous PromptAuth or my component which is definitely something I don't want. I want to get rid of the synchronous PromptAuth completely.
The synchronous PromptAuth seems to get called from here in nsLoginManagerPrompter.js:
var runnable = {
run : function() {
... ok = prompt.prompter.promptAuth(prompt.channel, prompt.level, prompt.authInfo);
Is my problem related to this bug, is my problem something else or am I doing something wrong?
Somehow it seems strange that the the prompt situation handling of nsLoginManagerPrompter.js should launch the actual prompt and in the case of asynchronous prompt it would launch a synchronous prompt.
I have an embedding problem. I have implemented AsyncPromptAuth of nsIPromptService2. It works fine, if nsLoginManagerP rompter. js has been deleted. Authentication prompt handling is asynchronous and everything works fine. But I also need the functionality provided by nsLoginManagerP rompter. js. And when nsLoginManagerP rompter. js is enabled, my async authentication prommpt handling is never called. Instead it looks like nsLoginManagerP rompter. js calls the synchronous PromptAuth or my component which is definitely something I don't want. I want to get rid of the synchronous PromptAuth completely.
The synchronous PromptAuth seems to get called from here in nsLoginManagerP rompter. js:
var runnable = {
ok = prompt. prompter. promptAuth( prompt. channel,
prompt. level,
prompt. authInfo) ;
run : function() {
...
Is my problem related to this bug, is my problem something else or am I doing something wrong?
Somehow it seems strange that the the prompt situation handling of nsLoginManagerP rompter. js should launch the actual prompt and in the case of asynchronous prompt it would launch a synchronous prompt.