New header options are available for dw.system.Response.
How: You can use these additional headers in the class:
- Cross-Origin-Opener-Policy
- Cross-Origin-Embedder-Policy
- Cross-Origin-Resource-Policy
- Cross-Origin-Opener-Policy-Report-Only
- Cross-Origin-Embedder-Policy-Report-Only
The headers Cross-Origin-Opener-Policy-Report-Only and Cross-Origin-Embedder-Policy-Report-Only are allowed only in a storefront response. The report recipient can't be a B2C Commerce system.
If you write custom code that sets these headers, make sure all applicable resources are loaded for the storefront site.