import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo

This commit is contained in:
Roy Tam 2018-01-19 03:59:58 +08:00
commit dcd9973243
150858 changed files with 23884658 additions and 0 deletions

View 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>

View 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>

View 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>

View 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>

View 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>

View 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>

View 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>

View file

@ -0,0 +1,3 @@
<div id=target><script>
var player = target.animate([{background: 'green'}, {background: 'green'}]);
</script>

View 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>

View 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>

View 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>

View 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>

View 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>

View 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>

View 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