it trusted_type_violation_without_exception_for(_ =>
      container.appendChild(new_script)
    );
    assert_equals(inserted_script.textContent, "3*4");
  }, "Spot tests around script + innerHTML interaction.");

  // Create default policy. Wrapped in a promise_test to ensure it runs only
  // after the other tests.
  let default_policy;
  promise_test(t => {
    default_policy = trustedTypes.createPolicy("default", policy_dict_default);
    return Promise.resolve();
  }, "Prep for subsequent tests: Creat