Closed
Bug 1065774
Opened 10 years ago
Closed 10 years ago
Be more precise in PromiseFlatString docs about why assigning PromiseFlatString(...) to a reference is safe
Categories
(Core :: XPCOM, defect)
Core
XPCOM
Tracking
()
RESOLVED
FIXED
mozilla35
People
(Reporter: Waldo, Assigned: Waldo)
Details
Attachments
(1 file)
1.63 KB,
patch
|
froydnj
:
review+
|
Details | Diff | Splinter Review |
I didn't know assigning a tepmorary to a referenc, extended the temporary's lifetime to that of the reference. It would be nice if the in-file comment were more precise about why this is happening, citing chapter/verse for authority.
Assignee | ||
Comment 1•10 years ago
|
||
Attachment #8487611 -
Flags: review?(nfroyd)
Updated•10 years ago
|
Attachment #8487611 -
Flags: review?(nfroyd) → review+
Assignee | ||
Comment 2•10 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/5c03643c3180
Comment 3•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/5c03643c3180
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla35
Updated•10 years ago
|
Flags: qe-verify-
You need to log in
before you can comment on or make changes to this bug.
Description
•