1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/dom/smil/crashtests/608549-1.svg Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,29 @@ 1.4 +<?xml version="1.0"?> 1.5 +<svg xmlns="http://www.w3.org/2000/svg" class="reftest-wait"> 1.6 +<script> 1.7 +<![CDATA[ 1.8 + 1.9 +function boom() 1.10 +{ 1.11 + try { 1.12 + document.getElementById("set").beginElementAt(NaN); 1.13 + return; 1.14 + } catch (e) {} 1.15 + try { 1.16 + document.getElementById("set").endElementAt(NaN); 1.17 + return; 1.18 + } catch (e) {} 1.19 + 1.20 + // If we got here we threw both exceptions and skipped both early-returns, as 1.21 + // expected. 1.22 + document.documentElement.removeAttribute("class"); 1.23 +} 1.24 + 1.25 +window.addEventListener("load", boom, false); 1.26 + 1.27 +]]> 1.28 +</script> 1.29 + 1.30 +<set id="set" attributeName="fill" to="green" begin="indefinite"/> 1.31 + 1.32 +</svg>