Closed Bug 369245 Opened 18 years ago Closed 7 months ago

Use non-modal sheets for keychain form submit prompts

Categories

(Camino Graveyard :: OS Integration, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: stuart.morgan+bugzilla, Unassigned)

Details

Attachments

(3 files)

We are using the skanky modal sheets for the "do you want to save/update this password" dialogs triggered by form submits, but since Gecko isn't waiting for a return value they should be replaceable with normal sheets.
Note to self: see also nsIAuthPrompt2, and whether we can do async auth for HTTP auth too.
This moves the Store and Update prompts over to NSAlert, giving us: - fewer uses of the skanky modal sheet method - less to maintain in the nib (it's all strings now) - page loading under the sheet, making it possible to wait and see if you had the right password before choosing to save. Unfortunately I couldn't get rid of the nib entirely due to the "this form has changed" sheet, which is trickier. I'll leave this open to consider that and HTTPAuth, but this is the bulk of the win so it should go in now rather than waiting for the rest.
Attachment #277202 - Flags: review?(joshmoz)
The new Localizable.strings file, for testing. It's ripped verbatim from the nib, so nothing interesting there.
Attachment #277202 - Flags: review?(joshmoz) → review+
Attachment #277202 - Flags: superreview?(mikepinkerton)
Comment on attachment 277202 [details] [diff] [review] fix for store and update [landed] rs=pink
Attachment #277202 - Flags: superreview?(mikepinkerton) → superreview+
Comment on attachment 277202 [details] [diff] [review] fix for store and update [landed] Landed on trunk and MOZILLA_1_8_BRANCH; leaving open for remaining work.
Attachment #277202 - Attachment description: fix for store and update → fix for store and update [landed]
Attachment #277203 - Attachment description: corresponding nib → corresponding nib [landed]
Attachment #277204 - Attachment description: corresponding strings → corresponding strings [landed]
Assignee: stuart.morgan+bugzilla → nobody
Status: NEW → RESOLVED
Closed: 7 months ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: