<!DOCTYPE html>
<script src="./csp-violations.js"></script>
<script>
const params = new URLSearchParams(window.location.search);
const maxSinkGroupCount = 10;
let results = [];
async function trySendPlainStringToTrustedTypeSink(sinkGroup) {
  let {violations, exception} = await trusted_type_violations_and_exception_for(_ => {
    switch (sinkGroup) {
    case "script":
      document.createElement("div").innerHTML = "unsafe";
      break;
    default:
      throw "unknown sink group";
      break;
    }
  }