Closed
Bug 1103418
Opened 10 years ago
Closed 10 years ago
Use Object.assign instead of copySharedBaseToPrototype
Categories
(Chat Core :: IRC, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
1.6
People
(Reporter: aleth, Assigned: aleth)
Details
Attachments
(1 file)
2.64 KB,
patch
|
clokep
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Comment 1•10 years ago
|
||
Attachment #8527235 -
Flags: review?(clokep)
Comment 2•10 years ago
|
||
Why? Also, are you sure this really does the same thing?
Assignee | ||
Comment 3•10 years ago
|
||
(In reply to Florian Quèze [:florian] [:flo] from comment #2) > Why? One less custom helper function needed? > Also, are you sure this really does the same thing? There is a polyfill on https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/assign. There would be edge case differences if GenericIRCConversation didn't just have standard own properties. Btw, I'm not wedded to this, but I thought a patch was a quick way to discuss it ;)
Comment 4•10 years ago
|
||
Bah, ignore me, I'm tired. I looked at the patch quickly and thought you were removing some of the prototype hackery I did a long time ago in imThemes.jsm.
Comment 5•10 years ago
|
||
Comment on attachment 8527235 [details] [diff] [review] objectassign.diff Review of attachment 8527235 [details] [diff] [review]: ----------------------------------------------------------------- Assuming you've tested this, that change looks like a nice simplification.
Attachment #8527235 -
Flags: review?(clokep) → review+
Assignee | ||
Updated•10 years ago
|
Keywords: checkin-needed
Comment 6•10 years ago
|
||
https://hg.mozilla.org/comm-central/rev/287344335622
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → 1.6
You need to log in
before you can comment on or make changes to this bug.
Description
•