Bug 17173: HTML5 Canvas API requires us to ignore certain operations
authoroliver@apple.com <oliver@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 28 Apr 2008 07:41:28 +0000 (07:41 +0000)
committeroliver@apple.com <oliver@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 28 Apr 2008 07:41:28 +0000 (07:41 +0000)
commit33a4a84e309ed9b9a345a2bef73b18f592ab37d6
tree337e5caa7d769ce4c2ede15a9d3ff1ea16c60015
parentc39189576ca92155cb5cf3b4619182c3b04593c9
Bug 17173: HTML5 Canvas API requires us to ignore certain operations
<https://bugs.webkit.org/show_bug.cgi?id=17173>

Reviewed by Maciej

This fixes the semantics of a number of Canvas functions to match
the new HTML5 non-throwing semantics.

Test: fast/canvas/canvas-path-with-inf-nan-dimensions.html

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@32612 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/canvas/canvas-path-with-inf-nan-dimensions.html [new file with mode: 0644]
LayoutTests/fast/canvas/canvas-with-incorrect-args-expected.txt
LayoutTests/fast/canvas/canvas-with-incorrect-args.html
WebCore/ChangeLog
WebCore/bindings/js/JSCanvasRenderingContext2DCustom.cpp
WebCore/html/CanvasRenderingContext2D.cpp
WebCore/html/CanvasRenderingContext2D.h
WebCore/html/CanvasRenderingContext2D.idl