- From: Yves Lafon via cvs-syncmail <cvsmail@w3.org>
- Date: Tue, 03 Mar 2009 22:27:32 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/2002/css-validator/autotest/client
In directory hutz:/tmp/cvs-serv17008
Modified Files:
checktests.js
Log Message:
async mode
Index: checktests.js
===================================================================
RCS file: /sources/public/2002/css-validator/autotest/client/checktests.js,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- checktests.js 3 Mar 2009 21:43:51 -0000 1.4
+++ checktests.js 3 Mar 2009 22:27:30 -0000 1.5
@@ -42,15 +42,15 @@
xmlhttp.open("GET", "/css-validator/validator?uri="+
encodedURI+
"&profile="+cssprofile+
- "&usermedium=all&output=json&warning=1",false);
+ "&usermedium=all&output=json&warning=1",true);
xmlhttp.setRequestHeader('Accept','application/json')
- // xmlhttp.onreadystatechange=function() {
-// if (xmlhttp.readyState==4) {
-// checkResults(testrow, resultrow, xmlhttp);
-// }
-// }
+ xmlhttp.onreadystatechange=function() {
+ if (xmlhttp.readyState==4) {
+ checkResults(testrow, resultrow, xmlhttp);
+ }
+ }
xmlhttp.send(null);
- checkResults(testrow, resultrow, xmlhttp);
+// checkResults(testrow, resultrow, xmlhttp);
}
function checkTest(testrow, resultrow) {
Received on Tuesday, 3 March 2009 22:27:42 UTC