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

Function createScriptURL

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

Source from the content-addressed store, hash-verified

147 return html;
148 },
149 createScriptURL(scriptUrl) {
150 return scriptUrl;
151 },
152 });
153 } catch (_) {
154 // Policy creation failed (most likely another DOMPurify script has

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected