Needs work
Project:
SimpleTest
Version:
8.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
17 Jan 2014 at 21:17 UTC
Updated:
29 Jul 2020 at 10:25 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
dawehnerHave we actually thought of using guzzle instead of raw CURL, just an off-topic question.
Any reason we don't use String::checkPlain? We could also move this + the for loop into a helper method.
wonder whether it is sane to store trim($header);
Comment #2
sunThinking about this some more, I wondered:
Wouldn't it make sense to drop the
WebTestBase::$dumpHeadersproperty and output these large chunks of request/response headers in (native) DETAILS instead?► Request: GET /user/1
► Response: 200 OK
▼ Request: GET /node/2
...
...
► Response: 200 OK
→ Use a modern, standards-compliant browser (like Chrome) to get the proper, HTML5 standard details behavior.
If you do not, bad luck.
Comment #3
jibrandrupal8.test-headers.0.patch queued for re-testing.
Comment #4
sunNow, how awesome is this:
Comment #6
sunOopsie ;)
Comment #7
jibranshould be array.
please add comment here to explain it.
Please us heredoc.
Comment #8
sun1+2 done.
Not going to do 3, because it does not improve the markup generation in any way (and only adds more complexity to this verbose output code).
Comment #9
sun#2182315: simpletest verbose output doesn't show end result of a drupalPostAjaxForm() added verbose output to
drupalPostAjax()just a few hours before I rolled the last patch, which does not appear to be covered here yet.Comment #10
sunComment #11
sunComment #12
jhedstromComment #13
rpayanmComment #17
mgiffordUnassigning so someone else can take it on.
Comment #26
quietone commentedTriaging issues in simpletest.module as part of the Bug Smash Initiative to determine if they should be in the Simpletest Project or core.
This looks like it belongs in the Simpletest project.