Closed Bug 630029 Opened 13 years ago Closed 13 years ago

Throw INDEX_SIZE_ERR instead of SYNTAX_ERR when calling CanvasGradient.addColorStop with non-finite values

Categories

(Core :: Graphics: Canvas2D, defect)

defect
Not set
trivial

Tracking

()

RESOLVED FIXED
mozilla5

People

(Reporter: Ms2ger, Assigned: Ms2ger)

References

()

Details

(Keywords: dev-doc-complete, html5)

Attachments

(2 files)

Attached patch Patch v1Splinter Review
      No description provided.
Flags: in-testsuite+
Attachment #508247 - Flags: review?(vladimir)
Whiteboard: [needs review]
Attachment #508247 - Flags: review?(vladimir) → review?(jonas)
Keywords: checkin-needed
Whiteboard: [needs review]
Pushed: http://hg.mozilla.org/mozilla-central/rev/06be56cbd4f0
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Keywords: checkin-needed
Target Milestone: --- → mozilla2.2
Added a note here:

https://developer.mozilla.org/en/DOM/CanvasGradient

And mentioned on Firefox 5 for developers.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: