nsIPrompt methods need to include an error code as an "in" arg.

VERIFIED INVALID

Status

()

Core
Embedding: APIs
P1
normal
VERIFIED INVALID
18 years ago
17 years ago

People

(Reporter: Judson Valeski, Assigned: Judson Valeski)

Tracking

({arch, embed})

Trunk
x86
Linux
arch, embed
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Assignee)

Description

18 years ago
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

18 years ago
Keywords: arch, embed

Comment 1

18 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

18 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

18 years ago
Priority: P3 → P1
Target Milestone: --- → M18
(Assignee)

Comment 3

18 years ago
I'll grab this one.
Assignee: dougt → valeski
(Assignee)

Comment 4

18 years ago
marking as invalid. nsIPrompt is for UI throwing *only*, an error conditions
are/shoudl be reflected in nsIWebProgress|Listener.
Status: NEW → RESOLVED
Last Resolved: 18 years ago
Resolution: --- → INVALID

Comment 5

18 years ago
Updating QA Contact
QA Contact: jrgm → mdunn

Comment 6

18 years ago
verifying as invalid.
nsIPrompt is for UI throwing *only*, an error conditions
are/shoudl be reflected in nsIWebProgress|Listener.

Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.