Policy('TestPolicyScriptURL8', null);
    assert_throws_js(TypeError, _ => {
      p.createScriptURL(INPUTS.SCRIPTURL);
    });
  }, "script_url - calling undefined callback throws");

  test(t => {
    let p = window.trustedTypes.createPolicy('TestPolicyScriptURL9', { createScriptURL: createScriptURLJS });
    assert_throws_js(TypeError, _ => {
      p.createHTML(INPUTS.HTML);
    });
    assert_throws_js(TypeError, _ => {
      p.createScript(INPUTS.SCRIPT);
    });
  }, "createScriptURL defined - calling