(this: any, name: string)
| 130 | ); |
| 131 | }, |
| 132 | getAttribute(this: any, name: string): string | null { |
| 133 | try { |
| 134 | const attributes = debugAttributeStore(this); |
| 135 | if (attributes.has(name)) return attributes.get(name) ?? null; |
| 136 | } catch { |
| 137 | // see above |
| 138 | } |
| 139 | return safeCall(() => stringValue(this[name]) || null, null); |
| 140 | }, |
| 141 | setAttribute(this: any, name: string, value: unknown): void { |
| 142 | safeCall(() => { |
| 143 | debugAttributeStore(this).set(name, stringValue(value)); |
nothing calls this directly
no test coverage detected