mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-06 07:17:30 +09:00
import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo
This commit is contained in:
commit
dcd9973243
150858 changed files with 23884658 additions and 0 deletions
26
dom/media/mediasource/test/crashtests/926665.html
Normal file
26
dom/media/mediasource/test/crashtests/926665.html
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<script style="display: none;" id="fuzz1" type="text/javascript;version=1.7">
|
||||
|
||||
function boom()
|
||||
{
|
||||
var mediaSource = new window.MediaSource();
|
||||
var mediaSourceURL = URL.createObjectURL(mediaSource);
|
||||
var v1 = document.createElement('video');
|
||||
v1.src = mediaSourceURL;
|
||||
mediaSource.addEventListener("sourceopen", function (e) {
|
||||
var v2 = document.createElement('video');
|
||||
v2.src = mediaSourceURL;
|
||||
setTimeout(function () {
|
||||
v2.src = "data:text/plain,1";
|
||||
v1.src = "data:text/plain,2";
|
||||
}, 0);
|
||||
});
|
||||
}
|
||||
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body onload="boom();"></body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue