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 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!