The thing I'm annoyed at is that the grammar for the host-part of the URL used in https://www.w3.org/TR/CSP3/#grammardef-host-part allows for a sequence of dotted parts so you can use an IPv4 address in there, like "http://127.0.0.1:3000/static/js/" but not for square brackets so you can't use an IPv6 address in there, like "http://[::1]:3000/static/js/"
At first I thought this was a bug in Firefox (because it sure does allow URLs like http://[::1]:3000/ in pretty much all other contexts) but it's actually part of the W3C standard for CSP.

