com web/qa: Remove HTML comments in script tags: reports/run_ tests.php
| From: | Peter Kokot | Date: | Fri, 26 Oct 2018 20:12:22 +0000 |
| Subject: | com web/qa: Remove HTML comments in script tags: reports/run_ tests.php | ||
| Groups: | php.qa | ||
| Request: | Send a blank email to php-qa+get-68252@lists.php.net to get a copy of this message | ||
Commit: fb478fba41f69ec895e22a792d09fb4f828e6e9d
Author: Peter Kokot <peterkokot@gmail.com> Fri, 26 Oct 2018 22:12:22 +0200
Parents: f24bc9fccccec69b29684ba2e1f9aa947cd9a2b8
Branches: master
Link: http://git.php.net/?p=web/qa.git;a=commitdiff;h=fb478fba41f69ec895e22a792d09fb4f828e6e9d
Log:
Remove HTML comments in script tags
These were once used in browsers that didn't support script tags. Today
this is not used anymore since majority of web browsers understand
script tags.
Changed paths:
M reports/run_tests.php
Diff:
diff --git a/reports/run_tests.php b/reports/run_tests.php
index 233321e..b904aff 100644
--- a/reports/run_tests.php
+++ b/reports/run_tests.php
@@ -152,8 +152,7 @@ function outputTestReportsForVersion(string $getVersion) {
}
</style>
<script>
-<!--
-function changeExpect()
+function changeExpect()
{
var check = document.getElementById('expect').checked;
if (check == true) {
@@ -162,7 +161,6 @@ function changeExpect()
document.location.href = 'run_tests.php?version=$getVersionURL';
}
}
-// ->
</script>
<input type="checkbox" id="expect"
onClick="javascript:changeExpect()" $expectCHECKED />
<small>Show XFAIL</small><br />