dom/base/crashtests/1281745.html
author Emilio Cobos Álvarez <emilio@crisal.io>
Fri, 13 Apr 2018 16:32:50 +0200
changeset 781838 47e45132a5494f9ec6560d476de7b5448675db6f
permissions -rw-r--r--
Bug 1281745: Don't consider <xbl:children> in a shadow root without any binding active. r=smaug MozReview-Commit-ID: GSewdIOpKIv

<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<!--
user_pref("dom.webcomponents.enabled", true);
-->
<script>

function boom() {
  var x = document.createElementNS("http://www.mozilla.org/xbl", "children");
  x.appendChild(document.createTextNode("t"));
  document.body.attachShadow({ mode: "open" }).appendChild(x);
}

</script>
</head>
<body onload="boom();"></body>
</html>