Closed Bug 630029 Opened 9 years ago Closed 9 years ago

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

Categories

(Core :: Canvas: 2D, defect, trivial)

defect
Not set
trivial

Tracking

()

RESOLVED FIXED
mozilla5

People

(Reporter: Ms2ger, Assigned: Ms2ger)

References

(Blocks 1 open bug, )

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: 9 years ago
Resolution: --- → FIXED
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.