Closed
Bug 265607
Opened 21 years ago
Closed 20 years ago
logic error in GtkPromptService::Prompt
Categories
(Core Graveyard :: Embedding: GTK Widget, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: chpe, Assigned: chpe)
Details
(Keywords: fixed1.8)
Attachments
(1 file, 1 obsolete file)
1.08 KB,
patch
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.2) Gecko/20040803 Galeon/1.3.17.99
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.2) Gecko/20040803 Galeon/1.3.17.99
GtkPromptService::Prompt
[http://lxr.mozilla.org/seamonkey/source/embedding/browser/gtk/src/GtkPromptService.cpp#184]
:
184 if (aConfirm) {
185 if (*aValue)
186 nsMemory::Free(*aValue);
187 prompter.GetTextValue(aValue);
188 }
It checks aConfirm, but should check *aConfirm for whether to get the value from
the prompter, like ::PromptUsernameAndPassword and ::PromptPassword do. Patch
coming up.
Reproducible: Always
Steps to Reproduce:
Assignee | ||
Comment 1•21 years ago
|
||
Assignee | ||
Updated•21 years ago
|
Attachment #163007 -
Flags: review?(blizzard)
Updated•21 years ago
|
Attachment #163007 -
Flags: review?(blizzard) → review?(marco)
Updated•21 years ago
|
Attachment #163007 -
Flags: review?(marco) → review+
Assignee | ||
Updated•21 years ago
|
Attachment #163007 -
Flags: superreview?(blizzard)
Assignee | ||
Updated•20 years ago
|
Attachment #163007 -
Flags: superreview?(blizzard) → superreview?(roc)
Attachment #163007 -
Flags: superreview?(roc) → superreview+
Assignee | ||
Comment 3•20 years ago
|
||
Comment on attachment 163007 [details] [diff] [review]
fix
A simple, gtk embedding-only fix, no risk.
Attachment #163007 -
Flags: approval1.8b4?
Updated•20 years ago
|
Attachment #163007 -
Flags: approval1.8b4? → approval1.8b4+
Assignee | ||
Comment 4•20 years ago
|
||
Attachment #163007 -
Attachment is obsolete: true
Updated•20 years ago
|
Assignee: mpgritti → chpe
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 5•20 years ago
|
||
trunk:
Checking in embedding/browser/gtk/src/GtkPromptService.cpp;
/cvsroot/mozilla/embedding/browser/gtk/src/GtkPromptService.cpp,v <--
GtkPromptService.cpp
new revision: 1.9; previous revision: 1.8
done
MOZILLA_1_8_BRANCH:
Checking in embedding/browser/gtk/src/GtkPromptService.cpp;
/cvsroot/mozilla/embedding/browser/gtk/src/GtkPromptService.cpp,v <--
GtkPromptService.cpp
new revision: 1.8.2.1; previous revision: 1.8
done
Updated•13 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•