Bug 1494062 - Part 1. Add new crashtest reproducing the blob image wraplist clipping crash. r=jrmuizel
☠☠ backed out by 8ae1a19800b4 ☠ ☠
authorAndrew Osmond <aosmond@mozilla.com>
Thu, 17 Jan 2019 12:45:19 -0500
changeset 514379 23b890a3fc7876e64d24827246bc981b0223655e
parent 514312 47d3dbd969f5849d813f4e312b1aa9ee78abac5e
child 514380 50f859a240370db9ab237aa3ac4a3341e904a019
push id1953
push userffxbld-merge
push dateMon, 11 Mar 2019 12:10:20 +0000
treeherdermozilla-release@9c35dcbaa899 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjrmuizel
bugs1494062
milestone66.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1494062 - Part 1. Add new crashtest reproducing the blob image wraplist clipping crash. r=jrmuizel Differential Revision: https://phabricator.services.mozilla.com/D16879
gfx/tests/crashtests/1494062-blob-image-wraplist-clip.html
gfx/tests/crashtests/crashtests.list
new file mode 100644
--- /dev/null
+++ b/gfx/tests/crashtests/1494062-blob-image-wraplist-clip.html
@@ -0,0 +1,27 @@
+<html class="reftest-wait">
+<head>
+<script type="text/javascript">
+window.addEventListener("MozReftestInvalidate", function() {
+  window.requestAnimationFrame(function() {
+    var xmlns = "http://www.w3.org/2000/svg";
+    var circleElm = document.getElementById("green_circle");
+    circleElm.setAttribute("clip-path", "url(#quarter)");
+    window.requestAnimationFrame(function() {
+      document.documentElement.removeAttribute('class');
+    });
+  });
+});
+</script>
+</head>
+<body>
+<svg width="200" height="200" id="root">
+<defs>
+<clipPath id="quarter">
+<rect x="0" y="0" width="50" height="50"/>
+</clipPath>
+</defs>
+<circle cx="50" cy="50" r="40" fill="green" id="green_circle"/>
+<rect x="150" y="150" width="10" height="10" fill="red"/>
+</svg>
+</body>
+</html>
--- a/gfx/tests/crashtests/crashtests.list
+++ b/gfx/tests/crashtests/crashtests.list
@@ -176,9 +176,10 @@ load 1503986-1.html
 load 1505426-1.html
 load 1508811.html
 load 1508822.html
 load 1509099.html
 load 1513133.html
 load 1496194.html
 load 1505934-1.html
 load 1509123.html
+load 1494062.html
 load texture-allocator-zero-region.html