Fri, 16 Jan 2015 04:50:19 +0100
Replace accessor implementation with direct member state manipulation, by
request https://trac.torproject.org/projects/tor/ticket/9701#comment:32
michael@0 | 1 | <html> |
michael@0 | 2 | <head> |
michael@0 | 3 | <meta charset="UTF-8"> |
michael@0 | 4 | <script style="display: none;" id="fuzz1" type="text/javascript;version=1.7"> |
michael@0 | 5 | |
michael@0 | 6 | function boom() |
michael@0 | 7 | { |
michael@0 | 8 | var mediaSource = new window.MediaSource(); |
michael@0 | 9 | var mediaSourceURL = URL.createObjectURL(mediaSource); |
michael@0 | 10 | var v1 = document.createElement('video'); |
michael@0 | 11 | v1.src = mediaSourceURL; |
michael@0 | 12 | mediaSource.addEventListener("sourceopen", function (e) { |
michael@0 | 13 | var v2 = document.createElement('video'); |
michael@0 | 14 | v2.src = mediaSourceURL; |
michael@0 | 15 | setTimeout(function () { |
michael@0 | 16 | v2.src = "data:text/plain,1"; |
michael@0 | 17 | v1.src = "data:text/plain,2"; |
michael@0 | 18 | }, 0); |
michael@0 | 19 | }); |
michael@0 | 20 | } |
michael@0 | 21 | |
michael@0 | 22 | </script> |
michael@0 | 23 | </head> |
michael@0 | 24 | |
michael@0 | 25 | <body onload="boom();"></body> |
michael@0 | 26 | </html> |