Closed
Bug 449168
Opened 16 years ago
Closed 16 years ago
[FIX]HasSelectionOverflowingDecorations leaks selection details
Categories
(Core :: Layout: Text and Fonts, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: bzbarsky, Assigned: bzbarsky)
References
Details
(Keywords: memory-leak)
Attachments
(1 file)
3.04 KB,
patch
|
masayuki
:
review+
roc
:
superreview+
|
Details | Diff | Splinter Review |
The return value of GetSelectionDetails needs to be deleted, and in this case it's not.
Patch coming up. Still looking for a good way to test it. Masayuki, do you think you can write a test that will exercise this loop?
Flags: in-testsuite?
Attachment #332307 -
Flags: superreview?(roc)
Attachment #332307 -
Flags: review?(masayuki)
Attachment #332307 -
Flags: superreview?(roc) → superreview+
Comment 1•16 years ago
|
||
Comment on attachment 332307 [details] [diff] [review]
Fix
Thank you, but I hope there is auto release way...
And I have no idea for testing this.
Attachment #332307 -
Flags: review?(masayuki) → review+
Assignee | ||
Comment 2•16 years ago
|
||
Well.. why was this code added? When is it ever exercised?
Comment 3•16 years ago
|
||
(In reply to comment #2)
> Well.. why was this code added? When is it ever exercised?
Some IME selection has overflowed underline, e.g., on Mac, the selections have thick underline in default settings. Therefore, the loop is only used on Mac when IME is composing. (Of course, IME selection style is changed by prefs, you can run the loop on other platforms too.)
Assignee | ||
Comment 4•16 years ago
|
||
Hmm. I'm on Mac! Is there a way to trigger IME programmatically?
Comment 5•16 years ago
|
||
I'm not sure. We don't have any IME automated tests.
Assignee | ||
Comment 6•16 years ago
|
||
Pushed changeset b5295239bdba.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Comment 7•16 years ago
|
||
Backed out as part of the investigation into bug 450401
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment 8•16 years ago
|
||
Relanded.
Status: REOPENED → RESOLVED
Closed: 16 years ago → 16 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•