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

Function createScriptURL

src/purify.js:60–62  ·  view source on GitHub ↗
(scriptUrl)

Source from the content-addressed store, hash-verified

58 return html;
59 },
60 createScriptURL(scriptUrl) {
61 return scriptUrl;
62 },
63 });
64 } catch (_) {
65 // Policy creation failed (most likely another DOMPurify script has

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected