Changeset 73926 in webkit


Ignore:
Timestamp:
Dec 13, 2010 10:15:36 AM (13 years ago)
Author:
mihaip@chromium.org
Message:

2010-12-13 Mihai Parparita <mihaip@chromium.org>

Reviewed by Adam Barth.

[Chromium] canvas/philip/tests/2d.missingargs.html hangs on Snow Leopard
https://bugs.webkit.org/show_bug.cgi?id=50841

Add test that calls strokeText() (i.e. with no arguments).

  • fast/canvas/strokeText-missing-args-expected.txt: Added.
  • fast/canvas/strokeText-missing-args.html: Added.

2010-12-13 Mihai Parparita <mihaip@chromium.org>

Reviewed by Adam Barth.

[Chromium] canvas/philip/tests/2d.missingargs.html hangs on Snow Leopard
https://bugs.webkit.org/show_bug.cgi?id=50841

Test: fast/canvas/strokeText-missing-args.html

We didn't have isfinite checks for the x and y coordinates that are
passed to strokeText/drawTextInternal (unlike all the other methods,
which got checks in r50910 and r59447).

  • html/canvas/CanvasRenderingContext2D.cpp: (WebCore::CanvasRenderingContext2D::drawTextInternal):
Location:
trunk
Files:
2 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r73923 r73926  
     12010-12-13  Mihai Parparita  <mihaip@chromium.org>
     2
     3        Reviewed by Adam Barth.
     4
     5        [Chromium] canvas/philip/tests/2d.missingargs.html hangs on Snow Leopard
     6        https://bugs.webkit.org/show_bug.cgi?id=50841
     7       
     8        Add test that calls strokeText() (i.e. with no arguments).
     9
     10        * fast/canvas/strokeText-missing-args-expected.txt: Added.
     11        * fast/canvas/strokeText-missing-args.html: Added.
     12
    1132010-12-13  Benjamin Kalman  <kalman@chromium.org>
    214
  • trunk/WebCore/ChangeLog

    r73925 r73926  
     12010-12-13  Mihai Parparita  <mihaip@chromium.org>
     2
     3        Reviewed by Adam Barth.
     4
     5        [Chromium] canvas/philip/tests/2d.missingargs.html hangs on Snow Leopard
     6        https://bugs.webkit.org/show_bug.cgi?id=50841
     7
     8        Test: fast/canvas/strokeText-missing-args.html
     9       
     10        We didn't have isfinite checks for the x and y coordinates that are
     11        passed to strokeText/drawTextInternal (unlike all the other methods,
     12        which got checks in r50910 and r59447).
     13
     14        * html/canvas/CanvasRenderingContext2D.cpp:
     15        (WebCore::CanvasRenderingContext2D::drawTextInternal):
     16
    1172010-12-09  Matthew Delaney  <mdelaney@apple.com>
    218
  • trunk/WebCore/html/canvas/CanvasRenderingContext2D.cpp

    r73925 r73926  
    17571757    if (!state().m_invertibleCTM)
    17581758        return;
     1759    if (!isfinite(x) | !isfinite(y))
     1760        return;
    17591761
    17601762    const Font& font = accessFont();
Note: See TracChangeset for help on using the changeset viewer.