LayoutTests:
authormjs <mjs@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 27 Feb 2007 07:19:11 +0000 (07:19 +0000)
committermjs <mjs@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 27 Feb 2007 07:19:11 +0000 (07:19 +0000)
commitf89c4f87baf8696de69aead33c8ca36c0dc2dde4
tree87d9d207b9d67d585723de5c235b24c68cd3ea15
parentf708d425dbc3eee97e32dd2be25983ce25709f25
LayoutTests:

        Reviewed by Oliver.

        - test cases for <rdar://problem/4946881> Recursive loop with <marker> not caught, crashes in WebCore::SVGPaintServer::draw (11244)
        http://bugs.webkit.org/show_bug.cgi?id=11244

        * svg/custom/circular-marker-reference-1-expected.checksum: Added.
        * svg/custom/circular-marker-reference-1-expected.png: Added.
        * svg/custom/circular-marker-reference-1-expected.txt: Added.
        * svg/custom/circular-marker-reference-1.svg: Added.
        * svg/custom/circular-marker-reference-2-expected.checksum: Added.
        * svg/custom/circular-marker-reference-2-expected.png: Added.
        * svg/custom/circular-marker-reference-2-expected.txt: Added.
        * svg/custom/circular-marker-reference-2.svg: Added.
        * svg/custom/circular-marker-reference-3-expected.checksum: Added.
        * svg/custom/circular-marker-reference-3-expected.png: Added.
        * svg/custom/circular-marker-reference-3-expected.txt: Added.
        * svg/custom/circular-marker-reference-3.svg: Added.
        * svg/custom/circular-marker-reference-4-expected.checksum: Added.
        * svg/custom/circular-marker-reference-4-expected.png: Added.
        * svg/custom/circular-marker-reference-4-expected.txt: Added.
        * svg/custom/circular-marker-reference-4.svg: Added.
        * svg/custom/non-circular-marker-reference-expected.checksum: Added.
        * svg/custom/non-circular-marker-reference-expected.png: Added.
        * svg/custom/non-circular-marker-reference-expected.txt: Added.
        * svg/custom/non-circular-marker-reference.svg: Added.

WebCore:

        Reviewed by Oliver.

        - fixed <rdar://problem/4946881> Recursive loop with <marker> not caught, crashes in WebCore::SVGPaintServer::draw (11244)
        http://bugs.webkit.org/show_bug.cgi?id=11244

        * platform/graphics/svg/SVGResourceMarker.cpp:
        (WebCore::SVGResourceMarker::draw): Use a HashSet to guard against
        reference cycles.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@19878 268f45cc-cd09-0410-ab3c-d52691b4dbfc
23 files changed:
LayoutTests/ChangeLog
LayoutTests/svg/custom/circular-marker-reference-1-expected.checksum [new file with mode: 0644]
LayoutTests/svg/custom/circular-marker-reference-1-expected.png [new file with mode: 0644]
LayoutTests/svg/custom/circular-marker-reference-1-expected.txt [new file with mode: 0644]
LayoutTests/svg/custom/circular-marker-reference-1.svg [new file with mode: 0644]
LayoutTests/svg/custom/circular-marker-reference-2-expected.checksum [new file with mode: 0644]
LayoutTests/svg/custom/circular-marker-reference-2-expected.png [new file with mode: 0644]
LayoutTests/svg/custom/circular-marker-reference-2-expected.txt [new file with mode: 0644]
LayoutTests/svg/custom/circular-marker-reference-2.svg [new file with mode: 0644]
LayoutTests/svg/custom/circular-marker-reference-3-expected.checksum [new file with mode: 0644]
LayoutTests/svg/custom/circular-marker-reference-3-expected.png [new file with mode: 0644]
LayoutTests/svg/custom/circular-marker-reference-3-expected.txt [new file with mode: 0644]
LayoutTests/svg/custom/circular-marker-reference-3.svg [new file with mode: 0644]
LayoutTests/svg/custom/circular-marker-reference-4-expected.checksum [new file with mode: 0644]
LayoutTests/svg/custom/circular-marker-reference-4-expected.png [new file with mode: 0644]
LayoutTests/svg/custom/circular-marker-reference-4-expected.txt [new file with mode: 0644]
LayoutTests/svg/custom/circular-marker-reference-4.svg [new file with mode: 0644]
LayoutTests/svg/custom/non-circular-marker-reference-expected.checksum [new file with mode: 0644]
LayoutTests/svg/custom/non-circular-marker-reference-expected.png [new file with mode: 0644]
LayoutTests/svg/custom/non-circular-marker-reference-expected.txt [new file with mode: 0644]
LayoutTests/svg/custom/non-circular-marker-reference.svg [new file with mode: 0644]
WebCore/ChangeLog
WebCore/platform/graphics/svg/SVGResourceMarker.cpp