chromium/third_party/blink/renderer/core/trustedtypes/trusted_type_policy_options.idl

// Copyright 2018 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// https://github.com/w3c/trusted-types

dictionary TrustedTypePolicyOptions {
   CreateHTMLCallback createHTML;
   CreateScriptCallback createScript;
   CreateURLCallback createScriptURL;
};

callback CreateHTMLCallback = DOMString? (DOMString input, any... args);
callback CreateScriptCallback = DOMString? (DOMString input, any... args);
callback CreateURLCallback = USVString? (DOMString input, any... args);