Closed
Bug 1057914
Opened 10 years ago
Closed 10 years ago
Remove enumeration methods from nsICommandParams
Categories
(Core Graveyard :: Embedding: APIs, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla34
People
(Reporter: n.nethercote, Assigned: n.nethercote)
References
Details
(Keywords: addon-compat)
Attachments
(2 files)
8.80 KB,
patch
|
ehsan.akhgari
:
review+
|
Details | Diff | Splinter Review |
20.55 KB,
patch
|
ehsan.akhgari
:
review+
|
Details | Diff | Splinter Review |
The enumeration methods in nsCommandParams are really dodgy -- they hold raw pointers into the hash table's entry store and assume that the table doesn't get resized. (I hit other problems in this code in bug 1050036; it doesn't seem to be high-quality code.) I'd like to just remove these methods. Hopefully this is ok. It'll help with bug 1057912.
![]() |
Assignee | |
Comment 1•10 years ago
|
||
Attachment #8478060 -
Flags: review?(ehsan)
![]() |
Assignee | |
Comment 2•10 years ago
|
||
Because I'm tired of my eyes bleeding all over my keyboard every time I look at this file.
Attachment #8478061 -
Flags: review?(ehsan)
Updated•10 years ago
|
Keywords: addon-compat
Updated•10 years ago
|
Attachment #8478060 -
Flags: review?(ehsan) → review+
Comment 3•10 years ago
|
||
Comment on attachment 8478061 [details] [diff] [review] (part 2) - Fix the style of nsCommandParams.{h,cpp} Review of attachment 8478061 [details] [diff] [review]: ----------------------------------------------------------------- I didn't really review this...
Attachment #8478061 -
Flags: review?(ehsan) → review+
![]() |
Assignee | |
Comment 4•10 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/01d9658ee977 https://hg.mozilla.org/integration/mozilla-inbound/rev/b91deae84856
Comment 5•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/01d9658ee977 https://hg.mozilla.org/mozilla-central/rev/b91deae84856
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla34
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
•