Closed
Bug 52295
Opened 24 years ago
Closed 24 years ago
nsIPrompt methods need to include an error code as an "in" arg.
Categories
(Core Graveyard :: Embedding: APIs, defect, P1)
Tracking
(Not tracked)
VERIFIED
INVALID
M18
People
(Reporter: jud, Assigned: jud)
Details
(Keywords: arch, embed)
We need to supply error codes (nsresults) to nsIPrompt implementations so they can interrigate the error condition without having to parse the error message string. Current callers of nsIPrompt interfaces will simply float the error that caused them to use nsIPrompt, into the new methods.
Assignee | ||
Updated•24 years ago
|
Comment 1•24 years ago
|
||
1. DNS failure (webshell,,) 2. Connection refused (webshell,,) 3. Connection timeout (webshell,,) 4. secure page transition (psm,,) 5. repost data (docshell,,) 6. cookies (cookie module, universal dialog,) 7. wallet (wallet module, universal dialog,) 8. JS eval (caps module, universal dialog,) 9. unknown protocol (docshell,,) 10. FTP/HTTP username and password gathering for auth (FTP and HTTP modules, user/password,) 11. DOM. The DOM provides access to a prompter via it's GetPrompter() method (.prompter in JS, alert/confirm) 12. XML parser throws an error when it confronts a poorly formed XML doc. 13. Unknown content type dialog
Comment 2•24 years ago
|
||
Watch out for bug 46859 which we hope to land today or tomorrow. (BTW, I'm not sure what your 13 items mean.)
Assignee | ||
Updated•24 years ago
|
Priority: P3 → P1
Target Milestone: --- → M18
Assignee | ||
Comment 4•24 years ago
|
||
marking as invalid. nsIPrompt is for UI throwing *only*, an error conditions are/shoudl be reflected in nsIWebProgress|Listener.
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → INVALID
Comment 6•24 years ago
|
||
verifying as invalid. nsIPrompt is for UI throwing *only*, an error conditions are/shoudl be reflected in nsIWebProgress|Listener.
Status: RESOLVED → VERIFIED
Updated•5 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•