dom/base/crashtests/1281745.html
author William Durand <wdurand@mozilla.com>
Sat, 23 Oct 2021 15:10:40 +0000
changeset 596797 226ea4af4493332137b513239b5c4506ee14dffe
parent 413279 6090c4592979ab835f1a8df329f550d65a7cf1d6
permissions -rw-r--r--
Bug 1736684 - Part 1: Add test coverage for the search-detection built-in add-on (client side). r=rpl This patch adds a new test file containing a test case to cover the two main client side scenarios. Differential Revision: https://phabricator.services.mozilla.com/D129050

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