MCPcopy Index your code
hub / github.com/angular/angular / bypassSanitizationTrustScript

Function bypassSanitizationTrustScript

packages/core/src/sanitization/bypass.ts:173–175  ·  view source on GitHub ↗
(trustedScript: string)

Source from the content-addressed store, hash-verified

171 * @returns a `script` which has been branded to be implicitly trusted.
172 */
173export function bypassSanitizationTrustScript(trustedScript: string): SafeScript {
174 return new SafeScriptImpl(trustedScript);
175}
176/**
177 * Mark `url` string as trusted.
178 *

Callers 3

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…