MCPcopy Create free account
hub / github.com/cure53/dompurify / createScriptURL

Function createScriptURL

src/purify.ts:90–92  ·  view source on GitHub ↗
(scriptUrl)

Source from the content-addressed store, hash-verified

88 return html;
89 },
90 createScriptURL(scriptUrl) {
91 return scriptUrl;
92 },
93 });
94 } catch (_) {
95 // Policy creation failed (most likely another DOMPurify script has

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected