Created attachment 594913 [details] ssl_cert_sample.txt User Agent: Mozilla/5.0 (Windows NT 5.1) AppleWebKit/535.7 (KHTML, like Gecko) Chrome/16.0.912.75 Safari/535.7 Steps to reproduce: 1)Build an add-on which calls importPKCS12File" method of a instance of "@mozilla.org/security/x509certdb" for SSL certificate like attachment file ssl_cert_sample.txt 2)The password is required for the client certificate on "Security Device: Software Security Device" screen. 3)Touch any part of the screen at least once except the software keyboard. Actual results: Touch the text box field to get the focus on it, but failed... Expected results: Text box was focused and I can input password from keyboard.
Do you happen to have a sample add-on *.xpi you can attach to this as a testcase?
(In reply to Aaron Train [:aaronmt] from comment #1) > Do you happen to have a sample add-on *.xpi you can attach to this as a > testcase? I added a new attachment "key_install_sample.xpi". This is sample addon to install dummy key file. After installing this addon,you can see the new menu item "Key Install". Touch that item, screen described "Security Device: Software Security Device" will be displayed. Please check it.
I can reproduce this, there is this method called "importPKCS12File", that eventually calls this code: http://mxr.mozilla.org/mozilla-central/source/security/manager/pki/src/nsNSSDialogs.cpp#437 which uses openDialog with url chrome://pippki/content/getp12password.xul I don't think it's a good idea to open xul documents from C code (that file seems actually filled with it). That said, the problem seems to be in the openDialog method, which seems to screw things up considerably in Fennec Native (and would probably also in XUL Fennec). The not being able to focus the textbox manually, is just one of them. That xul document seems to 'bleed' through every tab that is opened. Mark, do you know what needs to be done here? There seem to be several things going wrong here.
I just filed bug 725496, where a similar effect can be achieved with window.find().
Confirmed based on comment 5. Gerv
Status: UNCONFIRMED → NEW
Ever confirmed: true
You need to log in before you can comment on or make changes to this bug.