content/media/test/crashtests/926665.html

Fri, 16 Jan 2015 04:50:19 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 16 Jan 2015 04:50:19 +0100
branch
TOR_BUG_9701
changeset 13
44a2da4a2ab2
permissions
-rw-r--r--

Replace accessor implementation with direct member state manipulation, by
request https://trac.torproject.org/projects/tor/ticket/9701#comment:32

     1 <html>
     2 <head>
     3 <meta charset="UTF-8">
     4 <script style="display: none;" id="fuzz1" type="text/javascript;version=1.7">
     6 function boom()
     7 {
     8     var mediaSource = new window.MediaSource();
     9     var mediaSourceURL = URL.createObjectURL(mediaSource);
    10     var v1 = document.createElement('video');
    11     v1.src = mediaSourceURL;
    12     mediaSource.addEventListener("sourceopen", function (e) {
    13         var v2 = document.createElement('video');
    14         v2.src = mediaSourceURL;
    15         setTimeout(function () {
    16             v2.src = "data:text/plain,1";
    17             v1.src = "data:text/plain,2";
    18         }, 0);
    19     });
    20 }
    22 </script>
    23 </head>
    25 <body onload="boom();"></body>
    26 </html>

mercurial