t new_script = createScriptElement();
    await trusted_type_violation_for(TypeError, _ =>
      new_script.innerHTML = "2+2"
    );
    container.appendChild(new_script);

    const trusted_html = policy.createHTML("2*4");
    assert_equals("" + trusted_html, "3*4");
    await no_trusted_type_violation_for(_ =>
      inserted_script.innerHTML = trusted_html
    );
    assert_equals(inserted_script.textContent, "3*4");

    new_script = createScriptElement();
    new_script.innerHTML = trusted_html;
    awa