title: This document requires 'TrustedScriptURL' assignment
body: <p>After adding <code>require-trusted-types-for 'script';</code> in my <strong>Content-Security-Policy</strong> header, which <a href="https://blog.chromium.org/2020/04/chrome-83-beta-cross-site-scripting.html" rel="noreferrer">introduced from
  Chrome 83 Beta</a> to help lock down DOM XSS injection sinks,</p>
  <p>when I open my website, it becomes a blank page. I got many these three kinds of errors in my console. (Chrome version 83.0.4103.61)</p>
  <blockquote>
  <p>This document requires 'TrustedScript' assignment.</p>
  <p>This document requires 'TrustedScriptURL' assignment.</p>
  <p>TypeError: Failed to set the 'src' property on 'HTMLScriptElement': This document requires 'TrustedScriptURL' assignment.</p>
  </blockquote>
  <p>I have read the article <a href="https://web.dev/trusted-types/" rel="noreferrer">Prevent DOM-based cross-site scripting vulnerabilities with Trusted Types</a>. However, the article only says how to handle <strong>TrustedHTML</strong>, but not <strong>TrustedScript</strong> or <strong>TrustedScriptURL</strong>.</p>
  <p>Any guide will be helpful. Thanks!</p>