HTMLScriptElement API: textContent Requires TrustedScript instance when trusted types are enforced.

Baseline 2026Newly available

Since February 2026, this feature works across the latest devices and browser versions. This feature might not work in older devices or browsers.