Closed Bug 691156 Opened 12 years ago Closed 12 years ago

Handle putImageData(nonfinite) correctly

Categories

(Core :: Graphics: Canvas2D, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla10

People

(Reporter: Ms2ger, Assigned: Ms2ger)

References

()

Details

(Keywords: dev-doc-complete)

Attachments

(1 file)

Attached patch Patch v1Splinter Review
Attachment #564064 - Flags: review?(bzbarsky)
Comment on attachment 564064 [details] [diff] [review]
Patch v1

r=me
Attachment #564064 - Flags: review?(bzbarsky) → review+
https://hg.mozilla.org/mozilla-central/rev/d2864f385249
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Keywords: dev-doc-needed
Resolution: --- → FIXED
Target Milestone: --- → mozilla10
Do I interpret this correctly that non-finite values now work instead of throwing?
Talked to Ms2ger in IRC, got clarified on this. Doc updated here:

https://developer.mozilla.org/en/DOM/CanvasRenderingContext2D#putImageData%28%29

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