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