wiki.techinc.nl/tests/phpunit/includes/htmlform
Func 0e36de19dc HTMLFormField: Adjust isSubmitAttempt and add more comments
This is a follow-up of change Ic414e7bb7933c8c5c58a277ac1c5c3aaf8c36119.
I noticed that HTMLForm would add a hidden field of edit token for forms
that require to be posted...
And I also noticed that there is a crazy use case (9ca8394943/includes/specials/SpecialTags.php (320))
that would break with the loose check (I'm also going to fix it by I5050311c37030a64daaa25d05e2223485ed86108).
So that change should be undone, but keep the POST check here to avoid
arbitrary token in a GET form.
Add more comments since there are some preconditions in another file and
avoid future regression.
(And I hope this is the last time I fix this test...)

Change-Id: Ib02cd6b4a45e3820c4378fe5b0c7fc61fe1251e7
2022-02-11 11:46:21 +00:00
..
HTMLAutoCompleteSelectFieldTest.php
HTMLFormFieldTest.php HTMLFormField: Adjust isSubmitAttempt and add more comments 2022-02-11 11:46:21 +00:00
HTMLFormTest.php Rename HTMLForm::[get|set|add]*Text() methods 2022-01-02 21:51:48 -08:00
HTMLRestrictionsFieldTest.php