Bug 1227498 - Add a crashtest. r=me DONTBUILD
authorMats Palmgren <mats@mozilla.com>
Fri, 08 Jun 2018 20:56:04 +0200
changeset 422031 9d70adc79bc1dd06e46fb36320f233f370d80666
parent 422030 b7e081a8dcd190b59701dddfb9ff5600d2948ac5
child 422032 da935e9b476d83b3652ee3425aa94a28d02397f1
push id34114
push userbtara@mozilla.com
push dateSat, 09 Jun 2018 15:31:58 +0000
treeherdermozilla-central@e02a5155d815 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersme
bugs1227498
milestone62.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 1227498 - Add a crashtest. r=me DONTBUILD
layout/style/crashtests/1227498.html
layout/style/crashtests/crashtests.list
new file mode 100644
--- /dev/null
+++ b/layout/style/crashtests/1227498.html
@@ -0,0 +1,26 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="UTF-8">
+<script>
+
+function boom()
+{
+    addScopedSheet("#x { }");
+}
+
+function addScopedSheet(text)
+{
+    var sheet = document.createElementNS("http://www.w3.org/1999/xhtml", "style");
+    sheet.appendChild(document.createTextNode(text));
+    sheet.scoped = true;
+    document.documentElement.appendChild(sheet);
+}
+
+</script>
+</head>
+
+<body onload="boom();">
+  <embed type="application/x-missing-plugin"></embed>
+</body>
+</html>
--- a/layout/style/crashtests/crashtests.list
+++ b/layout/style/crashtests/crashtests.list
@@ -127,16 +127,17 @@ load 1163446-1.html
 load 1164813-1.html
 load 1167782-1.html
 load 1186768-1.xhtml
 load 1200568-1.html
 load 1206105-1.html
 load 1223688-1.html
 load 1223694-1.html
 load 1226400-1.html
+load 1227498.html
 load 1227501-1.html
 load 1228789-1.html
 load 1230408-1.html
 load 1233135-1.html
 load 1233135-2.html
 load 1236398.xhtml
 load 1238660-1.html
 load 1245260-1.html