Hopefully there is an event that loads all available front-end libraries that can be made use of, otherwise all libraries will have to be requested directly. The automatic policy should be placed in the cache, so that it is re-created on a cache-rebuild.

Comments

gapple created an issue. See original summary.

gapple’s picture

Version: » 8.x-1.x-dev
Assigned: Unassigned » gapple

  • gapple committed a84c2c6 on 8.x-1.x
    Issue #2895242 by gapple: Create default policy from Libraries
    
gapple’s picture

Assigned: gapple » Unassigned
Issue tags: +Needs tests

Automated handling of script-src and style-src is now on dev 🎉.

I updated the existing tests to continue to work, but the new behaviour does not yet have unit tests.

gapple’s picture

Status: Active » Fixed

Opened a separate issue for updating tests for this new behaviour.

#2941169: Test policy created from libraries

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.