(name, rules)
| 98 | function setup(window) { |
| 99 | window.trustedTypes = { |
| 100 | createPolicy(name, rules) { |
| 101 | policyCreated = name; |
| 102 | return { |
| 103 | createHTML(s) { |
| 104 | return new StringWrapper(rules.createHTML(s)); |
| 105 | }, |
| 106 | }; |
| 107 | }, |
| 108 | }; |
| 109 | }, |
| 110 | function onload(window) { |
nothing calls this directly
no outgoing calls
no test coverage detected