Closed
Bug 158608
Opened 23 years ago
Closed 23 years ago
replace the hardcode of "@mozilla.org/embedcomp/dialogparam;1" with NS_DIALOGPARAMBLOCK_CONTRACTID
Categories
(Core Graveyard :: Embedding: APIs, defect)
Core Graveyard
Embedding: APIs
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: Henry.Jia, Assigned: antonio.xu)
References
Details
Attachments
(1 file, 1 obsolete file)
|
12.78 KB,
patch
|
antonio.xu
:
review+
antonio.xu
:
superreview+
|
Details | Diff | Splinter Review |
It's not a good idea to refer to NS_DIALOGPARAMBLOCK_CONTRACTID using the
hardcoded "@mozilla.org/embedcomp/dialogparam;1".
First, the code style is not good.
Second, it is more easy to be wrong using the literal than the placehold.
Third, if the literal changed someday, you may need to change it everywhere.
Although this may not be easy to happen.
See also bug 158080
For convenience bug 154047
Assign to Anto for continuous handling
| Assignee | ||
Comment 1•23 years ago
|
||
Henry could you r=? my patch. Thank you.
Comment on attachment 92864 [details] [diff] [review]
V 1.0,please r=? & sr=?
Thx, Anto.
r=henry
Attachment #92864 -
Flags: review+
Comment 3•23 years ago
|
||
Comment on attachment 92864 [details] [diff] [review]
V 1.0,please r=? & sr=?
sr=alecf
actually, while you're there can you remove NS_DIALOGPARAMBLOCK_IID ? its not
used anywhere and its just confusing :)
(no need for an extra patch, sr=alecf already applies)
Attachment #92864 -
Flags: superreview+
| Assignee | ||
Comment 4•23 years ago
|
||
remove NS_DIALOGPARAMBLOCK_IID
Attachment #92864 -
Attachment is obsolete: true
| Assignee | ||
Updated•23 years ago
|
Attachment #95225 -
Flags: superreview+
Attachment #95225 -
Flags: review+
| Assignee | ||
Comment 5•23 years ago
|
||
patch checked into trunk
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Comment 7•23 years ago
|
||
Verified patch checkin against Mozilla 1.2b Mozilla/5.0 (Windows; U; WinNT4.0;
en-US; rv:1.2b) Gecko/20021026 build.
Status: RESOLVED → VERIFIED
Updated•6 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•