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.
Problem/Motivation
Since this issue was commited #1494670: References to CSS, JS, and similar files should be root-relative URLs: avoids mixed content warnings & fewer bytes to send.
Running core/scripts/run-tests.sh tests with --browser doesn't add the CSS nither the images.
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
Comment | File | Size | Author |
---|---|---|---|
#3 | run_test_browser-2655102-3.patch | 1.5 KB | edurenye |
Comments
Comment #2
Wim LeersLoading HTML that is intended for consumption via
http://domain.com/subdir
and expecting it to load just as fine infile://
… that doesn't really make senseI'm happy to look at ways to improve that, but it makes no sense to prioritize
--browser
over real-world site usage considerationsWhy not load it via http://?
Comment #3
edurenye CreditAttribution: edurenye at MD Systems GmbH commentedHere is a quick fix.
Comment #6
BerdirComment #7
Wim Leerslgtm
Comment #8
alexpottManually tested - works great. Committed e6eacaf and pushed to 8.0.x and 8.1.x. Thanks!