 s.replace("default", "count"));
    },
    createHTML: (s, _, sink) => {
      seenSinks.push(sink);
      return s.replace(/2/g, "3");
    },
  };

  function createScriptElement() { return document.createElement("script"); }

  // Original report:
  promise_test(async t => {
    // Setup: Create a <script> element with a <p> child.
    let s = createScriptElement();

    // Sanity check: Element child content (<p>) doesn't count as source text.
    let p = document.createElement("p");
    p.text = "hello