Closed
Bug 75996
Opened 23 years ago
Closed 23 years ago
confirmCheck method of nsIPrompt interface doesnot work properly under certain condition.
Categories
(Core Graveyard :: Embedding: APIs, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
mozilla0.9.1
People
(Reporter: dsirnapalli, Assigned: ccarlen)
Details
Attachments
(1 file)
662 bytes,
patch
|
Details | Diff | Splinter Review |
i used the below snippet of code in my javascript testcase. var checkbox = {value:0}; var boo = promptObj.confirmCheck("confirmcheck dialog", "Do you want to continue", "check or uncheck",checkbox); alert("Checkbox checked: " + checkbox.value); alert("Confirmation accepted: " + boo); when the confirm dialog came up i selected checkbox checked and pressed cancel. the above alert Checkbox checked was showing true(should be false since you canceled).
Reporter | ||
Comment 1•23 years ago
|
||
-- Reassigned as per jud's suggestion.
Assignee: pchen → ccarlen
Component: XP Apps → Embedding APIs
Assignee | ||
Comment 2•23 years ago
|
||
True. If the dialog is canceled, nothing should happen with the check value.
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla0.9.1
Assignee | ||
Comment 3•23 years ago
|
||
Only if I get my inbox cleaned out and/or notice the request. Sorry for the delay. Sure, r=me. (PS -- the idl says the checkbox parameter in confirmCheck is "out", but the code treats it as "inout". Might want to update that as you did for confirmEx. Someday.)
Assignee | ||
Comment 6•23 years ago
|
||
> the idl says the checkbox parameter in confirmCheck is "out" It should be inout. That was bug 75993 which is checked in. CC'ing Alec for sr.
Comment 7•23 years ago
|
||
easy enough! sr=alecf
Assignee | ||
Comment 8•23 years ago
|
||
Fix checked in.
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Whiteboard: review
Reporter | ||
Comment 9•23 years ago
|
||
-- working as expected. marking bug as verified.
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
•