Last Comment Bug 691156 - Handle putImageData(nonfinite) correctly
: Handle putImageData(nonfinite) correctly
Status: RESOLVED FIXED
: dev-doc-complete
Product: Core
Classification: Components
Component: Canvas: 2D (show other bugs)
: Trunk
: All All
: -- normal (vote)
: mozilla10
Assigned To: :Ms2ger (⌚ UTC+1/+2)
:
: Milan Sreckovic [:milan]
Mentors:
http://www.whatwg.org/html/#dom-conte...
Depends on:
Blocks: 622842
  Show dependency treegraph
 
Reported: 2011-10-02 08:24 PDT by :Ms2ger (⌚ UTC+1/+2)
Modified: 2011-12-09 12:27 PST (History)
1 user (show)
Ms2ger: in‑testsuite+
See Also:
Crash Signature:
(edit)
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Attachments
Patch v1 (32.79 KB, patch)
2011-10-02 11:11 PDT, :Ms2ger (⌚ UTC+1/+2)
bzbarsky: review+
Details | Diff | Splinter Review

Comment 1 :Ms2ger (⌚ UTC+1/+2) 2011-10-02 11:11:23 PDT
Created attachment 564064 [details] [diff] [review]
Patch v1
Comment 2 Boris Zbarsky [:bz] (still a bit busy) 2011-10-02 21:00:47 PDT
Comment on attachment 564064 [details] [diff] [review]
Patch v1

r=me
Comment 3 :Ms2ger (⌚ UTC+1/+2) 2011-10-08 08:09:47 PDT
https://hg.mozilla.org/mozilla-central/rev/d2864f385249
Comment 4 Eric Shepherd [:sheppy] 2011-12-09 09:02:51 PST
Do I interpret this correctly that non-finite values now work instead of throwing?
Comment 5 Eric Shepherd [:sheppy] 2011-12-09 12:27:18 PST
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.

Note You need to log in before you can comment on or make changes to this bug.