From 5f8de423f190bbb79a62f804151bc24824fa32d8 Mon Sep 17 00:00:00 2001 From: "Matt A. Tobin" Date: Fri, 2 Feb 2018 04:16:08 -0500 Subject: Add m-esr52 at 52.6.0 --- dom/plugins/test/reftest/border-padding-1-ref.html | 10 +++ dom/plugins/test/reftest/border-padding-1.html | 16 +++++ dom/plugins/test/reftest/border-padding-2-ref.html | 17 +++++ dom/plugins/test/reftest/border-padding-2.html | 17 +++++ dom/plugins/test/reftest/border-padding-3-ref.html | 10 +++ dom/plugins/test/reftest/border-padding-3.html | 35 ++++++++++ dom/plugins/test/reftest/div-alpha-opacity.html | 28 ++++++++ dom/plugins/test/reftest/div-alpha-zindex.html | 27 ++++++++ dom/plugins/test/reftest/div-sanity.html | 17 +++++ dom/plugins/test/reftest/plugin-alpha-opacity.html | 29 +++++++++ dom/plugins/test/reftest/plugin-alpha-zindex.html | 26 ++++++++ .../test/reftest/plugin-background-1-step.html | 22 +++++++ .../test/reftest/plugin-background-10-step.html | 22 +++++++ .../test/reftest/plugin-background-2-step.html | 22 +++++++ .../test/reftest/plugin-background-5-step.html | 22 +++++++ .../test/reftest/plugin-background-ref.html | 17 +++++ dom/plugins/test/reftest/plugin-background.css | 61 ++++++++++++++++++ dom/plugins/test/reftest/plugin-background.html | 20 ++++++ dom/plugins/test/reftest/plugin-background.js | 75 ++++++++++++++++++++++ .../test/reftest/plugin-busy-alpha-zindex.html | 56 ++++++++++++++++ .../test/reftest/plugin-canvas-alpha-zindex.html | 41 ++++++++++++ dom/plugins/test/reftest/plugin-sanity.html | 13 ++++ .../test/reftest/plugin-transform-1-ref.html | 10 +++ dom/plugins/test/reftest/plugin-transform-1.html | 10 +++ .../test/reftest/plugin-transform-2-ref.html | 7 ++ dom/plugins/test/reftest/plugin-transform-2.html | 13 ++++ .../reftest/plugin-transform-alpha-zindex.html | 28 ++++++++ .../reftest/pluginproblemui-direction-1-ref.html | 21 ++++++ .../test/reftest/pluginproblemui-direction-1.html | 21 ++++++ .../reftest/pluginproblemui-direction-2-ref.html | 25 ++++++++ .../test/reftest/pluginproblemui-direction-2.html | 25 ++++++++ dom/plugins/test/reftest/reftest-stylo.list | 33 ++++++++++ dom/plugins/test/reftest/reftest.list | 26 ++++++++ dom/plugins/test/reftest/shrink-1-ref.html | 12 ++++ dom/plugins/test/reftest/shrink-1.html | 25 ++++++++ dom/plugins/test/reftest/update-1-ref.html | 12 ++++ dom/plugins/test/reftest/update-1.html | 59 +++++++++++++++++ dom/plugins/test/reftest/utils.js | 18 ++++++ .../test/reftest/windowless-clipping-1-ref.html | 14 ++++ .../test/reftest/windowless-clipping-1.html | 15 +++++ .../test/reftest/windowless-layers-ref.html | 10 +++ dom/plugins/test/reftest/windowless-layers.html | 15 +++++ 42 files changed, 1002 insertions(+) create mode 100644 dom/plugins/test/reftest/border-padding-1-ref.html create mode 100644 dom/plugins/test/reftest/border-padding-1.html create mode 100644 dom/plugins/test/reftest/border-padding-2-ref.html create mode 100644 dom/plugins/test/reftest/border-padding-2.html create mode 100644 dom/plugins/test/reftest/border-padding-3-ref.html create mode 100644 dom/plugins/test/reftest/border-padding-3.html create mode 100644 dom/plugins/test/reftest/div-alpha-opacity.html create mode 100644 dom/plugins/test/reftest/div-alpha-zindex.html create mode 100644 dom/plugins/test/reftest/div-sanity.html create mode 100644 dom/plugins/test/reftest/plugin-alpha-opacity.html create mode 100644 dom/plugins/test/reftest/plugin-alpha-zindex.html create mode 100644 dom/plugins/test/reftest/plugin-background-1-step.html create mode 100644 dom/plugins/test/reftest/plugin-background-10-step.html create mode 100644 dom/plugins/test/reftest/plugin-background-2-step.html create mode 100644 dom/plugins/test/reftest/plugin-background-5-step.html create mode 100644 dom/plugins/test/reftest/plugin-background-ref.html create mode 100644 dom/plugins/test/reftest/plugin-background.css create mode 100644 dom/plugins/test/reftest/plugin-background.html create mode 100644 dom/plugins/test/reftest/plugin-background.js create mode 100644 dom/plugins/test/reftest/plugin-busy-alpha-zindex.html create mode 100644 dom/plugins/test/reftest/plugin-canvas-alpha-zindex.html create mode 100644 dom/plugins/test/reftest/plugin-sanity.html create mode 100644 dom/plugins/test/reftest/plugin-transform-1-ref.html create mode 100644 dom/plugins/test/reftest/plugin-transform-1.html create mode 100644 dom/plugins/test/reftest/plugin-transform-2-ref.html create mode 100644 dom/plugins/test/reftest/plugin-transform-2.html create mode 100644 dom/plugins/test/reftest/plugin-transform-alpha-zindex.html create mode 100644 dom/plugins/test/reftest/pluginproblemui-direction-1-ref.html create mode 100644 dom/plugins/test/reftest/pluginproblemui-direction-1.html create mode 100644 dom/plugins/test/reftest/pluginproblemui-direction-2-ref.html create mode 100644 dom/plugins/test/reftest/pluginproblemui-direction-2.html create mode 100644 dom/plugins/test/reftest/reftest-stylo.list create mode 100644 dom/plugins/test/reftest/reftest.list create mode 100644 dom/plugins/test/reftest/shrink-1-ref.html create mode 100644 dom/plugins/test/reftest/shrink-1.html create mode 100644 dom/plugins/test/reftest/update-1-ref.html create mode 100644 dom/plugins/test/reftest/update-1.html create mode 100644 dom/plugins/test/reftest/utils.js create mode 100644 dom/plugins/test/reftest/windowless-clipping-1-ref.html create mode 100644 dom/plugins/test/reftest/windowless-clipping-1.html create mode 100644 dom/plugins/test/reftest/windowless-layers-ref.html create mode 100644 dom/plugins/test/reftest/windowless-layers.html (limited to 'dom/plugins/test/reftest') diff --git a/dom/plugins/test/reftest/border-padding-1-ref.html b/dom/plugins/test/reftest/border-padding-1-ref.html new file mode 100644 index 000000000..1a33644ac --- /dev/null +++ b/dom/plugins/test/reftest/border-padding-1-ref.html @@ -0,0 +1,10 @@ + + + +
+
+
+ + diff --git a/dom/plugins/test/reftest/border-padding-1.html b/dom/plugins/test/reftest/border-padding-1.html new file mode 100644 index 000000000..6fa2446f4 --- /dev/null +++ b/dom/plugins/test/reftest/border-padding-1.html @@ -0,0 +1,16 @@ + + + + + + + + + + diff --git a/dom/plugins/test/reftest/border-padding-2-ref.html b/dom/plugins/test/reftest/border-padding-2-ref.html new file mode 100644 index 000000000..ae92da403 --- /dev/null +++ b/dom/plugins/test/reftest/border-padding-2-ref.html @@ -0,0 +1,17 @@ + + + + + + +
+ + +
+ + diff --git a/dom/plugins/test/reftest/border-padding-2.html b/dom/plugins/test/reftest/border-padding-2.html new file mode 100644 index 000000000..6a39d2d81 --- /dev/null +++ b/dom/plugins/test/reftest/border-padding-2.html @@ -0,0 +1,17 @@ + + + + + + + + + + diff --git a/dom/plugins/test/reftest/border-padding-3-ref.html b/dom/plugins/test/reftest/border-padding-3-ref.html new file mode 100644 index 000000000..5c7bb7456 --- /dev/null +++ b/dom/plugins/test/reftest/border-padding-3-ref.html @@ -0,0 +1,10 @@ + + + +
+
+
+ + diff --git a/dom/plugins/test/reftest/border-padding-3.html b/dom/plugins/test/reftest/border-padding-3.html new file mode 100644 index 000000000..533445601 --- /dev/null +++ b/dom/plugins/test/reftest/border-padding-3.html @@ -0,0 +1,35 @@ + + + + + + + + + + + diff --git a/dom/plugins/test/reftest/div-alpha-opacity.html b/dom/plugins/test/reftest/div-alpha-opacity.html new file mode 100644 index 000000000..fec913b64 --- /dev/null +++ b/dom/plugins/test/reftest/div-alpha-opacity.html @@ -0,0 +1,28 @@ + + + + + + +
+
+ + + diff --git a/dom/plugins/test/reftest/div-alpha-zindex.html b/dom/plugins/test/reftest/div-alpha-zindex.html new file mode 100644 index 000000000..e4672b913 --- /dev/null +++ b/dom/plugins/test/reftest/div-alpha-zindex.html @@ -0,0 +1,27 @@ + + + + + + +
+
+ + + diff --git a/dom/plugins/test/reftest/div-sanity.html b/dom/plugins/test/reftest/div-sanity.html new file mode 100644 index 000000000..9ffa53919 --- /dev/null +++ b/dom/plugins/test/reftest/div-sanity.html @@ -0,0 +1,17 @@ + + +div boxes + + + +
+
+
+
+ diff --git a/dom/plugins/test/reftest/plugin-alpha-opacity.html b/dom/plugins/test/reftest/plugin-alpha-opacity.html new file mode 100644 index 000000000..2db6cc4de --- /dev/null +++ b/dom/plugins/test/reftest/plugin-alpha-opacity.html @@ -0,0 +1,29 @@ + + + + + + + +
+ + + + diff --git a/dom/plugins/test/reftest/plugin-alpha-zindex.html b/dom/plugins/test/reftest/plugin-alpha-zindex.html new file mode 100644 index 000000000..ead9b6f4c --- /dev/null +++ b/dom/plugins/test/reftest/plugin-alpha-zindex.html @@ -0,0 +1,26 @@ + + + + + + + +
+ + + + diff --git a/dom/plugins/test/reftest/plugin-background-1-step.html b/dom/plugins/test/reftest/plugin-background-1-step.html new file mode 100644 index 000000000..9498633b4 --- /dev/null +++ b/dom/plugins/test/reftest/plugin-background-1-step.html @@ -0,0 +1,22 @@ + + + + + + + + +
Test some plugin stuff.
+
+ + + +
+
+
+
+ + diff --git a/dom/plugins/test/reftest/plugin-background-10-step.html b/dom/plugins/test/reftest/plugin-background-10-step.html new file mode 100644 index 000000000..7a0824a56 --- /dev/null +++ b/dom/plugins/test/reftest/plugin-background-10-step.html @@ -0,0 +1,22 @@ + + + + + + + + +
Test some plugin stuff.
+
+ + + +
+
+
+
+ + diff --git a/dom/plugins/test/reftest/plugin-background-2-step.html b/dom/plugins/test/reftest/plugin-background-2-step.html new file mode 100644 index 000000000..cc186a5f2 --- /dev/null +++ b/dom/plugins/test/reftest/plugin-background-2-step.html @@ -0,0 +1,22 @@ + + + + + + + + +
Test some plugin stuff.
+
+ + + +
+
+
+
+ + diff --git a/dom/plugins/test/reftest/plugin-background-5-step.html b/dom/plugins/test/reftest/plugin-background-5-step.html new file mode 100644 index 000000000..2630719c8 --- /dev/null +++ b/dom/plugins/test/reftest/plugin-background-5-step.html @@ -0,0 +1,22 @@ + + + + + + + + +
Test some plugin stuff.
+
+ + + +
+
+
+
+ + diff --git a/dom/plugins/test/reftest/plugin-background-ref.html b/dom/plugins/test/reftest/plugin-background-ref.html new file mode 100644 index 000000000..651fdecef --- /dev/null +++ b/dom/plugins/test/reftest/plugin-background-ref.html @@ -0,0 +1,17 @@ + + + + + + +
Test some plugin stuff.
+
+ +
+ +
+
+
+
+ + diff --git a/dom/plugins/test/reftest/plugin-background.css b/dom/plugins/test/reftest/plugin-background.css new file mode 100644 index 000000000..f6b251214 --- /dev/null +++ b/dom/plugins/test/reftest/plugin-background.css @@ -0,0 +1,61 @@ +div { + position: absolute; +} +#bad { + left:220px; top:0px; + z-index: 0; +} +#good { + left:0px; top:0px; + width:220px; height:220px; + /* Core Animation alpha blending rounding differs + from the Core Graphics blending, adjust with care */ + background-color: rgba(0,255,0, 0.51); + z-index: 0; +} + +#topbar { + left:0px; top:0px; + width:220px; height:20px; + background-color: rgb(0,0,0); + z-index: 2; +} +#topbar { + left:0px; top:0px; + width:220px; height:20px; + background-color: rgb(0,0,0); + z-index: 2; +} +#leftbar { + left:0px; top:0px; + width:20px; height:220px; + background-color: rgb(0,0,0); + z-index: 2; +} +#rightbar { + left:200px; top:0px; + width:20px; height:220px; + background-color: rgb(0,0,0); + z-index: 2; +} +#bottombar { + left:0px; top:200px; + width:220px; height:20px; + background-color: rgb(0,0,0); + z-index: 2; +} + +div#plugin { + position: absolute; + left:1px; top:1px; + width:199px; height:199px; + background-color: rgba(0,0,255, 0.2); + z-index: 1; +} + +embed#plugin { + position: absolute; + left:1px; top:1px; + z-index: 1; +} + diff --git a/dom/plugins/test/reftest/plugin-background.html b/dom/plugins/test/reftest/plugin-background.html new file mode 100644 index 000000000..4cd1e3f53 --- /dev/null +++ b/dom/plugins/test/reftest/plugin-background.html @@ -0,0 +1,20 @@ + + + + + + + +
Test some plugin stuff.
+
+ + + +
+
+
+
+ + diff --git a/dom/plugins/test/reftest/plugin-background.js b/dom/plugins/test/reftest/plugin-background.js new file mode 100644 index 000000000..5d24562cf --- /dev/null +++ b/dom/plugins/test/reftest/plugin-background.js @@ -0,0 +1,75 @@ +// The including script sets this for us +//var NUM_STEPS; + +var plugin; +var left = 1, top = 1, width = 199, height = 199; +function movePluginTo(x, y, w, h) { + left = x; top = y; width = w; height = h; + plugin.width = w; + plugin.height = h; + plugin.style.left = left + "px"; + plugin.style.top = top + "px"; +} +function deltaInBounds(dx,dy, dw,dh) { + var l = dx + left; + var r = l + width + dw; + var t = dy + top; + var b = t + height + dh; + return (0 <= l && l <= 20 && + 0 <= t && t <= 20 && + 200 <= r && r <= 220 && + 200 <= b && b <= 220); +} + +var initialFrame; +function start() { + window.removeEventListener("MozReftestInvalidate", start, false); + + window.addEventListener("MozAfterPaint", step, false); + window.addEventListener("MozPaintWaitFinished", step, false); + + initialFrame = window.mozPaintCount; + plugin = document.getElementById("plugin"); + + movePluginTo(0,0, 200,200); +} + +var steps = 0; +var which = "move"; // or "grow" +var dx = 1, dy = 1, dw = 1, dh = 1; +function step() { + if (++steps >= NUM_STEPS) { + window.removeEventListener("MozAfterPaint", step, false); + window.removeEventListener("MozPaintWaitFinished", step, false); + return finish(); + } + + var didSomething = false; + if (which == "grow") { + if (deltaInBounds(0,0, dw,dh)) { + movePluginTo(left,top, width+dw, height+dh); + didSomething = true; + } else { + dw = -dw; dh = -dh; + } + } else { + // "move" + if (deltaInBounds(dx,dy, 0,0)) { + movePluginTo(left+dx,top+dy, width, height); + didSomething = true; + } else { + dx = -dx; dy = -dy; + } + } + which = (which == "grow") ? "move" : "grow"; + + if (!didSomething) { + step(); + } +} + +function finish() { + document.documentElement.removeAttribute("class"); +} + +window.addEventListener("MozReftestInvalidate", start, false); diff --git a/dom/plugins/test/reftest/plugin-busy-alpha-zindex.html b/dom/plugins/test/reftest/plugin-busy-alpha-zindex.html new file mode 100644 index 000000000..e339dd266 --- /dev/null +++ b/dom/plugins/test/reftest/plugin-busy-alpha-zindex.html @@ -0,0 +1,56 @@ + + + + + + + + + + +
+ + + + + diff --git a/dom/plugins/test/reftest/plugin-canvas-alpha-zindex.html b/dom/plugins/test/reftest/plugin-canvas-alpha-zindex.html new file mode 100644 index 000000000..517099d1b --- /dev/null +++ b/dom/plugins/test/reftest/plugin-canvas-alpha-zindex.html @@ -0,0 +1,41 @@ + + + + + + + + + + + + + + diff --git a/dom/plugins/test/reftest/plugin-sanity.html b/dom/plugins/test/reftest/plugin-sanity.html new file mode 100644 index 000000000..4f9c30eee --- /dev/null +++ b/dom/plugins/test/reftest/plugin-sanity.html @@ -0,0 +1,13 @@ + + + +Plugin boxes + + + + + + + + diff --git a/dom/plugins/test/reftest/plugin-transform-1-ref.html b/dom/plugins/test/reftest/plugin-transform-1-ref.html new file mode 100644 index 000000000..259a78b41 --- /dev/null +++ b/dom/plugins/test/reftest/plugin-transform-1-ref.html @@ -0,0 +1,10 @@ + + + + + + + + + diff --git a/dom/plugins/test/reftest/plugin-transform-1.html b/dom/plugins/test/reftest/plugin-transform-1.html new file mode 100644 index 000000000..19f6e8c20 --- /dev/null +++ b/dom/plugins/test/reftest/plugin-transform-1.html @@ -0,0 +1,10 @@ + + + + + + + + + diff --git a/dom/plugins/test/reftest/plugin-transform-2-ref.html b/dom/plugins/test/reftest/plugin-transform-2-ref.html new file mode 100644 index 000000000..93a3924d7 --- /dev/null +++ b/dom/plugins/test/reftest/plugin-transform-2-ref.html @@ -0,0 +1,7 @@ + + + +
+ + diff --git a/dom/plugins/test/reftest/plugin-transform-2.html b/dom/plugins/test/reftest/plugin-transform-2.html new file mode 100644 index 000000000..7f48640c1 --- /dev/null +++ b/dom/plugins/test/reftest/plugin-transform-2.html @@ -0,0 +1,13 @@ + + + + + + + + + diff --git a/dom/plugins/test/reftest/plugin-transform-alpha-zindex.html b/dom/plugins/test/reftest/plugin-transform-alpha-zindex.html new file mode 100644 index 000000000..52fda4bcf --- /dev/null +++ b/dom/plugins/test/reftest/plugin-transform-alpha-zindex.html @@ -0,0 +1,28 @@ + + + + + + + +
+ + + + diff --git a/dom/plugins/test/reftest/pluginproblemui-direction-1-ref.html b/dom/plugins/test/reftest/pluginproblemui-direction-1-ref.html new file mode 100644 index 000000000..fafec34f4 --- /dev/null +++ b/dom/plugins/test/reftest/pluginproblemui-direction-1-ref.html @@ -0,0 +1,21 @@ + + + + Plugin Problem UI directionality test + + + + + + diff --git a/dom/plugins/test/reftest/pluginproblemui-direction-1.html b/dom/plugins/test/reftest/pluginproblemui-direction-1.html new file mode 100644 index 000000000..9888850dc --- /dev/null +++ b/dom/plugins/test/reftest/pluginproblemui-direction-1.html @@ -0,0 +1,21 @@ + + + + Plugin Problem UI directionality test + + + + + + diff --git a/dom/plugins/test/reftest/pluginproblemui-direction-2-ref.html b/dom/plugins/test/reftest/pluginproblemui-direction-2-ref.html new file mode 100644 index 000000000..e807b86b5 --- /dev/null +++ b/dom/plugins/test/reftest/pluginproblemui-direction-2-ref.html @@ -0,0 +1,25 @@ + + + + Plugin Problem UI directionality test + + + +
+ + + + diff --git a/dom/plugins/test/reftest/pluginproblemui-direction-2.html b/dom/plugins/test/reftest/pluginproblemui-direction-2.html new file mode 100644 index 000000000..95b358e37 --- /dev/null +++ b/dom/plugins/test/reftest/pluginproblemui-direction-2.html @@ -0,0 +1,25 @@ + + + + Plugin Problem UI directionality test + + + +
+ + + + diff --git a/dom/plugins/test/reftest/reftest-stylo.list b/dom/plugins/test/reftest/reftest-stylo.list new file mode 100644 index 000000000..0f900b369 --- /dev/null +++ b/dom/plugins/test/reftest/reftest-stylo.list @@ -0,0 +1,33 @@ +# DO NOT EDIT! This is a auto-generated temporary list for Stylo testing +# basic sanity checking +# fails random-if(!haveTestPlugin) == plugin-sanity.html plugin-sanity.html +# fails-if(!haveTestPlugin) == plugin-sanity.html plugin-sanity.html +skip fails-if(!haveTestPlugin) fuzzy-if(skiaContent,1,160000) == plugin-alpha-zindex.html plugin-alpha-zindex.html +fails-if(!haveTestPlugin) fuzzy-if(skiaContent,1,164000) == plugin-alpha-opacity.html plugin-alpha-opacity.html +random-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)) fails-if(!haveTestPlugin) == windowless-clipping-1.html windowless-clipping-1.html +# bug 631832 +# fuzzy because of anti-aliasing in dashed border +random-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)) fails-if(!haveTestPlugin) == border-padding-1.html border-padding-1.html +# bug 629430 +skip random-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)) fails-if(!haveTestPlugin) == border-padding-2.html border-padding-2.html +# bug 629430 +skip random-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)) skip-if(!haveTestPlugin) skip-if(Android||B2G) == border-padding-3.html border-padding-3.html +# bug 629430 +# bug 773482 +# The following two "pluginproblemui-direction" tests are unreliable on all platforms. They should be re-written or replaced. +#random-if(cocoaWidget||d2d||/^Windows\x20NT\x205\.1/.test(http.oscpu)) fails-if(!haveTestPlugin&&!Android) == pluginproblemui-direction-1.html pluginproblemui-direction-1.html +# bug 567367 +#random-if(cocoaWidget) fails-if(!haveTestPlugin&&!Android) == pluginproblemui-direction-2.html pluginproblemui-direction-2.html +fails-if(!haveTestPlugin) fuzzy-if(skiaContent,1,160000) == plugin-canvas-alpha-zindex.html plugin-canvas-alpha-zindex.html +fails fails-if(!haveTestPlugin) fuzzy-if(skiaContent,1,160000) == plugin-transform-alpha-zindex.html plugin-transform-alpha-zindex.html +skip == plugin-busy-alpha-zindex.html plugin-busy-alpha-zindex.html +skip == plugin-background.html plugin-background.html +skip == plugin-background-1-step.html plugin-background-1-step.html +skip == plugin-background-2-step.html plugin-background-2-step.html +skip == plugin-background-5-step.html plugin-background-5-step.html +skip == plugin-background-10-step.html plugin-background-10-step.html +skip == plugin-transform-1.html plugin-transform-1.html +skip == plugin-transform-2.html plugin-transform-2.html +skip == shrink-1.html shrink-1.html +skip skip-if(!haveTestPlugin) == update-1.html update-1.html +skip skip-if(!haveTestPlugin) == windowless-layers.html windowless-layers.html diff --git a/dom/plugins/test/reftest/reftest.list b/dom/plugins/test/reftest/reftest.list new file mode 100644 index 000000000..e2d819536 --- /dev/null +++ b/dom/plugins/test/reftest/reftest.list @@ -0,0 +1,26 @@ +# basic sanity checking +random-if(!haveTestPlugin) != plugin-sanity.html about:blank +fails-if(!haveTestPlugin) == plugin-sanity.html div-sanity.html +fails-if(!haveTestPlugin) fuzzy-if(skiaContent&&haveTestPlugin,1,160000) == plugin-alpha-zindex.html div-alpha-zindex.html +fails-if(!haveTestPlugin) fuzzy-if(skiaContent&&haveTestPlugin,1,164000) == plugin-alpha-opacity.html div-alpha-opacity.html +random-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)) fails-if(!haveTestPlugin) == windowless-clipping-1.html windowless-clipping-1-ref.html # bug 631832 +# fuzzy because of anti-aliasing in dashed border +fuzzy(16,256) random-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)) fails-if(!haveTestPlugin) == border-padding-1.html border-padding-1-ref.html # bug 629430 +fuzzy(16,256) random-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)) fails-if(!haveTestPlugin) == border-padding-2.html border-padding-2-ref.html # bug 629430 +fuzzy(16,256) random-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)) skip-if(!haveTestPlugin||Android) == border-padding-3.html border-padding-3-ref.html # bug 629430 # bug 773482 +# The following two "pluginproblemui-direction" tests are unreliable on all platforms. They should be re-written or replaced. +#random-if(cocoaWidget||d2d||/^Windows\x20NT\x205\.1/.test(http.oscpu)) fails-if(!haveTestPlugin&&!Android) == pluginproblemui-direction-1.html pluginproblemui-direction-1-ref.html # bug 567367 +#random-if(cocoaWidget) fails-if(!haveTestPlugin&&!Android) == pluginproblemui-direction-2.html pluginproblemui-direction-2-ref.html +fails-if(!haveTestPlugin) fuzzy-if(skiaContent&&haveTestPlugin,1,160000) == plugin-canvas-alpha-zindex.html div-alpha-zindex.html +fails-if(!haveTestPlugin) fuzzy-if(skiaContent&&haveTestPlugin,1,160000) == plugin-transform-alpha-zindex.html div-alpha-zindex.html +random-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)) fails-if(!haveTestPlugin) fuzzy-if(skiaContent&&haveTestPlugin,1,160000) == plugin-busy-alpha-zindex.html div-alpha-zindex.html +random-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)) fails-if(!haveTestPlugin) fuzzy-if(skiaContent&&haveTestPlugin,1,32400) == plugin-background.html plugin-background-ref.html +random-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)) fails-if(!haveTestPlugin) fuzzy-if(skiaContent&&haveTestPlugin,1,32400) == plugin-background-1-step.html plugin-background-ref.html +random-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)) fails-if(!haveTestPlugin) fuzzy-if(skiaContent&&haveTestPlugin,1,32400) == plugin-background-2-step.html plugin-background-ref.html +random-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)) fails-if(!haveTestPlugin) fuzzy-if(skiaContent&&haveTestPlugin,1,32400) == plugin-background-5-step.html plugin-background-ref.html +random-if(/^Windows\x20NT\x206\.1/.test(http.oscpu)) fails-if(!haveTestPlugin) fuzzy-if(skiaContent&&haveTestPlugin,1,32400) == plugin-background-10-step.html plugin-background-ref.html +random-if(!haveTestPlugin) == plugin-transform-1.html plugin-transform-1-ref.html +fails-if(!haveTestPlugin) == plugin-transform-2.html plugin-transform-2-ref.html +skip-if(!haveTestPlugin) == shrink-1.html shrink-1-ref.html +skip-if(!haveTestPlugin) == update-1.html update-1-ref.html +skip-if(!haveTestPlugin) == windowless-layers.html windowless-layers-ref.html diff --git a/dom/plugins/test/reftest/shrink-1-ref.html b/dom/plugins/test/reftest/shrink-1-ref.html new file mode 100644 index 000000000..0906fe578 --- /dev/null +++ b/dom/plugins/test/reftest/shrink-1-ref.html @@ -0,0 +1,12 @@ + + + + + + + + + + diff --git a/dom/plugins/test/reftest/shrink-1.html b/dom/plugins/test/reftest/shrink-1.html new file mode 100644 index 000000000..495705698 --- /dev/null +++ b/dom/plugins/test/reftest/shrink-1.html @@ -0,0 +1,25 @@ + + + + + + + + + + + diff --git a/dom/plugins/test/reftest/update-1-ref.html b/dom/plugins/test/reftest/update-1-ref.html new file mode 100644 index 000000000..7303d1984 --- /dev/null +++ b/dom/plugins/test/reftest/update-1-ref.html @@ -0,0 +1,12 @@ + + + + + + + + + + diff --git a/dom/plugins/test/reftest/update-1.html b/dom/plugins/test/reftest/update-1.html new file mode 100644 index 000000000..f307b4394 --- /dev/null +++ b/dom/plugins/test/reftest/update-1.html @@ -0,0 +1,59 @@ + + + + Test for bugs 807728 and 810426 + + + + + + + + diff --git a/dom/plugins/test/reftest/utils.js b/dom/plugins/test/reftest/utils.js new file mode 100644 index 000000000..f046089af --- /dev/null +++ b/dom/plugins/test/reftest/utils.js @@ -0,0 +1,18 @@ +function forceLoadPluginElement(id) { + var e = document.getElementById(id); + var found = e.pluginFoundElement; +} + +function forceLoadPlugin(ids, skipRemoveAttribute) { + if (Array.isArray(ids)) { + ids.forEach(function(element, index, array) { + forceLoadPluginElement(element); + }); + } else { + forceLoadPluginElement(ids); + } + if (skipRemoveAttribute) { + return; + } + document.documentElement.removeAttribute("class"); +} diff --git a/dom/plugins/test/reftest/windowless-clipping-1-ref.html b/dom/plugins/test/reftest/windowless-clipping-1-ref.html new file mode 100644 index 000000000..e59ecb79b --- /dev/null +++ b/dom/plugins/test/reftest/windowless-clipping-1-ref.html @@ -0,0 +1,14 @@ + + + + + +
+
+ +
+
+
+ + diff --git a/dom/plugins/test/reftest/windowless-clipping-1.html b/dom/plugins/test/reftest/windowless-clipping-1.html new file mode 100644 index 000000000..dc1c25ac1 --- /dev/null +++ b/dom/plugins/test/reftest/windowless-clipping-1.html @@ -0,0 +1,15 @@ + + + + + +
+ +
+
+ +
+ + diff --git a/dom/plugins/test/reftest/windowless-layers-ref.html b/dom/plugins/test/reftest/windowless-layers-ref.html new file mode 100644 index 000000000..765527b68 --- /dev/null +++ b/dom/plugins/test/reftest/windowless-layers-ref.html @@ -0,0 +1,10 @@ + + + + + + + + + diff --git a/dom/plugins/test/reftest/windowless-layers.html b/dom/plugins/test/reftest/windowless-layers.html new file mode 100644 index 000000000..9e24c13a6 --- /dev/null +++ b/dom/plugins/test/reftest/windowless-layers.html @@ -0,0 +1,15 @@ + + + + + + +
+ +
+
+ +
+ + -- cgit v1.2.3