Closed Bug 564719 Opened 14 years ago Closed 14 years ago

"ASSERTION: Unknown unit" after setting dx attribute to "\u100B"

Categories

(Core :: SVG, defect)

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: jruderman, Assigned: longsonr)

References

Details

(Keywords: assertion, testcase)

Attachments

(2 files)

Attached image testcase (deleted) —
Loading the testcase triggers this assertion:

###!!! ASSERTION: Unknown unit: 'Not Reached', file content/svg/content/src/nsSVGLength.cpp, line 344

Also, the string returned from getAttribute is "-2.87352e-16".  It's not necessarily a problem that the original string is destroyed (see bug 444380), but other nonparsable strings are maintained, and the strange numeric value returned makes me think there's a type-safety error.

Bug 306131 might be related.
Attached patch patch (deleted) — Splinter Review
Attachment #446945 - Flags: review?(jwatt)
(In reply to comment #0)
> 
> Also, the string returned from getAttribute is "-2.87352e-16".  It's not
> necessarily a problem that the original string is destroyed (see bug 444380),
> but other nonparsable strings are maintained, and the strange numeric value
> returned makes me think there's a type-safety error.

No, just uninitialised variables.
Attachment #446945 - Flags: review?(jwatt) → review+
Assignee: nobody → longsonr
Uninitialized variables are usually a type-safety error...
pushed http://hg.mozilla.org/mozilla-central/rev/cb8e43571769
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: