Bug 695108: Fix reftest filter-extref-differentOrigin-01.svg to fail reliably when served over HTTP, and flag it as fails-on-Android for that reason. r=bz

This commit is contained in:
Daniel Holbert 2011-10-18 10:51:28 -07:00
parent 732b7981b0
commit 82a89949e3
2 changed files with 9 additions and 1 deletions

View File

@ -4,6 +4,14 @@
-->
<svg xmlns="http://www.w3.org/2000/svg" version="1.1"
xmlns:xlink="http://www.w3.org/1999/xlink">
<!-- In case we actually _can_ access the external resource (e.g. on Android
where reftests are served as http:// instead of file://), we include
this <use> element to be sure the resource loads before onload so that
we'll fail reliably. -->
<use xlink:href="../filters.svg#empty" />
<!-- giant lime rect, to match pass.svg -->
<rect height="100%" width="100%" fill="lime" />
<!-- The filter shouldn't resolve, so this should be transparent: -->

Before

Width:  |  Height:  |  Size: 452 B

After

Width:  |  Height:  |  Size: 809 B

View File

@ -118,7 +118,7 @@ random == dynamic-use-nested-01.svg dynamic-use-nested-01-ref.svg # bug 467498
== filter-basic-03.svg pass.svg
== filter-bounds-01.svg pass.svg
== filter-bounds-02.svg pass.svg
== filter-extref-differentOrigin-01.svg pass.svg
fails-if(Android) == filter-extref-differentOrigin-01.svg pass.svg # Bug 695385
== filter-foreignObject-01.svg pass.svg
== filter-invalidation-01.svg pass.svg
== filter-scaled-01.svg pass.svg