Bug 1403592: Crashtest. r?Manishearth draft
authorEmilio Cobos Álvarez <emilio@crisal.io>
Wed, 27 Sep 2017 18:16:25 +0200
changeset 671218 d0b2b6d924d9e420c310a2f862a1462861325ffe
parent 671215 3806623143071e24c8325bc6e09ce56f78fbab47
child 671242 c435086a27d491a263c693ee1e3d749d6bf9eee2
push id81869
push userbmo:emilio@crisal.io
push dateWed, 27 Sep 2017 16:18:07 +0000
reviewersManishearth
bugs1403592
milestone58.0a1
Bug 1403592: Crashtest. r?Manishearth I've made it crash at least once, though it's intermittent-y. I guess it's better than no crashtest. MozReview-Commit-ID: 5m2VCrEs8lM
layout/style/crashtests/1403592.html
layout/style/crashtests/crashtests.list
new file mode 100644
--- /dev/null
+++ b/layout/style/crashtests/1403592.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html class="reftest-wait">
+<head>
+<style></style>
+<script>
+function boom() {
+  a = document.createElement("x")
+  a.style.overflow = "o"
+  document.styleSheets[0].insertRule("i {}", 0)
+  requestIdleCallback(function() {
+    document.documentElement.className = "";
+  });
+}
+requestIdleCallback(boom)
+</script>
+</head>
+<i id=id0 style="margin: 15ch">
+<svg><animate xlink:href=#id0 attributeName=width to></svg>
+</html>
--- a/layout/style/crashtests/crashtests.list
+++ b/layout/style/crashtests/crashtests.list
@@ -227,8 +227,9 @@ load 1401801.html
 load 1401256.html
 load 1402419.html
 load 1401706.html
 load 1400936-1.html
 load 1400936-2.html
 load 1402472.html
 load 1402366.html
 load 1403028.html
+load 1403592.html