content/media/test/crashtests/926665.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/content/media/test/crashtests/926665.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,26 @@
     1.4 +<html>
     1.5 +<head>
     1.6 +<meta charset="UTF-8">
     1.7 +<script style="display: none;" id="fuzz1" type="text/javascript;version=1.7">
     1.8 +
     1.9 +function boom()
    1.10 +{
    1.11 +    var mediaSource = new window.MediaSource();
    1.12 +    var mediaSourceURL = URL.createObjectURL(mediaSource);
    1.13 +    var v1 = document.createElement('video');
    1.14 +    v1.src = mediaSourceURL;
    1.15 +    mediaSource.addEventListener("sourceopen", function (e) {
    1.16 +        var v2 = document.createElement('video');
    1.17 +        v2.src = mediaSourceURL;
    1.18 +        setTimeout(function () {
    1.19 +            v2.src = "data:text/plain,1";
    1.20 +            v1.src = "data:text/plain,2";
    1.21 +        }, 0);
    1.22 +    });
    1.23 +}
    1.24 +
    1.25 +</script>
    1.26 +</head>
    1.27 +
    1.28 +<body onload="boom();"></body>
    1.29 +</html>

mercurial