Problem/Motivation

From @catch in #3452672: JavaScript files added by AJAX responses are only optimized in maintenance mode

Given this was a typo and it's a regression in released versions, I personally think tests should be a follow-up here. Would be good to add to performance test coverage but we'll need an AJAX request that adds at least two JavaScript files at once, and I'm not sure where to find one of those yet.

Steps to reproduce

N/A

Proposed resolution

Add test coverage around the AJAX fix from #3452672: JavaScript files added by AJAX responses are only optimized in maintenance mode

Remaining tasks

Do it
Review

User interface changes

N/A

Introduced terminology

N/A

API changes

N/A

Data model changes

N/A

Release notes snippet

N/A

Comments

smustgrave created an issue. See original summary.

Version: 11.x-dev » main

Drupal core is now using the main branch as the primary development branch. New developments and disruptive changes should now be targeted to the main branch.

Read more in the announcement.