mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
30 lines
595 B
XML
30 lines
595 B
XML
|
<?xml version="1.0"?>
|
||
|
<svg xmlns="http://www.w3.org/2000/svg" class="reftest-wait">
|
||
|
<script>
|
||
|
<![CDATA[
|
||
|
|
||
|
function boom()
|
||
|
{
|
||
|
try {
|
||
|
document.getElementById("set").beginElementAt(NaN);
|
||
|
return;
|
||
|
} catch (e) {}
|
||
|
try {
|
||
|
document.getElementById("set").endElementAt(NaN);
|
||
|
return;
|
||
|
} catch (e) {}
|
||
|
|
||
|
// If we got here we threw both exceptions and skipped both early-returns, as
|
||
|
// expected.
|
||
|
document.documentElement.removeAttribute("class");
|
||
|
}
|
||
|
|
||
|
window.addEventListener("load", boom, false);
|
||
|
|
||
|
]]>
|
||
|
</script>
|
||
|
|
||
|
<set id="set" attributeName="fill" to="green" begin="indefinite"/>
|
||
|
|
||
|
</svg>
|