Bug 1370793 - Part 2: Crashtest. r?bholley draft
authorCameron McCormack <cam@mcc.id.au>
Sun, 11 Jun 2017 19:12:16 +0800
changeset 592936 46efdecd7964a8cf4382b49f08a8fb654e57a6f3
parent 592935 17b5c00c74783f626a5f1e6d089a04747d91b2cc
child 632970 9275cbb2bc371fd69f5ea5d68e5c368832d82a2a
push id63544
push userbmo:cam@mcc.id.au
push dateMon, 12 Jun 2017 23:35:12 +0000
reviewersbholley
bugs1370793
milestone56.0a1
Bug 1370793 - Part 2: Crashtest. r?bholley MozReview-Commit-ID: 1vepQTv40DQ
layout/style/crashtests/1370793-1.xhtml
layout/style/crashtests/crashtests.list
new file mode 100644
--- /dev/null
+++ b/layout/style/crashtests/1370793-1.xhtml
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<html xmlns="http://www.w3.org/1999/xhtml">
+  <head>
+    <bindings xmlns="http://www.mozilla.org/xbl">
+      <binding id="a">
+        <content>
+          <children/>
+        </content>
+      </binding>
+    </bindings>
+    <script>
+      function doTest() {
+        // Cause XBL bindings to be attached to the object element by
+        // wrapping it for JS.
+        document.querySelector("object");
+      }
+    </script>
+  </head>
+  <body onload="doTest()">
+    <div style="display: none;">
+      <object style="-moz-binding: url(#a);" data="about:blank"></object>
+    </div>
+  </body>
+</html>
--- a/layout/style/crashtests/crashtests.list
+++ b/layout/style/crashtests/crashtests.list
@@ -166,10 +166,11 @@ load 1319072-1.html
 HTTP load 1320423-1.html
 load 1321357-1.html
 load 1328535-1.html
 load 1331272.html
 HTTP load 1333001-1.html
 pref(dom.animations-api.core.enabled,true) load 1340344.html
 load 1342316-1.html
 load 1356601-1.html
+load 1370793-1.xhtml
 load content-only-on-link-before.html
 load content-only-on-visited-before.html