Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
In #2510104: Convert drupalSettings from JavaScript to JSON, to allow for CSP in the future we removed var drupalSettings
- we missed an assertion about its absence in NoJavaScriptAnonymousTest
Test only change permitted in beta.
Comment | File | Size | Author |
---|---|---|---|
drupal8.drupalSettings.patch | 813 bytes | alexpott | |
Comments
Comment #1
Wim LeersComment #2
Fabianx CreditAttribution: Fabianx as a volunteer and at Tag1 Consulting commentedRTBC + 1
Comment #4
xjmDefinitely a much better test.This issue only changes test code, so per https://www.drupal.org/core/beta-changes, this can be completed any time during the Drupal 8 beta phase. Committed and pushed to 8.0.x. Thanks!
Comment #5
Wim LeersIt wasn't possible to do it differently before #2510104: Convert drupalSettings from JavaScript to JSON, to allow for CSP in the future :)
But, yes, totally agreed that this is much better!