Closed
Bug 699147
Opened 12 years ago
Closed 12 years ago
Simplify length list parsing
Categories
(Core :: SVG, defect)
Tracking
()
RESOLVED
FIXED
mozilla11
People
(Reporter: longsonr, Assigned: longsonr)
Details
Attachments
(1 file)
2.23 KB,
patch
|
jwatt
:
review+
|
Details | Diff | Splinter Review |
Avoid changing from utf16 to utf8 and back again.
Assignee | ||
Updated•12 years ago
|
Attachment #571374 -
Attachment is patch: true
Attachment #571374 -
Flags: review?(jwatt)
![]() |
||
Comment 1•12 years ago
|
||
Comment on attachment 571374 [details] [diff] [review] patch Change this line: >+ temp.AppendItem(length); to: >- if (!temp.AppendItem(length)) { >- return NS_ERROR_OUT_OF_MEMORY; >- } since AppendItem is allocation fallible, and r=jwatt.
Attachment #571374 -
Flags: review?(jwatt) → review+
Assignee | ||
Comment 2•12 years ago
|
||
I'll change the SVGNumberList parsing to return NS_ERROR_OUT_OF_MEMORY for appendItem then.
![]() |
||
Comment 3•12 years ago
|
||
perfect, thanks!
Assignee | ||
Updated•12 years ago
|
Assignee: nobody → longsonr
Assignee | ||
Comment 4•12 years ago
|
||
pushed https://hg.mozilla.org/integration/mozilla-inbound/rev/c4c529e9a2d3
Flags: in-testsuite-
Target Milestone: --- → mozilla11
Comment 5•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/c4c529e9a2d3
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•