mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-28 11:27:32 +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
27
dom/media/mediasource/test/crashtests/1005366.html
Normal file
27
dom/media/mediasource/test/crashtests/1005366.html
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<script>
|
||||
|
||||
/*
|
||||
user_pref("media.mediasource.enabled", true);
|
||||
*/
|
||||
|
||||
function boom()
|
||||
{
|
||||
var source = new window.MediaSource();
|
||||
var videoElement = document.createElementNS('http://www.w3.org/1999/xhtml', 'video');
|
||||
videoElement.src = URL.createObjectURL(source);
|
||||
|
||||
setTimeout(function() {
|
||||
var buf = source.addSourceBuffer("video/webm");
|
||||
buf.abort();
|
||||
buf.appendBuffer(new Float32Array(203));
|
||||
}, 0);
|
||||
}
|
||||
|
||||
</script>
|
||||
</head>
|
||||
<body onload="boom();"></body>
|
||||
</html>
|
||||
26
dom/media/mediasource/test/crashtests/1059035.html
Normal file
26
dom/media/mediasource/test/crashtests/1059035.html
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<script>
|
||||
|
||||
/*
|
||||
user_pref("media.mediasource.enabled", true);
|
||||
*/
|
||||
|
||||
function boom()
|
||||
{
|
||||
var mediaSource = new MediaSource();
|
||||
var htmlAudio = document.createElement("audio");
|
||||
htmlAudio.src = URL.createObjectURL(mediaSource);
|
||||
|
||||
setTimeout(function() {
|
||||
var sourceBuffer = mediaSource.addSourceBuffer("video/webm");
|
||||
mediaSource.removeSourceBuffer(sourceBuffer);
|
||||
sourceBuffer.remove(0, 0);
|
||||
}, 0);
|
||||
}
|
||||
|
||||
</script>
|
||||
</head>
|
||||
<body onload="boom();"></body>
|
||||
</html>
|
||||
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>
|
||||
17
dom/media/mediasource/test/crashtests/931388.html
Normal file
17
dom/media/mediasource/test/crashtests/931388.html
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<script>
|
||||
|
||||
function boom()
|
||||
{
|
||||
var v = document.createElement('video');
|
||||
v.src = URL.createObjectURL(new MediaSource());
|
||||
v.play();
|
||||
}
|
||||
|
||||
</script>
|
||||
</head>
|
||||
<body onload="boom();"></body>
|
||||
</html>
|
||||
4
dom/media/mediasource/test/crashtests/crashtests.list
Normal file
4
dom/media/mediasource/test/crashtests/crashtests.list
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
test-pref(media.mediasource.enabled,true) load 926665.html
|
||||
test-pref(media.mediasource.enabled,true) load 931388.html
|
||||
test-pref(media.mediasource.enabled,true) load 1005366.html
|
||||
test-pref(media.mediasource.enabled,true) load 1059035.html
|
||||
Loading…
Add table
Add a link
Reference in a new issue