XWIKI-11300 strikes again (see screenshot) on xwiki.org.
From what I see, the CORS policy is not applied on the webjar resources (I don't see "Access-Control-Allow-Origin" in the HTTP headers).
It seems it has been caused by
Some errors I see:
The URL patten has not been updated. It should be /webjars/* (without the /bin part).
Moreover, it seems we should add
to this filter, according to
But tested on xwiki.org, it actually does not solve the issue.
Anyway, setting the CORS policy with a filter at web.xml was a temporary solution. Now that we have
XWIKI-10881, we might want to implement a filter with the XWiki components.