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

Function get

test/test-suite.js:2895–2897  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2893 const fake = document.createElement('input');
2894 Object.defineProperty(root, 'ownerDocument', {
2895 get() {
2896 return fake;
2897 },
2898 configurable: true,
2899 });
2900 assert.strictEqual(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected