2010-06-27  Andreas Kling  <andreas.kling@nokia.com>

        Reviewed by Darin Adler.

        Canvas: Ignore calls to drawImage() with non-finite parameters
        https://bugs.webkit.org/show_bug.cgi?id=38929

        Rebaseline (and unskip for Qt) the now working test.

        Spec link:
        http://www.whatwg.org/specs/web-apps/current-work/#2dcontext

        * canvas/philip/tests/2d.drawImage.nonfinite-expected.txt:
        * platform/qt/Skipped:
2010-06-27  Andreas Kling  <andreas.kling@nokia.com>

        Reviewed by Darin Adler.

        Canvas: Ignore calls to drawImage() with non-finite parameters
        https://bugs.webkit.org/show_bug.cgi?id=38929

        This also fixes a Qt assert when using the raster graphics system.

        Spec link:
        http://www.whatwg.org/specs/web-apps/current-work/#2dcontext

        * html/canvas/CanvasRenderingContext2D.cpp:
        (WebCore::CanvasRenderingContext2D::drawImage):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@61970 268f45cc-cd09-0410-ab3c-d52691b4dbfc
5 files changed