dom/base/crashtests/1529203-1.html
author William Durand <wdurand@mozilla.com>
Sat, 23 Oct 2021 15:10:40 +0000
changeset 596797 226ea4af4493332137b513239b5c4506ee14dffe
parent 532173 f12d21ad24e42eb6c037b5e876681205768a885e
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 class="reftest-wait">
<iframe></iframe>
<script>
  function doIt() {
    var doc = document.querySelector("iframe").contentDocument;
    doc.open();
    doc.write('<script>import("data:text/javascript,")</' + 'script>');
    doc.close();
  }
  doIt();
  setTimeout(() => {
      doIt();
      document.documentElement.removeAttribute("class");
  }, 100);
</script>
</html>