Bug 1382357 - Crashtest. r=heycam
authorBobby Holley <bobbyholley@gmail.com>
Wed, 19 Jul 2017 17:13:43 -0700
changeset 418536 747035414236731b91080e801f393be22017a5b8
parent 418535 5a43e98b2000fa178b0454cb005dff11762340f4
child 418537 eb19a789a45562a03f9a105c874425cf8dac510e
push id7566
push usermtabara@mozilla.com
push dateWed, 02 Aug 2017 08:25:16 +0000
treeherdermozilla-beta@86913f512c3c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersheycam
bugs1382357
milestone56.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 1382357 - Crashtest. r=heycam MozReview-Commit-ID: IUqzytg3SqL
dom/xbl/crashtests/1382357.xhtml
dom/xbl/crashtests/crashtests.list
new file mode 100644
--- /dev/null
+++ b/dom/xbl/crashtests/1382357.xhtml
@@ -0,0 +1,36 @@
+<html xmlns="http://www.w3.org/1999/xhtml" class="reftest-wait">
+<head>
+
+<bindings xmlns="http://www.mozilla.org/xbl">
+  <binding id="foo"><content><span xmlns="http://www.w3.org/1999/xhtml"/></content></binding>
+</bindings>
+
+<script type="text/javascript">
+// <![CDATA[
+
+function boom()
+{
+  // Apply an invalid binding, and wait two ticks of the refresh driver for the async load.
+  var d = document.getElementById("d");
+  d.style.MozBinding = "url(#bar)";
+  requestAnimationFrame(function() {
+  requestAnimationFrame(function() {
+    // Trigger the InnerText getter.
+    document.getElementById("s").innerText;
+    document.documentElement.removeAttribute("class");
+  });
+  });
+}
+
+]]>
+</script>
+</head>
+
+<body onload="boom();">
+
+<div id="d">
+    <span id="s">SpanText</span>
+</div>
+
+</body>
+</html>
--- a/dom/xbl/crashtests/crashtests.list
+++ b/dom/xbl/crashtests/crashtests.list
@@ -33,8 +33,9 @@ load 477878-1.html
 load 492978-1.xul
 load 493123-1.xhtml
 load 495354-1.xhtml
 load 507628-1.xhtml
 load 507991-1.xhtml
 load 830614-1.xul
 load 895805-1.xhtml
 load set-field-bad-this.xhtml
+load 1382357.xhtml