svg/repaint/image-with-clip-path.svg is flaky under guard malloc
authorzimmermann@webkit.org <zimmermann@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 27 Jan 2012 11:36:17 +0000 (11:36 +0000)
committerzimmermann@webkit.org <zimmermann@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 27 Jan 2012 11:36:17 +0000 (11:36 +0000)
commitbdf09ce78c6d48e519afda1dfe5eac84815701ec
tree1633f2ef066f9433b6d66d3e6e7c75c6e9a27824
parent3f36c53a03ee53f3b97110032871cd46a1775281
svg/repaint/image-with-clip-path.svg is flaky under guard malloc
https://bugs.webkit.org/show_bug.cgi?id=77103

Reviewed by Zoltan Herczeg.

Fix image-with-clip-path.svg, to wait for the load of the resource, once href changes.
To do this properly, set externalResourcesRequired="true" which fires the onload event
if href changes, even if it was fired before already.

Added another testcase that only covers dynamic href changes, without using other resources.

* platform/mac/svg/repaint/image-href-change-expected.png: Added.
* platform/mac/svg/repaint/image-in-resource-href-change-expected.png: Removed.
* svg/repaint/image-href-change-expected.txt: Added.
* svg/repaint/image-href-change.svg: Added.
* svg/repaint/image-with-clip-path.svg: Fix test flakiness.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@106103 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/platform/mac/svg/repaint/image-href-change-expected.png [new file with mode: 0644]
LayoutTests/svg/repaint/image-href-change-expected.txt [new file with mode: 0644]
LayoutTests/svg/repaint/image-href-change.svg [new file with mode: 0644]
LayoutTests/svg/repaint/image-with-clip-path.svg