locked', '*');")
    );
    assert_true(s.text.includes("after"));
  }, "Regression test: Bypass via insertAdjacentText, initial comment.");


  // Like the "Original Report" test case above, but avoids use of the "text"
  // accessor that <svg:script> doesn't support.
  promise_test(async t => {
    let s = createScriptElement();

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