mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-26 10: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
35
dom/animation/test/crashtests/1216842-1.html
Normal file
35
dom/animation/test/crashtests/1216842-1.html
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
<!doctype html>
|
||||
<html class="reftest-wait">
|
||||
<head>
|
||||
<title>Bug 1216842: effect-level easing function produces negative values (compositor thread)</title>
|
||||
<style>
|
||||
#target {
|
||||
width: 100px; height: 100px;
|
||||
background: blue;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id="target"></div>
|
||||
</body>
|
||||
<script>
|
||||
var target = document.getElementById("target");
|
||||
var effect =
|
||||
new KeyframeEffectReadOnly(
|
||||
target,
|
||||
{ opacity: [0, 1] },
|
||||
{
|
||||
fill: "forwards",
|
||||
/* The function produces negative values in (0, 0.766312060) */
|
||||
easing: "cubic-bezier(0,-0.5,1,-0.5)",
|
||||
duration: 100,
|
||||
iterations: 0.75 /* To finish in the extraporation range */
|
||||
}
|
||||
);
|
||||
var animation = new Animation(effect, document.timeline);
|
||||
animation.play();
|
||||
animation.finished.then(function() {
|
||||
document.documentElement.className = "";
|
||||
});
|
||||
</script>
|
||||
</html>
|
||||
35
dom/animation/test/crashtests/1216842-2.html
Normal file
35
dom/animation/test/crashtests/1216842-2.html
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
<!doctype html>
|
||||
<html class="reftest-wait">
|
||||
<head>
|
||||
<title>Bug 1216842: effect-level easing function produces values greater than 1 (compositor thread)</title>
|
||||
<style>
|
||||
#target {
|
||||
width: 100px; height: 100px;
|
||||
background: blue;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id="target"></div>
|
||||
</body>
|
||||
<script>
|
||||
var target = document.getElementById("target");
|
||||
var effect =
|
||||
new KeyframeEffectReadOnly(
|
||||
target,
|
||||
{ opacity: [0, 1] },
|
||||
{
|
||||
fill: "forwards",
|
||||
/* The function produces values greater than 1 in (0.23368794, 1) */
|
||||
easing: "cubic-bezier(0,1.5,1,1.5)",
|
||||
duration: 100,
|
||||
iterations: 0.25 /* To finish in the extraporation range */
|
||||
}
|
||||
);
|
||||
var animation = new Animation(effect, document.timeline);
|
||||
animation.play();
|
||||
animation.finished.then(function() {
|
||||
document.documentElement.className = "";
|
||||
});
|
||||
</script>
|
||||
</html>
|
||||
27
dom/animation/test/crashtests/1216842-3.html
Normal file
27
dom/animation/test/crashtests/1216842-3.html
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
<!doctype html>
|
||||
<html class="reftest-wait">
|
||||
<head>
|
||||
<title>Bug 1216842: effect-level easing function produces values greater than 1 (main-thread)</title>
|
||||
</head>
|
||||
<body>
|
||||
<div id="target"></div>
|
||||
</body>
|
||||
<script>
|
||||
var target = document.getElementById("target");
|
||||
var effect =
|
||||
new KeyframeEffectReadOnly(
|
||||
target,
|
||||
{ color: ["red", "blue"] },
|
||||
{
|
||||
fill: "forwards",
|
||||
/* The function produces values greater than 1 in (0.23368794, 1) */
|
||||
easing: "cubic-bezier(0,1.5,1,1.5)",
|
||||
duration: 100
|
||||
}
|
||||
);
|
||||
var animation = new Animation(effect, document.timeline);
|
||||
animation.pause();
|
||||
animation.currentTime = 250;
|
||||
document.documentElement.className = "";
|
||||
</script>
|
||||
</html>
|
||||
27
dom/animation/test/crashtests/1216842-4.html
Normal file
27
dom/animation/test/crashtests/1216842-4.html
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
<!doctype html>
|
||||
<html class="reftest-wait">
|
||||
<head>
|
||||
<title>Bug 1216842: effect-level easing function produces negative values (main-thread)</title>
|
||||
</head>
|
||||
<body>
|
||||
<div id="target"></div>
|
||||
</body>
|
||||
<script>
|
||||
var target = document.getElementById("target");
|
||||
var effect =
|
||||
new KeyframeEffectReadOnly(
|
||||
target,
|
||||
{ color: ["red", "blue"] },
|
||||
{
|
||||
fill: "forwards",
|
||||
/* The function produces negative values in (0, 0.766312060) */
|
||||
easing: "cubic-bezier(0,-0.5,1,-0.5)",
|
||||
duration: 100
|
||||
}
|
||||
);
|
||||
var animation = new Animation(effect, document.timeline);
|
||||
animation.pause();
|
||||
animation.currentTime = 250;
|
||||
document.documentElement.className = "";
|
||||
</script>
|
||||
</html>
|
||||
38
dom/animation/test/crashtests/1216842-5.html
Normal file
38
dom/animation/test/crashtests/1216842-5.html
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
<!doctype html>
|
||||
<html class="reftest-wait">
|
||||
<head>
|
||||
<title>
|
||||
Bug 1216842: effect-level easing function produces negative values passed
|
||||
to step-end function (compositor thread)
|
||||
</title>
|
||||
<style>
|
||||
#target {
|
||||
width: 100px; height: 100px;
|
||||
background: blue;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id="target"></div>
|
||||
</body>
|
||||
<script>
|
||||
var target = document.getElementById("target");
|
||||
var effect =
|
||||
new KeyframeEffectReadOnly(
|
||||
target,
|
||||
{ opacity: [0, 1], easing: "step-end" },
|
||||
{
|
||||
fill: "forwards",
|
||||
/* The function produces negative values in (0, 0.766312060) */
|
||||
easing: "cubic-bezier(0,-0.5,1,-0.5)",
|
||||
duration: 100,
|
||||
iterations: 0.75 /* To finish in the extraporation range */
|
||||
}
|
||||
);
|
||||
var animation = new Animation(effect, document.timeline);
|
||||
animation.play();
|
||||
animation.finished.then(function() {
|
||||
document.documentElement.className = "";
|
||||
});
|
||||
</script>
|
||||
</html>
|
||||
38
dom/animation/test/crashtests/1216842-6.html
Normal file
38
dom/animation/test/crashtests/1216842-6.html
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
<!doctype html>
|
||||
<html class="reftest-wait">
|
||||
<head>
|
||||
<title>
|
||||
Bug 1216842: effect-level easing function produces values greater than 1
|
||||
which are passed to step-end function (compositor thread)
|
||||
</title>
|
||||
<style>
|
||||
#target {
|
||||
width: 100px; height: 100px;
|
||||
background: blue;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id="target"></div>
|
||||
</body>
|
||||
<script>
|
||||
var target = document.getElementById("target");
|
||||
var effect =
|
||||
new KeyframeEffectReadOnly(
|
||||
target,
|
||||
{ opacity: [0, 1], easing: "step-end" },
|
||||
{
|
||||
fill: "forwards",
|
||||
/* The function produces values greater than 1 in (0.23368794, 1) */
|
||||
easing: "cubic-bezier(0,1.5,1,1.5)",
|
||||
duration: 100,
|
||||
iterations: 0.25 /* To finish in the extraporation range */
|
||||
}
|
||||
);
|
||||
var animation = new Animation(effect, document.timeline);
|
||||
animation.play();
|
||||
animation.finished.then(function() {
|
||||
document.documentElement.className = "";
|
||||
});
|
||||
</script>
|
||||
</html>
|
||||
12
dom/animation/test/crashtests/1239889-1.html
Normal file
12
dom/animation/test/crashtests/1239889-1.html
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Bug 1239889</title>
|
||||
</head>
|
||||
<body>
|
||||
</body>
|
||||
<script>
|
||||
var div = document.createElement('div');
|
||||
var effect = new KeyframeEffectReadOnly(div, { opacity: [0, 1] });
|
||||
</script>
|
||||
</html>
|
||||
3
dom/animation/test/crashtests/1244595-1.html
Normal file
3
dom/animation/test/crashtests/1244595-1.html
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
<div id=target><script>
|
||||
var player = target.animate([{background: 'green'}, {background: 'green'}]);
|
||||
</script>
|
||||
20
dom/animation/test/crashtests/1272475-1.html
Normal file
20
dom/animation/test/crashtests/1272475-1.html
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Bug 1272475 - scale function with an extreme large value</title>
|
||||
<script>
|
||||
function test() {
|
||||
var div = document.createElement("div");
|
||||
div.setAttribute("style", "width: 1px; height: 1px; " +
|
||||
"background: red;");
|
||||
document.body.appendChild(div);
|
||||
div.animate([ { "transform": "scale(8)" },
|
||||
{ "transform": "scale(9.5e+307)" },
|
||||
{ "transform": "scale(32)" } ],
|
||||
{ "duration": 1000, "fill": "both" });
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body onload="test()">
|
||||
</body>
|
||||
</html>
|
||||
20
dom/animation/test/crashtests/1272475-2.html
Normal file
20
dom/animation/test/crashtests/1272475-2.html
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Bug 1272475 - rotate function with an extreme large value</title>
|
||||
<script>
|
||||
function test() {
|
||||
var div = document.createElement("div");
|
||||
div.setAttribute("style", "width: 100px; height: 100px; " +
|
||||
"background: red;");
|
||||
document.body.appendChild(div);
|
||||
div.animate([ { "transform": "rotate(8rad)" },
|
||||
{ "transform": "rotate(9.5e+307rad)" },
|
||||
{ "transform": "rotate(32rad)" } ],
|
||||
{ "duration": 1000, "fill": "both" });
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body onload="test()">
|
||||
</body>
|
||||
</html>
|
||||
19
dom/animation/test/crashtests/1277272-1-inner.html
Normal file
19
dom/animation/test/crashtests/1277272-1-inner.html
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
<!doctype html>
|
||||
<head>
|
||||
<script>
|
||||
function start() {
|
||||
var animation = document.body.animate([{marks: 'crop'},{marks: 'crop'}], 12);
|
||||
document.write('<html><body></body></html>');
|
||||
|
||||
setTimeout(function() { animation.play(); }, 4);
|
||||
setTimeout(function() {
|
||||
animation.timeline = undefined;
|
||||
SpecialPowers.Cu.forceGC();
|
||||
window.top.continueTest();
|
||||
}, 5);
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body onload="start()"></body>
|
||||
</html>
|
||||
|
||||
26
dom/animation/test/crashtests/1277272-1.html
Normal file
26
dom/animation/test/crashtests/1277272-1.html
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
<!doctype html>
|
||||
<html class="reftest-wait">
|
||||
<head>
|
||||
<script>
|
||||
var count = 0;
|
||||
|
||||
function start() {
|
||||
if (++count > 10) {
|
||||
document.documentElement.className = "";
|
||||
return;
|
||||
}
|
||||
|
||||
var frame = document.getElementById("frame");
|
||||
frame.src = "./1277272-1-inner.html";
|
||||
}
|
||||
|
||||
function continueTest() {
|
||||
setTimeout(start.bind(window), 1);
|
||||
}
|
||||
|
||||
</script>
|
||||
</head>
|
||||
<body onload="start()"></body>
|
||||
<iframe id="frame">
|
||||
</html>
|
||||
|
||||
26
dom/animation/test/crashtests/1278485-1.html
Normal file
26
dom/animation/test/crashtests/1278485-1.html
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<script>
|
||||
|
||||
function boom()
|
||||
{
|
||||
document.body.animate([],
|
||||
{ duration: 6,
|
||||
easing: "cubic-bezier(0, -1e+39, 0, 0)" });
|
||||
document.body.animate([],
|
||||
{ duration: 6,
|
||||
easing: "cubic-bezier(0, 1e+39, 0, 0)" });
|
||||
document.body.animate([],
|
||||
{ duration: 6,
|
||||
easing: "cubic-bezier(0, 0, 0, -1e+39)" });
|
||||
document.body.animate([],
|
||||
{ duration: 6,
|
||||
easing: "cubic-bezier(0, 0, 0, 1e+39)" });
|
||||
}
|
||||
|
||||
</script>
|
||||
</head>
|
||||
<body onload="boom();"></body>
|
||||
</html>
|
||||
20
dom/animation/test/crashtests/1290535-1.html
Normal file
20
dom/animation/test/crashtests/1290535-1.html
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Bug 1290535 - Sort paced subproperties of a shorthand property</title>
|
||||
<meta charset="UTF-8">
|
||||
<script>
|
||||
|
||||
function test()
|
||||
{
|
||||
var div = document.createElement('div');
|
||||
document.documentElement.appendChild(div);
|
||||
div.animate([ { borderRadius: "0", borderTopRightRadius: "0" },
|
||||
{ borderRadius: "50%" } ],
|
||||
{ spacing:"paced(border-radius)" });
|
||||
}
|
||||
|
||||
</script>
|
||||
</head>
|
||||
<body onload="test();"></body>
|
||||
</html>
|
||||
13
dom/animation/test/crashtests/crashtests.list
Normal file
13
dom/animation/test/crashtests/crashtests.list
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
pref(dom.animations-api.core.enabled,true) load 1239889-1.html
|
||||
pref(dom.animations-api.core.enabled,true) load 1244595-1.html
|
||||
pref(dom.animations-api.core.enabled,true) load 1216842-1.html
|
||||
pref(dom.animations-api.core.enabled,true) load 1216842-2.html
|
||||
pref(dom.animations-api.core.enabled,true) load 1216842-3.html
|
||||
pref(dom.animations-api.core.enabled,true) load 1216842-4.html
|
||||
pref(dom.animations-api.core.enabled,true) load 1216842-5.html
|
||||
pref(dom.animations-api.core.enabled,true) load 1216842-6.html
|
||||
pref(dom.animations-api.core.enabled,true) load 1272475-1.html
|
||||
pref(dom.animations-api.core.enabled,true) load 1272475-2.html
|
||||
pref(dom.animations-api.core.enabled,true) load 1278485-1.html
|
||||
pref(dom.animations-api.core.enabled,true) load 1277272-1.html
|
||||
pref(dom.animations-api.core.enabled,true) load 1290535-1.html
|
||||
Loading…
Add table
Add a link
Reference in a new issue