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

Function createScriptURL

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

Source from the content-addressed store, hash-verified

105 return html;
106 },
107 createScriptURL(scriptUrl) {
108 return scriptUrl;
109 },
110 });
111 } catch (_) {
112 // Policy creation failed (most likely another DOMPurify script has

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected