Closed Bug 87451 Opened 23 years ago Closed 23 years ago

Self-signed certificate dialog disappears on "<Alt>" keypress

Categories

(Core Graveyard :: Security: UI, defect, P2)

Other Branch
x86
All
defect

Tracking

(Not tracked)

VERIFIED FIXED
psm2.1

People

(Reporter: timecop, Assigned: javi)

References

()

Details

Go to the URL in summary, and wait for the certificate dialog to appear. Then
press <Alt> key, which will make the dialog go away.
Pressing it again will cancel the connection to the site.
Seeing this in 20010623 build.
Oops, switching product.
Component: Security: General → Client Library
Product: Browser → PSM
Version: other → unspecified
Oops, wrong product.
Looks like the problem is a typo in
mozilla/security/manager/pki/resources/content/newserver.xul:

Index: security/manager/pki/resources/content/newserver.xul
===================================================================
RCS file: /cvsroot/mozilla/security/manager/pki/resources/content/newserver.xul,v
retrieving revision 1.9
diff -u -r1.9 newserver.xul
--- security/manager/pki/resources/content/newserver.xul        2001/06/22
02:41:05     1.9
+++ security/manager/pki/resources/content/newserver.xul        2001/06/23 20:22:34
@@ -42,7 +42,7 @@
 <keyset id="keys">
   <key id="enter-key"  keycode="VK_ENTER"  oncommand="doOK()"    />
   <key id="return-key" keycode="VK_RETURN" oncommand="doOK()"    />
-  <key id="esc-key"    keycoce="VK_ESCAPE" oncommand="doCancel()"/>
+  <key id="esc-key"    keycode="VK_ESCAPE" oncommand="doCancel()"/>
 </keyset>
 
 <box orient="vertical" style="margin: 5px;" flex="1">

Changing this fixes it.
adding keywords... 
Keywords: patch, review
cc'ing some psm people for review
It's not just newserver.xul.  It also occurs in 
mozilla/security/manager/pki/resources/content/domainMismatch.xul and 
mozilla/security/manager/pki/resources/content/serverCertExpired.xul.

I'd provide the patches myself, but my tree is somewhat different from a bunch 
of XUL changes that are getting carpooled in on Tuesday.

Reassigning to javi per Stephen Walker's comment on IRC and changing OS to ALL.
Assignee: mstoltz → javi
OS: Linux → All
I had someone test this on win32 and the dialog didn't go away, probably because
Win32 doesnt generate a keydown event for modifiers (does it?) The fix was
obviously because of a typo, how exactly are the other .xul files related?
(Other than the fact they dont have keyboard shortcuts?)...
Oh never mind I didn't see all the other files being checked in just a few hours
ago.
Target -> 2.1 unless javi thinks he can get it approved for 2.0.
Priority: -- → P2
Target Milestone: --- → 2.1
javi fixed the typos. marking fixed.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
to junruh
QA Contact: ckritzer → junruh
Verified.
Status: RESOLVED → VERIFIED
Product: PSM → Core
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.