Handle putImageData(nonfinite) correctly

RESOLVED FIXED in mozilla10

Status

()

Core
Canvas: 2D
RESOLVED FIXED
6 years ago
6 years ago

People

(Reporter: Ms2ger, Assigned: Ms2ger)

Tracking

(Blocks: 1 bug, {dev-doc-complete})

Trunk
mozilla10
dev-doc-complete
Points:
---
Bug Flags:
in-testsuite +

Firefox Tracking Flags

(Not tracked)

Details

(URL)

Attachments

(1 attachment)

(Assignee)

Description

6 years ago
http://w3c-test.org/html/tests/approved/canvas/2d.imageData.put.nonfinite.html
Flags: in-testsuite+
(Assignee)

Comment 1

6 years ago
Created attachment 564064 [details] [diff] [review]
Patch v1
Attachment #564064 - Flags: review?(bzbarsky)
Comment on attachment 564064 [details] [diff] [review]
Patch v1

r=me
Attachment #564064 - Flags: review?(bzbarsky) → review+
(Assignee)

Comment 3

6 years ago
https://hg.mozilla.org/mozilla-central/rev/d2864f385249
Status: ASSIGNED → RESOLVED
Last Resolved: 6 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.
Keywords: dev-doc-needed → dev-doc-complete
You need to log in before you can comment on or make changes to this bug.