script-src is not supported.
Javascript is allowed from the following locations
- Twitch (for the Extension Helper)
- Your Extension
- Google Analytics
And that is it
you cannot modify the script-src CSP for security reasons.
So you should be able to include the firebase script locally and not from their CDN
See also: “Scripts (JavaScript)”
And a final note: HTML HEAD/meta CSP’s are not supported by twitch at all.