dom/smil/crashtests/608295-1.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/dom/smil/crashtests/608295-1.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,18 @@
     1.4 +<!DOCTYPE html>
     1.5 +<html class="reftest-wait">
     1.6 +<head>
     1.7 +<script>
     1.8 +
     1.9 +function boom()
    1.10 +{
    1.11 +  // NB: <script src> is needed to trigger the bug. I'm being clever by also using it to remove reftest-wait.
    1.12 +  var s = "<script src='data:text/javascript,parent.document.documentElement.className=null;'><\/script><svg>";
    1.13 +  document.getElementById("f").contentDocument.write(s);
    1.14 +}
    1.15 +
    1.16 +</script>
    1.17 +</head>
    1.18 +<body onload="boom();">
    1.19 +<iframe id="f"></iframe>
    1.20 +</body>
    1.21 +</html>

mercurial